/* College Level Counselling & DAVV Quota registration.
   Deliberately separate from register.css so the DTE admission form is unaffected. */

:root {
    /* DAVV portal blues from register.css, so both journeys share one theme. */
    --clc-navy: #0b409c;
    --clc-navy-mid: #0b57d0;
    --clc-gold: #d97706;
    --clc-gold-lt: #f59e0b;
    --clc-ink: #1f2933;
    --clc-ink-soft: #52606d;
    --clc-ink-mute: #7b8794;
    --clc-rule: #dfe4ec;
    --clc-canvas: #f2f5f9;
    --clc-green: #1f6f54;
    --clc-red: #c0392b;
}

body {
    /* Mirrors register.css so both public journeys read as one portal. */
    background-color: #e6f0f9;
    background-image: radial-gradient(rgba(148, 163, 184, 0.35) 0.8px, transparent 0.8px),
    linear-gradient(rgba(230, 240, 249, 0.82), rgba(230, 240, 249, 0.82)),
    url("../img/login-bg.jpg");
    background-size: 16px 16px, cover, cover;
    background-position: center, center, center;
    background-repeat: repeat, no-repeat, no-repeat;
    background-attachment: scroll, fixed, fixed;
    color: var(--clc-ink);
    font-family: 'Segoe UI', -apple-system, Helvetica, Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Header — mirrors the DAVV navbar in register.css ── */
.clc-header {
    background-color: #ffffff;
    background-image: url("../img/header_BG.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 3px solid #0b409c;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 14px rgba(11, 64, 156, 0.08);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.clc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

/* Equal side columns: space-between alone leaves the badge off-centre when the sides differ in width. */
.clc-header-brand,
.clc-header-right {
    flex: 1 1 0;
    min-width: 0;
}

.clc-session-block {
    flex: 0 0 auto;
}

.clc-brand-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.clc-header-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b409c;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
}

.clc-header-hindi {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.clc-header-meta {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.clc-session-ornament {
    height: 38px;
    object-fit: contain;
}

.clc-session-ornament-flip {
    transform: scaleX(-1);
}

.clc-session-badge {
    text-align: center;
}

.clc-session-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
}

.clc-session-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0b409c;
    line-height: 1;
}

.clc-portal-title-right {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0b409c;
}

.clc-portal-sub-right {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.clc-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 7px 14px;
    border: 1px solid #0b409c;
    border-radius: 6px;
    color: #0b409c;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s;
}

.clc-header-btn:hover {
    background: #0b409c;
    color: #fff;
}

/* ── Layout ── */
.clc-main {
    flex: 1;
    max-width: 940px;
    padding-top: 26px;
    padding-bottom: 40px;
}

.clc-card {
    background: #fff;
    border: 1px solid var(--clc-rule);
    border-radius: 6px;
    padding: 22px 24px;
    margin-bottom: 18px;
}

/* ── Round banner ── */
.clc-round-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eaf5ef;
    border: 1px solid #a8d8c0;
    border-left: 4px solid var(--clc-green);
    border-radius: 5px;
    padding: 11px 16px;
    margin-bottom: 18px;
    font-size: 0.92rem;
    color: var(--clc-green);
}

.clc-round-banner i {
    font-size: 1.05rem;
}

.clc-round-window {
    color: var(--clc-ink-soft);
    font-weight: 600;
}

.clc-alert {
    border-radius: 5px;
    font-size: 0.9rem;
}

/* ── Section head ── */
.clc-section-head {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--clc-rule);
}

.clc-section-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--clc-navy);
    color: var(--clc-gold-lt);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clc-section-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--clc-navy);
}

.clc-section-head p {
    margin: 1px 0 0;
    font-size: 0.79rem;
    color: var(--clc-ink-mute);
}

/* ── Fields ── */
.clc-main .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clc-ink-soft);
    margin-bottom: 4px;
}

.clc-main .req {
    color: var(--clc-red);
    font-weight: 700;
}

.clc-main .form-control,
.clc-main .form-select {
    border: 1px solid var(--clc-rule);
    border-radius: 4px;
    font-size: 0.9rem;
    padding: 0.5rem 0.7rem;
}

