/* VerifyHire Admin — base styles */
/* Tailwind is loaded via CDN in layouts/app.blade.php */
/* Add any custom overrides here */
/* =========================================
   FLAGGED PROFILES + RIGHT SIDEBAR
========================================= */
/* =========================================
   HERO STATS
========================================= */

.hero-stats {
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

    text-align: center;
}

.hero-stat {
    min-width: 0;
}

.hero-stat-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
}

.hero-stat-label {
    margin-top: 4px;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;

    color: rgba(255,255,255,.55);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;

        max-width: 500px;

        margin-top: 32px;
    }

    .hero-stat-value {
        font-size: 20px;
    }

    .hero-stat-label {
        font-size: 11px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);

        gap: 22px 12px;

        width: 100%;

        margin-top: 28px;
    }

    .hero-stat-value {
        font-size: 18px;
    }

    .hero-stat-label {
        font-size: 10px;
        line-height: 1.3;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .hero-stats {
        gap: 20px 8px;
    }

    .hero-stat-value {
        font-size: 16px;
    }

    .hero-stat-label {
        font-size: 9px;
    }
}

.flagged-layout {
    display: flex;
    gap: 24px;
    margin-top: 12px;
    align-items: flex-start;
}

.flagged-content {
    
    flex: 1;
    min-width: 0;
}

