/* Compliance Advisor country search (resources/views/compliance_advisors/compliance_advisor_search.blade.php) */
.ca-page { padding-bottom: 80px; }
.ca-heading { font-size: 1.35rem; font-weight: 600; color: #0b2a4a; margin-bottom: 8px; }
.ca-intro { max-width: 760px; margin: 0 auto; color: #3d4754; }

/* Form */
.ca-label { display: block; font-size: .9rem; font-weight: 500; color: #0b2a4a; margin-bottom: 6px; text-align: left; }
.ca-optional { font-weight: 400; color: #6b7684; }
.ca-page .cas-search-box { display: flex; align-items: center; width: 100%; max-width: 100%; }
.ca-page .cas-search-box.is-invalid { border-color: #c0392b !important; }
.ca-page .cas-search-box { min-height: 46px; }
.ca-page .cas-search-box > input { height: 44px; }
.ca-page .select2-container--default .select2-selection--single { border: none !important; height: 44px; display: flex; align-items: center; }
.ca-page .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.ca-page .select2-container .select2-selection--single .select2-selection__rendered { overflow: hidden !important; }
.ca-help { font-size: .82rem; color: #6b7684; margin: 6px 0 0; text-align: left; min-height: 1.2em; }
.ca-help.is-error { color: #c0392b; }
.ca-submit { margin-top: 24px; min-width: 200px; padding: 10px 32px; border: 0; border-radius: 6px; background: #0D92F4; color: #fff; font-size: 1rem; font-weight: 500; }
.ca-submit:hover { background: #0070ad; }
.ca-submit.is-loading { opacity: .8; cursor: progress; }

/* Results */
.ca-results { margin-top: 32px; scroll-margin-top: 160px; }
.ca-summary { border-left: 4px solid #2e9e5b; background: #f3faf6; border-radius: 4px; padding: 14px 18px; margin-bottom: 8px; }
.ca-summary a, .ca-notice a:not(.ca-btn-outline), .ca-list-desc a { color: #0070ad; }
.ca-summary-title { font-weight: 600; color: #0b2a4a; margin-bottom: 4px; }
.ca-notice { border: 1px solid #dbe4f3; border-left: 4px solid #0070ad; background: #f8fafd; border-radius: 4px; padding: 16px 18px; }
.ca-notice-warn { border-left-color: #f58721; background: #fff8f1; }
.ca-list { margin-top: 28px; }
.ca-list-title { font-size: 1.1rem; font-weight: 600; color: #0b2a4a; margin-bottom: 2px; }
.ca-list-reg { color: #5b6573; font-size: .9rem; margin-bottom: 10px; }
.ca-table { margin-top: 6px; }
.ca-list .table-responsive { max-width: 100%; overflow-x: auto; }
/* Columns keep a readable width; a wide table scrolls sideways inside its box on phones. */
.ca-table th, .ca-table td { white-space: normal; word-break: normal; overflow-wrap: break-word; }
.ca-list-desc { color: #3d4754; font-size: .95rem; }

/* What the search checks */
.ca-coverage { margin: 40px auto 0; max-width: 960px; border: 1px solid #dbe4f3; border-radius: 8px; background: #fff; overflow: hidden; }
.ca-coverage-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 16px 22px; background: #f5f8fc; border-bottom: 1px solid #e3e9f1; }
.ca-coverage-title { font-size: 1.05rem; font-weight: 600; color: #0b2a4a; margin: 0; text-align: left; }
.ca-coverage-count { margin: 0; font-size: .85rem; color: #5b6573; }
.ca-coverage-groups { padding: 18px 22px 20px; }
.ca-cov-lists { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ca-cov-lists li { border: 1px solid #e1e7ef; background: #f8fafc; color: #0b2a4a; border-radius: 6px; padding: 5px 12px; font-size: .88rem; line-height: 1.45; }

/* Contact */
.ca-contact { text-align: center; max-width: 720px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid #e3e9f1; }
.ca-btn-dark { display: inline-block; padding: 10px 40px; border-radius: 6px; background: #142D41; color: #fff; text-decoration: none; }
.ca-btn-dark:hover { background: #0b2a4a; color: #fff; }
.ca-btn-outline { display: inline-block; padding: 6px 18px; border: 1px solid #0070ad; border-radius: 4px; color: #0070ad; text-decoration: none; }
.ca-btn-outline:hover { background: #0070ad; color: #fff; }

@media (max-width: 767.98px) {
    .ca-coverage-head, .ca-coverage-groups { padding-left: 16px; padding-right: 16px; }
    .ca-table { min-width: 640px; }   /* readable columns; the table scrolls sideways in its box */
    .ca-submit { width: 100%; }
}