.clc-main .form-control:focus,
.clc-main .form-select:focus {
    border-color: var(--clc-navy-mid);
    box-shadow: 0 0 0 3px rgba(11, 64, 156, 0.12);
}

/* Mirrors input-group-custom in register.css */
.clc-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.clc-input-icon {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    z-index: 5;
    pointer-events: none;
}

.clc-input-group .form-control,
.clc-input-group .form-select {
    padding-left: 3.25rem;
    height: 48px;
    border-radius: 0.6rem;
}

/* TFW / EWS. Borrows the input's own box — 48px, same radius, same rule colour, same 3.25rem
   left inset for the icon tile — so a checkbox sits in the grid as a field rather than as a bare
   control floating beside the taller inputs. */
.clc-check-field {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    height: 48px;
    padding-left: 3.25rem;
    padding-right: 0.9rem;
    margin: 0;
    border: 1px solid var(--clc-rule);
    border-radius: 0.6rem;
    background: #fff;
    font-size: 0.95rem;
    color: var(--clc-ink);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.clc-check-field:hover {
    border-color: #b9c2d0;
}

.clc-check-field input[type="checkbox"] {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    accent-color: var(--clc-navy-mid);
    cursor: pointer;
}

/* Matches the focus ring on .clc-main .form-control:focus so tabbing through reads consistently. */
.clc-check-field:has(input:focus-visible) {
    border-color: var(--clc-navy-mid);
    box-shadow: 0 0 0 3px rgba(11, 64, 156, 0.12);
}

.clc-check-field:has(input:checked) {
    border-color: var(--clc-navy-mid);
    background: #f5f8ff;
    font-weight: 600;
}

/* The searchable-select widget (searchable-select.js) replaces the native <select> with a custom
   button that knows nothing about .clc-input-icon's reserved space — without this, the icon draws
   on top of the button's first couple of characters instead of sitting beside them. */
.clc-input-group .custom-searchable-select-wrapper {
    width: 100%;
}

.clc-input-group .searchable-select-btn {
    padding-left: 3.25rem;
    min-height: 48px;
    border-radius: 0.6rem;
}

/* Feedback sits after the icon wrapper, so Bootstrap's sibling selector cannot reach it. */
.was-validated .clc-input-group:has(:invalid) + .invalid-feedback {
    display: block;
}

/* ── Submit ── */
.clc-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--clc-rule);
    border-radius: 6px;
    padding: 16px 22px;
}

.clc-submit-note {
    margin: 0;
    font-size: 0.8rem;
    color: var(--clc-ink-mute);
    display: flex;
    align-items: center;
    gap: 7px;
}

.clc-submit-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.clc-btn-secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    height: 46px;
    padding: 0 1.4rem;
    border-radius: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.clc-btn-secondary:hover,
.clc-btn-secondary:focus {
    background: #e2e8f0;
    color: #1e293b;
}

/* Mirrors btn-verify-primary in register.css */
.clc-btn-primary {
    background: linear-gradient(180deg, #0b57d0 0%, #0040a8 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    height: 46px;
    padding: 0 1.6rem;
    border: none;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(11, 87, 208, 0.25);
    transition: all 0.2s ease;
}

.clc-btn-primary:hover,
.clc-btn-primary:focus {
    background: linear-gradient(180deg, #094cb8 0%, #00338a 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(11, 87, 208, 0.35);
}

/* ── DAVV loader ── */
.clc-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: opacity 0.3s ease;
}

.clc-loader-hidden {
    opacity: 0;
    pointer-events: none;
}

.clc-loader-box {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clc-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #dbeafe;
    border-top-color: #0b409c;
    animation: clcSpin 0.9s linear infinite;
}

.clc-loader-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    animation: clcPulse 1.6s ease-in-out infinite;
}

.clc-loader-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b409c;
    letter-spacing: 0.5px;
}

@keyframes clcSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes clcPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.92);
        opacity: 0.75;
    }
}