.flagged-sidebar {
    width: 300px;
    max-width: 300px;
    flex: 0 0 300px;
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Make ads stay inside sidebar */
.flagged-sidebar > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1200px) {
    .flagged-layout {
        gap: 28px;
    }

    .flagged-sidebar {
        width: 300px;
        flex-basis: 300px;
    }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {
    .flagged-layout {
        display: block;
    }

    .flagged-sidebar {
        width: 100%;
        max-width: 100%;
        flex: none;
        position: static;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;

        margin-top: 24px;
    }

    .flagged-sidebar > * {
        min-width: 0;
        width: 100%;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
    .flagged-layout {
        display: block;
    }

    .flagged-sidebar {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;
        gap: 16px;

        margin-top: 24px;
    }

    .flagged-sidebar > * {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .flagged-sidebar {
        margin-top: 20px;
        gap: 12px;
    }
}




.premium-banner {
    width: 100%;
    min-height: 90px;
    padding: 16px 32px;
    display: flex;
        flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, #0C4A6E, #0369A1);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    box-sizing: border-box;
}

.premium-banner-content {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 1;
}

.premium-banner-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    border-radius: 10px;
    font-size: 20px;
}

.premium-banner-text {
    min-width: 0;
}

.premium-banner-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: .55;
    margin-bottom: 3px;
}

.premium-banner-title {
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
}

.premium-banner-button {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0369A1;
    padding: 9px 22px;
    min-height: 38px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .premium-banner {
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .premium-banner-content {
        width: 100%;
        align-items: flex-start;
        gap: 12px;
    }

    .premium-banner-title {
        font-size: 14px;
        line-height: 1.45;
    }

    .premium-banner-button {
        width: 100%;
    }
}



/* =========================================
   FILTER RESPONSIVE SYSTEM
   ========================================= */
.search-results-layout{
        display: flex;
    gap: 24px;
    align-items: flex-start;
}
.mobile-filter-btn,
.mobile-filter-overlay {
    display: none;
}


/* =========================================
   MOBILE ONLY
   ========================================= */

@media (max-width: 767px) {

    /* Desktop filter hide */
    .desktop-filters {
        display: none !important;
    }
    .search-results-layout{
        display: flex;
        flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

    /* Mobile filter button */
    .mobile-filter-btn {
        width: 100%;
        height: 52px;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,.04);
        color: var(--gray-900);
        font-size: 14px;
        font-weight: 700;
    }

    .mobile-filter-left {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .mobile-filter-left svg {
        width: 19px;
        height: 19px;
    }

    .mobile-filter-right {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .active-filter-count {
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border-radius: 50px;
        background: var(--blue-600);
        color: white;
        font-size: 10px;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .active-filter-count.has-filters {
        display: flex;
    }

    .filter-arrow {
        width: 17px;
        height: 17px;
        color: var(--gray-500);
    }


    /* =====================================
       OVERLAY
       ===================================== */

    .mobile-filter-overlay {
        position: fixed;
        inset: 0;
        z-index: 99999;
        display: none;
    }

    .mobile-filter-overlay.active {
        display: block;
    }

    .mobile-filter-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, .48);
        backdrop-filter: blur(2px);
    }


    /* =====================================
       BOTTOM DRAWER
       ===================================== */

    .mobile-filter-drawer {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;

        background: #fff;
        border-radius: 20px 20px 0 0;

        max-height: 88vh;

        display: flex;
        flex-direction: column;

        transform: translateY(100%);
        transition: transform .3s ease;

        box-shadow: 0 -10px 40px rgba(0,0,0,.15);
    }

    .mobile-filter-overlay.active .mobile-filter-drawer {
        transform: translateY(0);
    }


    /* =====================================
       HEADER
       ===================================== */

    .mobile-filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 18px 18px 15px;

        border-bottom: 1px solid #eef0f3;
        flex-shrink: 0;
    }

    .mobile-filter-title {
        font-size: 18px;
        font-weight: 750;
        color: var(--gray-900);
    }

    .mobile-filter-subtitle {
        margin-top: 3px;
        font-size: 11px;
        color: var(--gray-500);
    }

    .mobile-filter-close {
        width: 34px;
        height: 34px;

        border: 0;
        border-radius: 50%;

        background: #f3f4f6;
        color: #374151;

        font-size: 25px;
        line-height: 1;

        display: flex;
        align-items: center;
        justify-content: center;

        cursor: pointer;
    }


    /* =====================================
       FILTER BODY
       ===================================== */

    .mobile-filter-body {
        overflow-y: auto;
        padding: 6px 18px 20px;

        -webkit-overflow-scrolling: touch;
    }

    .mobile-filter-section {
        padding: 16px 0;
        border-bottom: 1px solid #f0f1f3;
    }

    .mobile-filter-section:last-child {
        border-bottom: 0;
    }

    .mobile-section-title {
        font-size: 12px;
        font-weight: 700;

        color: var(--gray-500);

        text-transform: uppercase;
        letter-spacing: .6px;

        margin-bottom: 11px;
    }


    /* =====================================
       CHECKBOXES
       ===================================== */

    .mobile-check-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .mobile-check-item {
        min-height: 42px;

        display: flex;
        align-items: center;
        gap: 9px;

        padding: 8px 10px;

        border: 1px solid #e8eaed;
        border-radius: 9px;

        font-size: 12px;
        color: var(--gray-700);

        cursor: pointer;

        box-sizing: border-box;
    }

    .mobile-check-item input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .custom-check {
        width: 17px;
        height: 17px;

        flex-shrink: 0;

        border: 1.5px solid #cbd0d7;
        border-radius: 5px;

        position: relative;
        transition: .2s;
    }

    .mobile-check-item input:checked + .custom-check {
        background: var(--blue-600);
        border-color: var(--blue-600);
    }

    .mobile-check-item input:checked + .custom-check::after {
        content: "";

        position: absolute;

        width: 5px;
        height: 9px;

        left: 5px;
        top: 2px;

        border: solid #fff;
        border-width: 0 2px 2px 0;

        transform: rotate(45deg);
    }

    .mobile-check-item:has(input:checked) {
        border-color: var(--blue-600);
        background: var(--blue-50);
        color: var(--blue-600);
        font-weight: 600;
    }


    /* =====================================
       SELECT
       ===================================== */

    .mobile-select {
        width: 100% !important;
        height: 44px;

        border-radius: 9px !important;

        background: #fff;
    }


    /* =====================================
       FOOTER
       ===================================== */

    .mobile-filter-footer {
        display: flex;
        align-items: center;
        gap: 10px;

        padding: 12px 18px;

        border-top: 1px solid #eef0f3;

        background: #fff;

        flex-shrink: 0;
    }

    .mobile-clear-btn {
        width: 100px;
        height: 44px;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 1px solid #e2e5e9;
        border-radius: 9px;

        color: var(--gray-600);
        background: #fff;

        text-decoration: none;

        font-size: 12px;
        font-weight: 600;
    }

    .mobile-apply-btn {
        flex: 1;
        height: 44px;

        border-radius: 9px;
        font-size: 13px;
    }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 420px) {

    .mobile-check-list {
        grid-template-columns: 1fr;
    }

    .mobile-filter-drawer {
        max-height: 92vh;
    }

    .mobile-filter-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mobile-filter-body {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mobile-filter-footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}