.cfdidcat-wrap-frontend { font-family: Arial, Helvetica, sans-serif; color: #0f172a; }
.cfdidcat-shell { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 22px; box-shadow: 0 12px 28px rgba(15, 23, 42, .06); }
.cfdidcat-header h2 { margin: 0 0 8px; font-size: 30px; line-height: 1.15; }
.cfdidcat-header p { margin: 0 0 18px; color: #475569; font-size: 16px; }
.cfdidcat-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cfdidcat-steps span { padding: 7px 12px; border-radius: 999px; background: #f1f5f9; color: #475569; font-size: 13px; }
.cfdidcat-steps span.is-active { background: #dbeafe; color: #1d4ed8; }
.cfdidcat-summary { margin: 0 0 16px; padding: 12px 14px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; color: #334155; }
.cfdidcat-controls { display: grid; gap: 16px; }
.cfdidcat-field label, .cfdidcat-type-wrap > label { display: block; margin-bottom: 8px; font-weight: 600; }
.cfdidcat-field select { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; min-height: 46px; }
.cfdidcat-type-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cfdidcat-type-buttons button { border: 1px solid #cbd5e1; background: #fff; color: #0f172a; border-radius: 999px; padding: 10px 16px; cursor: pointer; font-weight: 600; }
.cfdidcat-type-buttons button.is-active { background: #0f172a; color: #fff; border-color: #0f172a; }
.cfdidcat-actions { margin-top: 16px; }
.cfdidcat-results { margin-top: 18px; }
.cfdidcat-results-card { border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px; background: #fff; }
.cfdidcat-results-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.cfdidcat-results-heading h3 { margin: 0; font-size: 22px; }
.cfdidcat-results-heading p { margin: 0; color: #64748b; }
.cfdidcat-pricing-note { margin-bottom: 12px; color: #475569; font-size: 14px; }
.cfdidcat-table-wrap { overflow-x: auto; }
.cfdidcat-table { width: 100%; border-collapse: collapse; }
.cfdidcat-table th, .cfdidcat-table td { padding: 12px 10px; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.cfdidcat-table th { background: #f8fafc; }
.cfdidcat-empty { padding: 16px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; color: #9a3412; }
.cfdidcat-loading { padding: 16px; color: #475569; }
@media (max-width: 768px) {
  .cfdidcat-shell { padding: 18px; }
  .cfdidcat-header h2 { font-size: 24px; }
}

.cfdidcat-more-info { margin-left: 8px; padding: 4px 8px; border: 1px solid #cbd5e1; background: #fff; border-radius: 999px; font-size: 12px; cursor: pointer; }
.cfdidcat-modal[hidden] { display: none !important; }
.cfdidcat-modal { position: fixed; inset: 0; z-index: 99999; }
.cfdidcat-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.cfdidcat-modal-dialog { position: relative; max-width: 760px; margin: 6vh auto; background: #fff; border-radius: 18px; box-shadow: 0 24px 50px rgba(15, 23, 42, .22); max-height: 88vh; overflow: auto; }
.cfdidcat-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid #e2e8f0; }
.cfdidcat-modal-header h3 { margin: 0; font-size: 22px; }
.cfdidcat-modal-close { border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
.cfdidcat-modal-body { padding: 20px; }
.cfdidcat-detail-card { margin-top: 14px; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 14px; background: #f8fafc; }
.cfdidcat-detail-card ul { margin: 0; padding-left: 18px; }
.cfdidcat-detail-card li { margin: 0 0 8px; }
body.cfdidcat-modal-open { overflow: hidden; }


.cfdidcat-country-wrap.is-loading .cfdidcat-country { color: #94a3b8; }
.cfdidcat-select-shell { position: relative; }
.cfdidcat-inline-spinner { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 999px; border: 2px solid #cbd5e1; border-top-color: #1d4ed8; animation: cfdidcat-spin .8s linear infinite; pointer-events: none; opacity: 0; }
.cfdidcat-country-wrap.is-loading .cfdidcat-inline-spinner { opacity: 1; }
.cfdidcat-loading-note { margin-top: 8px; font-size: 13px; color: #475569; }
.cfdidcat-country-wrap:not(.is-loading) .cfdidcat-loading-note { display: none; }
.cfdidcat-more-info { margin-left: 10px; padding: 7px 14px; border: 1px solid #bfd0ea; background: #eff6ff; color: #1d4ed8; border-radius: 999px; font-size: 12px; line-height: 1.2; font-weight: 700; cursor: pointer; box-shadow: 0 2px 6px rgba(29, 78, 216, .08); transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.cfdidcat-more-info:hover, .cfdidcat-more-info:focus { background: #1d4ed8; color: #fff; border-color: #1d4ed8; transform: translateY(-1px); }
.cfdidcat-more-info:focus-visible { outline: 2px solid #93c5fd; outline-offset: 2px; }
@keyframes cfdidcat-spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
  .cfdidcat-loading-note { text-align: center; }
  .cfdidcat-more-info { display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; margin-left: 0; min-width: 104px; }
}