/* ── Acknowledgement ── */
.clc-ack {
    text-align: center;
    padding: 38px 28px;
}

.clc-ack-icon {
    font-size: 2.6rem;
    color: var(--clc-green);
    line-height: 1;
    margin-bottom: 12px;
}

.clc-ack h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clc-navy);
    margin: 0 0 8px;
}

.clc-ack-lead {
    font-size: 0.93rem;
    color: var(--clc-ink-soft);
    max-width: 540px;
    margin: 0 auto 22px;
}

.clc-ack-note {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    text-align: left;
    background: #eef5fc;
    border: 1px solid #c7ddf2;
    border-radius: 5px;
    padding: 11px 15px;
    font-size: 0.84rem;
    color: #234e7d;
    max-width: 580px;
    margin: 0 auto;
}

/* ── Closed ── */
.clc-closed {
    text-align: center;
    padding: 46px 28px;
}

.clc-closed-icon {
    font-size: 2.3rem;
    color: var(--clc-ink-mute);
    margin-bottom: 12px;
}

.clc-closed h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clc-navy);
    margin: 0 0 8px;
}

.clc-closed p {
    font-size: 0.92rem;
    color: var(--clc-ink-soft);
    max-width: 480px;
    margin: 0 auto;
}

/* ── Footer — mirrors the DAVV portal footer in register.css ── */
.clc-footer-wrapper {
    margin-top: auto;
}

.clc-footer-info-bar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.clc-footer-info-grid {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.clc-footer-info-col {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.clc-footer-info-col:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -0.75rem;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background-color: #e2e8f0;
}

@media (max-width: 991px) {
    .clc-footer-info-col:not(:last-child)::after {
        display: none;
    }
}

.clc-footer-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.clc-footer-icon-blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.clc-footer-icon-red {
    background: #fef2f2;
    color: #dc2626;
}

.clc-footer-info-text {
    display: flex;
    flex-direction: column;
}

.clc-footer-info-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0b409c;
    margin-bottom: 0.15rem;
}

.clc-footer-info-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
}

.clc-footer-info-sub {
    font-size: 0.725rem;
    color: #64748b;
    font-weight: 500;
}

.clc-footer-motto-banner {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    border-radius: 0.85rem;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 280px;
}

.clc-footer-motto-text {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-style: italic;
    font-weight: 800;
    font-size: 1.05rem;
    color: #78350f;
    line-height: 1.25;
}

.clc-main-footer {
    background: #003380;
    color: #ffffff;
    padding: 1.25rem 0;
}

.clc-footer-brand-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.clc-footer-address {
    font-size: 0.775rem;
    color: #93c5fd;
    margin-top: 0.2rem;
}

.clc-footer-nav-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #bfdbfe;
}

.clc-footer-nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease;
}

.clc-footer-nav-links a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.clc-footer-social-icons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.clc-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.clc-social-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.clc-social-fb {
    background: #1877f2;
}

.clc-social-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.clc-social-tw {
    background: #1da1f2;
}

.clc-social-yt {
    background: #ff0000;
}

