:root{
    --bg:#f3f6fb;
    --text:#172033;
    --muted:#64748b;
    --panel:#ffffff;
    --border:#e5eaf1;
    --brand:#0f766e;
    --brand2:#14b8a6;
    --dark:#0f172a;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

/*
|--------------------------------------------------------------------------
| HEADER / HERO
|--------------------------------------------------------------------------
*/

header{
    position:relative;
    overflow:hidden;
    color:#fff;
    padding:52px 18px 96px;
    background:
        linear-gradient(135deg, rgba(15,118,110,.70), rgba(15,23,42,.78)),
        url('/assets/img/header.jpg') center/cover no-repeat;
}

header::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 82% 12%, rgba(45,212,191,.22), transparent 34%),
        radial-gradient(circle at 18% 18%, rgba(59,130,246,.16), transparent 30%);
    pointer-events:none;
}

header::after{
    content:"";
    position:absolute;
    left:-8%;
    right:-8%;
    bottom:-74px;
    height:92px;
    background:var(--bg);
    border-radius:50% 50% 0 0;
}

header .wrap{
    position:relative;
    z-index:2;
}

/*
|--------------------------------------------------------------------------
| LAYOUT
|--------------------------------------------------------------------------
*/

.wrap{
    max-width:1220px;
    margin:auto;
    padding:0 18px;
}

.hero{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:28px;
    align-items:center;
}

/*
|--------------------------------------------------------------------------
| HERO TEXT
|--------------------------------------------------------------------------
*/

h1{
    margin:0;
    font-size:48px;
    line-height:1.02;
    letter-spacing:-.06em;
    max-width:760px;
    text-shadow:0 8px 30px rgba(0,0,0,.22);
}

.sub{
    margin-top:16px;
    opacity:.94;
    max-width:820px;
    line-height:1.65;
    font-size:17px;
}

/*
|--------------------------------------------------------------------------
| HERO SEARCH
|--------------------------------------------------------------------------
*/

.search-hero{
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.28);
    border-radius:26px;
    padding:20px;
    backdrop-filter:blur(14px);
    box-shadow:0 24px 60px rgba(15,23,42,.25);
}

.search-hero label{
    display:block;
    font-weight:900;
    margin-bottom:10px;
    font-size:15px;
}

.hero-form{
    display:grid;
    gap:12px;
}

/*
|--------------------------------------------------------------------------
| FORM ELEMENTS
|--------------------------------------------------------------------------
*/

input,
select,
button{
    width:100%;
    padding:14px 15px;
    border:1px solid #d7deea;
    border-radius:16px;
    font-size:15px;
    background:#fff;
    transition:.18s ease;
}

input:focus,
select:focus{
    outline:none;
    border-color:#14b8a6;
    box-shadow:0 0 0 4px rgba(20,184,166,.15);
}

button{
    background:var(--brand2);
    color:#082f2b;
    border:0;
    font-weight:950;
    cursor:pointer;
    box-shadow:0 12px 26px rgba(20,184,166,.18);
}

button:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 36px rgba(20,184,166,.24);
}

/*
|--------------------------------------------------------------------------
| ACTION BUTTONS
|--------------------------------------------------------------------------
*/

.actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:16px;
}

.actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 15px;
    border-radius:999px;
    background:rgba(255,255,255,.13);
    color:#fff;
    text-decoration:none;
    font-weight:900;
    font-size:14px;
    border:1px solid rgba(255,255,255,.24);
    box-shadow:0 12px 28px rgba(15,23,42,.18);
    transition:.18s ease;
}

.actions a:hover{
    transform:translateY(-1px);
}

.actions a.primary{
    background:#fff;
    color:#0f766e;
}

/*
|--------------------------------------------------------------------------
| STATS
|--------------------------------------------------------------------------
*/

.hero-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-top:-38px;
}

.stat{
    background:rgba(255,255,255,.96);
    border:1px solid rgba(226,232,240,.95);
    border-radius:22px;
    padding:20px;
    box-shadow:0 22px 54px rgba(15,23,42,.16);
    backdrop-filter:blur(8px);
}

.stat b{
    display:block;
    font-size:28px;
    margin-bottom:5px;
    letter-spacing:-.03em;
}

/*
|--------------------------------------------------------------------------
| PANELS
|--------------------------------------------------------------------------
*/

.panel{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:24px;
    padding:20px;
    margin:24px 0 38px;
    box-shadow:0 18px 42px rgba(15,23,42,.08);
}

.panel-title{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    margin-bottom:16px;
}

.panel-title h2{
    margin:0;
    font-size:24px;
    letter-spacing:-.04em;
}

