/* ═══ HERO ═══════════════════════════════════════════ */
.psk-csc-hero {
    position: relative;
    background: #040e26;
    padding: 130px 0 0;
    overflow: hidden;
    color: #fff;
}
.psk-csc-hero__bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 10% 15%, rgba(252,94,40,0.20) 0, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(252,94,40,0.12) 0, transparent 35%),
        radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.5px);
    background-size: auto, auto, 26px 26px;
}
.psk-csc-hero .container { position: relative; z-index: 1; }
.psk-csc-hero__breadcrumbs { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-bottom: 22px; }
.psk-csc-hero__breadcrumbs a { color: rgba(255,255,255,0.75); text-decoration: none; }
.psk-csc-hero__title { font-size: 2.6rem; font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.2; }
.psk-csc-hero__sub { color: rgba(255,255,255,0.72); font-size: 1.05rem; line-height: 1.7; max-width: 520px; margin-bottom: 28px; }

/* ── Segmented search ── */
.psk-csc-search { background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.35); max-width: 520px; }
.psk-csc-search__tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.psk-csc-search__tab {
    flex: 1; background: transparent; border: none; padding: 12px 10px;
    font-size: 0.82rem; font-weight: 700; color: #6b7280; border-radius: 10px;
    cursor: pointer; transition: all 0.2s ease; text-transform: uppercase; letter-spacing: 0.3px;
}
.psk-csc-search__tab.active { background: rgba(252,94,40,0.1); color: #fc5e28; }
.psk-csc-search__panel { display: none; padding: 6px; }
.psk-csc-search__panel.active { display: block; }
.psk-csc-search__form { display: flex; gap: 8px; }
.psk-csc-search__input {
    flex: 1; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 16px;
    font-size: 0.95rem; color: #1e2a3a; outline: none;
}
.psk-csc-search__input:focus { border-color: #fc5e28; }
.psk-csc-search__btn { border-radius: 10px !important; white-space: nowrap; }
.psk-csc-search__btn--full { width: 100%; }
.psk-csc-search__hint { font-size: 0.78rem; color: #9ca3af; text-align: center; margin: 10px 0 4px; }

/* ── Hero visual (desktop only) ── */
.psk-csc-hero__visual { position: relative; height: 280px; }
.psk-csc-hero__pin { position: absolute; color: #fc5e28; font-size: 1.6rem; opacity: 0.85; animation: pskFloat 3.5s ease-in-out infinite; }
.psk-csc-hero__pin--1 { top: 10%; left: 20%; animation-delay: 0s; }
.psk-csc-hero__pin--2 { top: 55%; left: 60%; font-size: 2rem; animation-delay: 0.6s; }
.psk-csc-hero__pin--3 { top: 30%; left: 75%; font-size: 1.2rem; animation-delay: 1.2s; }
@keyframes pskFloat { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }
.psk-csc-hero__card {
    position: absolute; bottom: 20px; left: 10%; right: 10%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px); border-radius: 14px; padding: 16px 20px;
    display: flex; align-items: center; gap: 14px; font-size: 1.3rem;
}
.psk-csc-hero__card strong { display: block; font-size: 0.9rem; color: #fff; }
.psk-csc-hero__card span:last-child { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* ── Stats bar ── */
.psk-csc-stats {
    display: flex; flex-wrap: wrap; gap: 0;
    margin-top: 44px; border-top: 1px solid rgba(255,255,255,0.12);
    padding: 26px 0;
}
.psk-csc-stats__item { flex: 1; min-width: 130px; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.psk-csc-stats__item:last-child { border-right: none; }
.psk-csc-stats__num { display: block; font-size: 1.7rem; font-weight: 800; color: #fc5e28; }
.psk-csc-stats__label { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

/* ═══ LOCATION MODAL ═══════════════════════════════════ */
.psk-loc-modal-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(4,14,38,0.6);
    backdrop-filter: blur(5px); z-index: 9999; align-items: center; justify-content: center;
}
.psk-loc-modal-backdrop.show { display: flex; }
.psk-loc-modal { background: #fff; border-radius: 20px; padding: 34px 30px; max-width: 420px; width: 90%; text-align: center; }
.psk-loc-modal__ring { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; background: linear-gradient(135deg,#fff3ee,#ffe0d4); }
.psk-loc-modal__ring i { font-size: 28px; color: #fc5e28; }
.psk-loc-modal__ring.state-denied { background: linear-gradient(135deg,#fff0f0,#ffd6d6); }
.psk-loc-modal__ring.state-denied i { color: #dc3545; }
.psk-loc-modal h4 { font-size: 18px; font-weight: 700; color: #1e2a3a; margin-bottom: 8px; }
.psk-loc-modal__sub { font-size: 13.5px; color: #6b7280; line-height: 1.6; margin-bottom: 18px; }
.psk-loc-modal__unblock { background: #f9fafb; border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; text-align: left; font-size: 12.5px; color: #374151; }
.psk-loc-modal__unblock ol { margin: 8px 0 0; padding-left: 18px; }
.psk-loc-modal__dismiss { background: none; border: none; margin-top: 10px; font-size: 12.5px; color: #9ca3af; text-decoration: underline; cursor: pointer; }

/* ═══ RESULTS ═══════════════════════════════════════════ */
.psk-csc-results-section { padding-top: 3em; }
.psk-csc-prompt { text-align: center; padding: 60px 20px; color: #6b7280; }
.psk-csc-prompt .fa { font-size: 2.4rem; color: #e2e6ea; margin-bottom: 14px; display: block; }
.psk-csc-prompt h3 { font-size: 1.2rem; color: #1e2a3a; margin-bottom: 6px; }

.psk-csc-quicklinks { margin-top: 20px; }
.psk-csc-quickcard {
    display: block; height: 100%; background: #fff; border: 1px solid #e2e6ea; border-radius: 16px;
    padding: 28px 26px; text-decoration: none; box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.psk-csc-quickcard:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); border-color: #fc5e28; text-decoration: none; }
.psk-csc-quickcard__icon {
    width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 1.3rem; margin-bottom: 16px;
}
.psk-csc-quickcard h4 { font-size: 1rem; font-weight: 700; color: #1e2a3a; margin-bottom: 6px; }
.psk-csc-quickcard p { font-size: 0.85rem; color: #6b7280; margin: 0; line-height: 1.6; }

/* ── Sidebar: filters + WhatsApp + quick links move together as one
   sticky unit — this is what avoids the earlier overlap bug (that
   happened when only the filters card was sticky and the cards below
   it weren't). */
.psk-csc-sidebar-sticky { position: sticky; top: 20px; }

/* ── Filters ── */
.psk-csc-filters {
    background: #fff; border: 1px solid #e2e6ea; border-radius: 16px;
    padding: 22px; box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.psk-csc-filters__header {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; color: #1e2a3a; font-size: 0.95rem;
    padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid #f0f0f0;
}
.psk-csc-filters__header .fa-sliders { color: #fc5e28; }

.psk-csc-filter-group { margin-bottom: 20px; }
.psk-csc-filter-group:last-of-type { margin-bottom: 0; }
.psk-csc-filters__label {
    display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: #9ca3af; margin-bottom: 8px;
}

/* Custom-styled select — replaces the plain browser <select> look */
.psk-csc-select { position: relative; }
.psk-csc-select__icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #fc5e28; font-size: 0.9rem; pointer-events: none;
}
.psk-csc-select__chevron {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    color: #9ca3af; font-size: 0.85rem; pointer-events: none;
}
.psk-csc-select select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    width: 100%; background: #f8f9fa; border: 1px solid #e5e7eb; border-radius: 10px;
    padding: 11px 34px 11px 38px; font-size: 0.88rem; color: #1e2a3a; font-weight: 500;
    cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.psk-csc-select select:hover { border-color: #fc5e28; background: #fff; }
.psk-csc-select select:focus { outline: none; border-color: #fc5e28; background: #fff; box-shadow: 0 0 0 3px rgba(252,94,40,0.1); }

/* Toggle chip — replaces the plain checkbox */
.psk-csc-toggle-chip { display: block; cursor: pointer; margin: 0; }
.psk-csc-toggle-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.psk-csc-toggle-chip__box {
    display: flex; align-items: center; gap: 6px;
    background: #f8f9fa; border: 1px solid #e5e7eb; border-radius: 10px;
    padding: 11px 14px; font-size: 0.85rem; font-weight: 600; color: #6b7280;
    transition: all 0.2s ease;
}
.psk-csc-toggle-chip__box .fa { color: #cbd5e1; transition: color 0.2s ease; }
.psk-csc-toggle-chip input:checked + .psk-csc-toggle-chip__box {
    background: rgba(37,211,102,0.08); border-color: rgba(37,211,102,0.4); color: #1aab50;
}
.psk-csc-toggle-chip input:checked + .psk-csc-toggle-chip__box .fa { color: #25D366; }
.psk-csc-toggle-chip input:focus-visible + .psk-csc-toggle-chip__box { box-shadow: 0 0 0 3px rgba(252,94,40,0.15); }

.psk-csc-filters__clear {
    display: flex; align-items: center; justify-content: center; gap: 4px;
    margin-top: 18px; padding-top: 16px; border-top: 1px solid #f0f0f0;
    font-size: 0.82rem; color: #fc5e28; text-decoration: none; font-weight: 700;
}
.psk-csc-filters__clear:hover { color: #e04d1a; }

/* ── Sidebar WhatsApp card ── */
.psk-csc-sidebar-wa {
    background: linear-gradient(160deg, #25D366 0%, #1aab50 100%);
    border-radius: 16px; padding: 24px 22px; margin-top: 20px; text-align: center; color: #fff;
}
.psk-csc-sidebar-wa .fa-whatsapp { font-size: 2rem; margin-bottom: 10px; display: block; }
.psk-csc-sidebar-wa h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: #fff; }
.psk-csc-sidebar-wa p { font-size: 0.82rem; color: rgba(255,255,255,0.85); margin-bottom: 16px; line-height: 1.5; }
.psk-csc-sidebar-wa a {
    display: inline-flex; align-items: center; background: #fff; color: #1aab50 !important;
    font-weight: 700; font-size: 0.85rem; padding: 10px 20px; border-radius: 10px; text-decoration: none;
}
.psk-csc-sidebar-wa a:hover { background: #f0fdf4; }

/* ── Sidebar quick links card ── */
.psk-csc-sidebar-links {
    background: #fff; border: 1px solid #e2e6ea; border-radius: 16px;
    padding: 22px; margin-top: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.psk-csc-sidebar-links h4 { font-size: 0.9rem; font-weight: 700; color: #1e2a3a; margin-bottom: 14px; }
.psk-csc-sidebar-links h4 .fa { color: #fc5e28; }
.psk-csc-sidebar-links ul { list-style: none; margin: 0; padding: 0; }
.psk-csc-sidebar-links li { border-top: 1px solid #f4f5f7; }
.psk-csc-sidebar-links li:first-child { border-top: none; }
.psk-csc-sidebar-links a {
    display: flex; align-items: center; padding: 11px 2px; font-size: 0.85rem;
    color: #4b5563; text-decoration: none; transition: color 0.2s ease;
}
.psk-csc-sidebar-links a:hover { color: #fc5e28; }
.psk-csc-sidebar-links a .fa { color: #9ca3af; width: 16px; }
.psk-csc-sidebar-links a:hover .fa { color: #fc5e28; }

/* ── Results bar ── */
.psk-csc-results-bar { margin-bottom: 18px; }
.psk-csc-results-count { color: #6b7280; font-size: 0.92rem; margin: 0; }

/* ── Result card — horizontal layout so wide cards fill their width
   with content/actions instead of leaving space blank under short text ── */
.psk-csc-card {
    position: relative; display: flex; align-items: center; gap: 20px;
    background: #fff; border: 1px solid #e2e6ea; border-radius: 14px;
    padding: 20px 24px; margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.psk-csc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); border-color: #fc5e28; }
.psk-csc-card__icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
    background: rgba(252,94,40,0.08); display: flex; align-items: center; justify-content: center;
}
.psk-csc-card__icon .fa { color: #fc5e28; font-size: 1.3rem; }
.psk-csc-card__body { flex: 1; min-width: 0; }
.psk-csc-card__badge {
    display: inline-flex; align-items: center; background: rgba(37,211,102,0.1); color: #1aab50;
    font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px;
}
.psk-csc-card__name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.psk-csc-card__name a { color: #1e2a3a; text-decoration: none; }
.psk-csc-card__name a:hover { color: #fc5e28; }
.psk-csc-card__location { color: #6b7280; font-size: 0.85rem; margin: 0; }
.psk-csc-card__side {
    flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.psk-csc-card__distance {
    display: inline-block; background: rgba(252,94,40,0.1); color: #fc5e28;
    font-weight: 700; font-size: 0.8rem; padding: 4px 12px; border-radius: 20px; white-space: nowrap;
}
.psk-csc-card__actions { display: flex; gap: 10px; }

/* ── Empty state ── */
.psk-csc-empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid #e2e6ea; border-radius: 14px; }
.psk-csc-empty .fa { font-size: 2.4rem; color: #e2e6ea; margin-bottom: 14px; display: block; }
.psk-csc-empty h3 { font-size: 1.15rem; color: #1e2a3a; margin-bottom: 6px; }
.psk-csc-empty p { color: #6b7280; margin-bottom: 20px; }
.psk-csc-empty__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.psk-csc-pagination .pagination { justify-content: center; margin-top: 10px; flex-wrap: wrap; row-gap: 8px; }
.psk-csc-pagination .page-link { color: #1e2a3a; border-color: #e2e6ea; }
.psk-csc-pagination .page-item.active .page-link { background: #fc5e28; border-color: #fc5e28; }

/* ═══ REGISTER CTA ═══════════════════════════════════════ */
.psk-csc-cta { background: linear-gradient(135deg, #fc5e28 0%, #e04010 100%); padding: 56px 0; }
.psk-csc-cta__title { color: #fff; font-size: 1.7rem; font-weight: 800; margin-bottom: 8px; }
.psk-csc-cta__sub { color: rgba(255,255,255,0.9); font-size: 1rem; margin: 0; max-width: 560px; }
.btn.btn-primary.psk-csc-cta__btn { background: #fff !important; color: #fc5e28 !important; border-color: #fff !important; }
.btn.btn-primary.psk-csc-cta__btn:hover { background: #f8f9fa !important; color: #e04d1a !important; }

/* ═══ RESPONSIVE ═══════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .psk-csc-filters__body { display: none; margin-top: 14px; }
    .psk-csc-filters__body.open { display: block; }
    .psk-csc-sidebar-sticky { position: static; }
}
@media (max-width: 767.98px) {
    .psk-csc-hero { padding-top: 100px; }
    .psk-csc-hero__title { font-size: 1.7rem; }
    .psk-csc-stats { padding: 18px 0; }
    .psk-csc-stats__item { min-width: 45%; margin-bottom: 14px; }
    .psk-csc-search { max-width: 100%; }
    .psk-csc-search__form { flex-direction: column; }
    .psk-csc-search__btn { width: 100%; }
    .psk-csc-card { flex-direction: column; align-items: stretch; }
    .psk-csc-card__icon { display: none; }
    .psk-csc-card__side { align-items: stretch; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
    .psk-csc-card__distance { align-self: flex-start; }
    .psk-csc-card__actions { flex-direction: column; }
    .psk-csc-card__actions .btn { width: 100%; }
    .psk-csc-pagination .page-link { padding: 0.4rem 0.65rem; font-size: 0.85rem; }
    .psk-csc-cta { text-align: center; }
    .psk-csc-cta .text-md-right { text-align: center !important; }
}