@media (max-width: 640px) {
    .clc-header {
        padding: 0.5rem 0.75rem;
    }

    .clc-brand-logo {
        width: 44px;
        height: 44px;
    }

    .clc-header-title {
        font-size: 0.85rem;
        line-height: 1.25;
    }

    .clc-header-hindi {
        font-size: 0.775rem;
    }

    .clc-header-meta {
        font-size: 0.65rem;
    }

    .clc-header-right {
        text-align: left;
    }

    .clc-submit-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .clc-btn-primary,
    .clc-btn-secondary {
        width: 100%;
    }

    .clc-submit-actions {
        flex-direction: column-reverse;
        align-items: stretch;
        width: 100%;
    }

    .clc-footer-info-bar-card {
        padding: 1rem 1.15rem;
        margin-bottom: 1rem;
        border-radius: 0.85rem;
    }

    .clc-footer-info-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .clc-footer-info-col {
        width: 100%;
        gap: 0.85rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px dashed #e2e8f0;
    }

    .clc-footer-info-col:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    .clc-footer-icon-box {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .clc-footer-info-title {
        font-size: 0.75rem;
    }

    .clc-footer-info-val {
        font-size: 0.825rem;
    }

    .clc-footer-info-sub {
        font-size: 0.65rem;
    }

    .clc-footer-motto-banner {
        padding: 0.5rem 0.85rem;
        min-width: unset;
    }

    .clc-footer-motto-text {
        font-size: 0.85rem;
    }

    .clc-main-footer {
        padding: 0.85rem 0;
    }

    .clc-main-footer .container-fluid {
        flex-direction: column;
        gap: 0.65rem;
        text-align: center;
    }

    .clc-footer-brand-title {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .clc-footer-address {
        font-size: 0.7rem;
    }

    .clc-footer-nav-links {
        justify-content: center;
        font-size: 0.725rem;
        gap: 0.4rem;
    }

    .clc-footer-social-icons {
        justify-content: center;
    }

    .clc-social-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* Server-side (API) field errors, injected by the submit script */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

.field-error-msg {
    color: #dc3545;
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ── Searchable select widget — ported verbatim from register.css so both
   journeys' dropdowns look and behave identically. Driven by
   ~/js/searchable-select.js. ── */

.custom-searchable-select-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}

.custom-searchable-select-wrapper.open {
    z-index: 1050;
}

.custom-searchable-select-wrapper select.form-select,
select.form-select.searchable-select-hidden {
    display: none !important;
}

.searchable-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    color: #1e293b;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease-in-out;
    text-align: left;
    min-height: 42px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-select-sm + .custom-searchable-select-wrapper .searchable-select-btn,
.searchable-select-btn.btn-sm {
    min-height: 32px;
    padding: 0.25rem 0.65rem;
    font-size: 0.8rem;
    border-radius: 0.375rem;
}

.searchable-select-btn:hover {
    border-color: #94a3b8;
    background-color: #ffffff;
}

.searchable-select-btn:focus,
.searchable-select-btn.open {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.searchable-select-btn.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
}

.searchable-select-btn.searchable-select-btn-disabled {
    cursor: not-allowed;
    background-color: #f1f5f9;
    color: #94a3b8;
}

.searchable-select-btn-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 0.5rem;
    background: transparent !important;
    opacity: 1 !important;
    font-weight: 500;
}

.searchable-select-btn-text.searchable-placeholder {
    color: #64748b !important;
    background: transparent !important;
    opacity: 1 !important;
    font-weight: 400;
}

.searchable-select-btn-icon {
    color: #64748b;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.searchable-select-btn.open .searchable-select-btn-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

.searchable-select-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1060;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 0.65rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    display: none;
    overflow: hidden;
    animation: searchableSelectFadeIn 0.15s ease-out;
    min-width: 100%;
}

@keyframes searchableSelectFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.searchable-select-menu.show {
    display: block;
}

.searchable-select-search-box {
    position: relative;
    padding: 0.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.searchable-select-search-box .search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.85rem;
    pointer-events: none;
}

.searchable-select-input {
    width: 100%;
    padding: 0.35rem 0.65rem 0.35rem 2.1rem;
    font-size: 0.825rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.4rem;
    outline: none;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.searchable-select-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.searchable-select-clear-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    display: none;
}

.searchable-select-clear-icon:hover {
    color: #475569;
}

.searchable-select-options {
    max-height: 210px;
    overflow-y: auto;
    padding: 0.3rem 0;
}

.searchable-select-options::-webkit-scrollbar {
    width: 5px;
}

.searchable-select-options::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.searchable-select-options::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.searchable-select-option {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.1s ease;
    user-select: none;
}

.searchable-select-option:hover,
.searchable-select-option.highlighted {
    background-color: #f1f5f9;
    color: #0f172a;
}

.searchable-select-option.selected {
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.searchable-select-option.selected::after {
    content: "✓";
    font-weight: bold;
    margin-left: 0.5rem;
    color: #2563eb;
}

.searchable-select-no-results {
    padding: 0.85rem;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}