.panel-title p{
    margin:6px 0 0;
    color:var(--muted);
    font-size:14px;
}

/*
|--------------------------------------------------------------------------
| FILTERS
|--------------------------------------------------------------------------
*/

.filters{
    display:grid;
    grid-template-columns:1fr 220px 130px 160px;
    gap:12px;
    margin-bottom:16px;
}

.quick,
.provider-pills{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.quick a,
.pill{
    display:inline-flex;
    gap:8px;
    align-items:center;
    padding:9px 12px;
    border-radius:999px;
    background:#f8fafc;
    border:1px solid var(--border);
    color:#334155;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
    transition:.18s ease;
}

.quick a:hover{
    background:#fff;
    transform:translateY(-1px);
}

/*
|--------------------------------------------------------------------------
| TABLE
|--------------------------------------------------------------------------
*/

.table-wrap{
    overflow:auto;
    border-radius:18px;
    border:1px solid var(--border);
    background:#fff;
}

table{
    width:100%;
    border-collapse:collapse;
    min-width:880px;
}

th,
td{
    padding:14px;
    border-bottom:1px solid #edf1f7;
    text-align:left;
    font-size:14px;
    vertical-align:top;
}

th{
    background:#f8fafc;
    color:#475569;
    text-transform:uppercase;
    font-size:12px;
    letter-spacing:.04em;
    position:sticky;
    top:0;
    z-index:2;
}

tr{
    transition:.12s ease;
}

tr:hover{
    background:#f9fbff;
}

/*
|--------------------------------------------------------------------------
| BADGES
|--------------------------------------------------------------------------
*/

.badge{
    display:inline-block;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}

.red{
    background:#fee2e2;
    color:#991b1b;
}

.yellow{
    background:#fef3c7;
    color:#92400e;
}

.blue{
    background:#dbeafe;
    color:#1e40af;
}

.green{
    background:#dcfce7;
    color:#166534;
}

.gray{
    background:#f1f5f9;
    color:#475569;
}

/*
|--------------------------------------------------------------------------
| LINKS
|--------------------------------------------------------------------------
*/

a{
    color:var(--brand);
    font-weight:900;
    text-decoration:none;
}

/*
|--------------------------------------------------------------------------
| MOBILE CARDS
|--------------------------------------------------------------------------
*/

.mobile-list{
    display:none;
}

.card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:16px;
    margin-bottom:12px;
    box-shadow:0 12px 26px rgba(15,23,42,.07);
}

.card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}

.card-title{
    font-weight:950;
    font-size:18px;
}

.card-row{
    margin-top:11px;
    line-height:1.45;
}

/*
|--------------------------------------------------------------------------
| EMPTY / FOOTER
|--------------------------------------------------------------------------
*/

.footer{
    color:var(--muted);
    font-size:12px;
    margin-top:14px;
}

.empty{
    padding:22px;
    border-radius:18px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    color:#9a3412;
}

/*
|--------------------------------------------------------------------------
| SCROLLBAR
|--------------------------------------------------------------------------
*/

::-webkit-scrollbar{
    width:10px;
    height:10px;
}

::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:999px;
}

::-webkit-scrollbar-track{
    background:#f1f5f9;
}

.hero-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 16px;
    border-radius:999px;
    text-decoration:none;
    font-weight:900;
    transition:.2s ease;
}

.btn.primary{
    background:#ffffff;
    color:#0f766e;
    border:1px solid rgba(255,255,255,.25);
    box-shadow:0 12px 24px rgba(0,0,0,.12);
}

.btn.primary:hover{
    transform:translateY(-1px);
}

.btn.ghost{
    background:rgba(255,255,255,.12);
    color:#fff;
    border:1px solid rgba(255,255,255,.22);
    backdrop-filter:blur(10px);
}

.btn.ghost:hover{
    background:rgba(255,255,255,.18);
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width:900px){

    header{
        padding:38px 14px 58px;
    }

    .hero{
        grid-template-columns:1fr;
    }

    h1{
        font-size:34px;
    }

    .sub{
        font-size:15px;
    }

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

    .filters{
        grid-template-columns:1fr;
    }

    .table-wrap{
        display:none;
    }

    .mobile-list{
        display:block;
    }

    .panel-title{
        flex-direction:column;
    }
}

@media(max-width:520px){

    header{
        padding:30px 10px 52px;
        background-position:center;
    }

    .wrap{
        padding:0 12px;
    }

    h1{
        font-size:30px;
    }

    .hero-grid{
        grid-template-columns:1fr;
    }

    .stat b{
        font-size:24px;
    }

    .actions a{
        flex:1;
    }

    .search-hero{
        padding:16px;
    }

    th,
    td{
        padding:12px;
    }
}