*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
     background:linear-gradient(135deg,#edf4ff,#f7fbff);
    min-height:100vh;
   
}
.login-page{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}
.login-container{
    width:420px;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.logo{
    width:180px;
    display:block;
    margin:0 auto 10px;
}

h1{
    text-align:center;
     margin-bottom:15px;
    font-size:36px;
    color:#0c1c42;
}

.form-group{
    margin-bottom:20px;
}

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

input{
    width:100%;
    padding:14px;
    border:1px solid #d7e2ee;
    border-radius:10px;
}

button{
    width:100%;
    padding:10px;
    border:none;
    border-radius:10px;
    background:#2f67e8;
    color:white;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
}

.dashboard{
    display:flex;
    height:100vh;
    overflow:hidden;
}

.sidebar{
    width:240px;
    background:#093C5D;
    color:white;
    padding:16px;
    height:100vh;
    flex-shrink:0;
    overflow:hidden;
}

.sidebar-logo{
    text-align:center;
    margin-bottom:18px;
}

.sidebar-logo img{
    width:160px;
}

.sidebar ul{
    list-style:none;
}

.sidebar li{
    padding:11px 16px;
    margin-bottom:2px;
    border-radius:10px;
    cursor:pointer;
}
.sidebar a,
.sidebar li{

    font-size:15px;
    font-weight:500;

}
.sidebar li:hover,
.sidebar .active{
    background:rgba(255,255,255,.15);
}

.content{
    flex:1;

    display:flex;
    flex-direction:column;

    background:#f4f7fb;
    padding:20px;

    height:100vh;
    overflow:hidden;
}

.page-container{
    width:100%;
    max-width:none;
    margin:0 auto;
    zoom:.9;

    display:flex;
    flex-direction:column;
  flex:1;
    min-height:0;
}
.table-scroll{

    flex:1;

    min-height:0;

    overflow-y:auto;
    overflow-x:auto;

}

.table-scroll::-webkit-scrollbar{
    width:10px;
    height:10px;
}

.table-scroll::-webkit-scrollbar-thumb{
    background:#c7d3e5;
    border-radius:20px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-top:20px;
}

.card{

    background:white;

    border-radius:20px;

    padding:18px;

    border:1px solid #edf2f7;

    box-shadow:
    0 10px 28px rgba(15,23,42,.08);

}

.card h3{
    font-size:15px;
    margin-bottom:8px;
}

.card p{
    font-size:22px;
    font-weight:700;
    margin-top:4px;
}

.page-header{
    margin-bottom:25px;
}

.create-btn{
    background:#2f67e8;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
}

.table-card{
    background:white;
    padding:12px;
    border-radius:15px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    overflow:visible;
}

table{
    width:100%;
    border-collapse:collapse;
}

thead{
    position:sticky;
    top:0;
    z-index:20;
}

thead th{

    position:sticky;

    top:0;

    z-index:20;

    background:#fff;

    box-shadow:0 1px 0 #eee;

    text-align:left;
    padding:12px 8px;
    border-bottom:1px solid #eee;

}

td{
    padding:12px 8px;
    border-bottom:1px solid #eee;
    font-size:14px;
    font-weight:400;
}

.active-status{
    background:#dff6e3;
    color:#1b7d37;
    padding:6px 12px;
    border-radius:20px;
    font-size:14px;
}

.modal-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:1000;
}

.modal{
    width:650px;
    background:white;
    border-radius:20px;
    padding:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    max-height:90vh;
    overflow-y:auto;
}

.modal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.modal-header h2{
    color:#0c1c42;
}

.close-btn{
    font-size:28px;
    cursor:pointer;
    color:#999;
}

.modal-body{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.modal-body input{
    width:100%;
}

.add-member-btn{
    width:auto;
    align-self:flex-start;
    background:#f4f7fb;
    color:#2f67e8;
    border:1px solid #d7e2ee;
}

.modal-footer{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    margin-top:25px;
}

.cancel-btn{
    width:auto;
    min-width:70px;
    height:32px;
    padding:0 12px;
    background:#e9edf3;
    color:#333;
    font-size:12px;
    font-weight:600;
    border-radius:6px;
}

.save-btn{
    width:auto;
    min-width:70px;
    height:32px;
    padding:0 12px;
    font-size:12px;
    font-weight:600;
    border-radius:6px;
}

.hidden{
    display:none;
}

.campaign-info{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:25px;
}

.section-cards{
    margin-top:40px;
}

.section-cards .card{
    cursor:pointer;
    text-align:center;
    transition:.3s;
}

.section-cards .card:hover{
    transform:translateY(-3px);
}

.action-btn{
    border:none;
    padding:8px 14px;
    border-radius:8px;
    background:#2f67e8;
    color:white;
    cursor:pointer;
    font-size:14px;
    margin-right:5px;
    width:auto;
}

.action-btn:hover{
    opacity:.9;
}

.danger-btn{
    width:auto;
    min-width:70px;
    height:32px;
    padding:0 12px;
    background:#d9534f;
    color:#fff;
    font-size:12px;
    font-weight:600;
    border-radius:6px;
}
.view-btn{
    width:auto;
    background:#2f67e8;
    color:white;
    padding:8px 16px;
    border-radius:8px;
}

.edit-btn{
    width:auto;
    min-width:70px;
    height:32px;
    padding:0 12px;
    background:#1f5fd4;
    color:white;
    font-size:12px;
    font-weight:600;
    border-radius:6px;
}

.close-campaign-btn{
    width:auto;
    min-width:70px;
    height:32px;
    padding:0 12px;
    background:#b13b3b;
    color:#fff;
    border:none;
    border-radius:6px;
    font-size:12px;
    font-weight:600;
}

.summary-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-bottom:25px;
}

.stats-grid{
    grid-template-columns:repeat(4,1fr);
    margin-top:25px;
}

.summary-card{
    background:#f5f8fc;
    padding:20px;
    border-radius:12px;
}

.summary-card h4{
    margin-bottom:10px;
}

.summary-card p{
    font-size:22px;
    font-weight:bold;
}

.team-list{
    margin-top:15px;
    margin-bottom:20px;
    padding-left:20px;
}

.team-list li{
    margin-bottom:8px;
}

.dashboard-filter{
    display:flex;
    align-items:flex-end;
    gap:20px;
}

.dashboard-filter input{
    width:200px;
}
.dashboard-filter select{
    width:180px;
    height:46px;
    border:1px solid #d7e2ee;
    border-radius:10px;
    padding:0 14px;
    font-size:16px;
    background:white;
    color:#333;
}
.filter-btn{
    width:auto;
    padding:14px 20px;
}

.dashboard-period{
    text-align:center;
    color:#6b7280;
    margin-top:-15px;
    margin-bottom:25px;
    font-size:15px;
}



.date-group{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.date-group label{
    font-size:14px;
    font-weight:600;
    color:#555;
}

.registration-card{
    width:95%;
    max-width:1400px;
    margin:20px auto;
    background:white;
        padding:15px 25px;

    border-radius:20px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.registration-card label{
    display:block;
     margin-top:5px;
    margin-bottom:4px;
    
    font-weight:600;
}

.registration-card input{
    width:100%;
}

.yes-no-group{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:10px;
}

.yes-no-group button{
    background:white;
    color:#0c1c42;
    border:1px solid #d7e2ee;
}

.submit-btn{
    margin-top:30px;
}

.booked-status{
    background:#dbeafe;
    color:#1d4ed8;
    padding:6px 12px;
    border-radius:20px;
    font-size:14px;
}

.results-count{
    margin-bottom:15px;
    font-weight:600;
    color:#555;
}

.date-group{
    display:flex;
    flex-direction:column;
    width:150px;
}

.date-group label{
    margin-bottom:6px;
    font-size:13px;
    font-weight:600;
    color:#666;
}

.date-group input{
    width:100%;
        height:46px;

}

.filter-btn{

height:38px;
padding:0 16px;
border:none;
border-radius:10px;
background:#a5baf2;
cursor:pointer;
font-size:12px;
font-weight:500;

}

.filter-btn.active{

background:#356AE6;
color:#fff;

}
.dashboard-filter{
    display:flex;
    align-items:flex-end;
}

.sidebar a{
    color:white;
    text-decoration:none;
    display:block;
    width:100%;
}

.sidebar a{
    display:block;
    width:100%;
    height:100%;
    color:white;
    text-decoration:none;
}

.registration-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.registration-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px 30px;
}

.registration-card label{
    margin-top:10px;
}

.registration-card input{
    padding:8px;
}

.submit-btn{
    margin-top:20px;
}

@media (max-width: 768px) {

    .registration-card{
        width:95%;
        padding:20px;
        margin:10px auto;
    }

    .registration-grid{
        grid-template-columns:1fr;
    }

    .logo{
        width:140px;
    }

    h1{
        font-size:32px;
    }

    .yes-no-group{
        grid-template-columns:1fr 1fr;
    }

}

.submit-btn:hover{
    background:#1f5fd4;
}

.submit-btn:active{
    transform:scale(0.98);
    background:#184db0;
}

.selected-answer{
    background:#2f67e8 !important;
    color:white !important;
    border-color:#2f67e8 !important;
}

.success-screen{
    position:fixed;
    inset:0;
    background:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.success-icon{
    width:120px;
    height:120px;
    border-radius:50%;
    background:#4ec9a8;
    color:white;
    font-size:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:25px;
}

.success-screen h1{
    font-size:42px;
    margin-bottom:15px;
}

.success-screen p{
    color:#666;
    margin-bottom:30px;
    font-size:18px;
}

.section-title{
    margin:25px 0 15px;
    color:#0c1c42;
}

.inactive-title{
    margin-top:35px;
}

.status-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

select {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    background: #fafbfc;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
}

select:hover {
    border-color: #2f6fed;
}

select:focus {
    outline: none;
    background: white;
    border-color: #2f6fed;
    box-shadow: 0 0 0 4px rgba(47,111,237,0.12);
}

.delete-btn{
     padding: 4px 10px;
    font-size: 12px;
    border: none;
    border-radius: 6px;
    background: #c0392b;
    color: white;
    cursor: pointer;
    font-weight: 600;
}



.clickable-row{
    cursor:pointer;
    transition:.2s;
}

.clickable-row:hover{
    background:#f6f9ff;
}

#pagination button{
    width:auto !important;
    min-width:24px;
    height:24px;
    padding:0 8px;
    border-radius:6px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:10px;
}

.table-toolbar{

display:flex;
align-items:center;
gap:12px;
margin-bottom:18px;

}

.table-toolbar input{

height:40px;
padding:0 12px;
border:1px solid #ddd;
border-radius:10px;
font-size:14px;

}
#fromDate,
#toDate{

    width:150px;
    min-width:150px;
    max-width:150px;
    flex:none;

}


.filter-btn{

height:42px;
padding:0 18px;
border:none;
border-radius:10px;
background:#9db7fa;
cursor:pointer;
font-size:14px;

}

.filter-btn.active{

background:#356AE6;
color:white;

}

#pendingCount{

background:#e53935;
color:white;
padding:1px 6px;
border-radius:20px;
font-size:11px;
margin-left:5px;

}
#allCount{

background:#b4c8f1;
color:#0b0a0a;
padding:1px 6px;
border-radius:20px;
font-size:11px;
margin-left:5px;

}
#bookedCount{

background:#22c55e;
color:white;
padding:1px 6px;
border-radius:20px;
font-size:11px;
margin-left:5px;

}

#notBookedCount{

background:#efbf44;
color:white;
padding:1px 6px;
border-radius:20px;
font-size:11px;
margin-left:5px;

}

#campaignFilter,
#branchFilter{

    width:150px;
    min-width:150px;
    max-width:150px;
    height:38px;
    flex:none;
    font-size:13px;

}

.table-toolbar{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
}

.search-row{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.search-row #searchPatient{
    width:280px;
    height:38px;
}

.search-row #fromDate,
.search-row #toDate{
    width:150px;
    height:38px;
    flex:none;
}

/* ==============================
   Dashboard page only
================================ */

.dashboard-page{
    height:100vh;
    overflow:hidden;
}

.dashboard-page .dashboard{
    height:100vh;
    min-height:0;
}

.dashboard-page .content{
    height:100vh;
    overflow:hidden;
    padding:12px 16px;
}

.dashboard-page .page-container{
    height:100%;
    zoom:1;
    display:flex;
    flex-direction:column;
}

/* عنوان الصفحة */

.dashboard-page h1{
    font-size:28px;
    line-height:1;
    margin-bottom:10px;
}

/* الفلاتر */

.dashboard-page .dashboard-filter{
    gap:10px;
    margin-bottom:10px;
}

.dashboard-page .dashboard-filter select{
    width:150px;
    height:38px;
    font-size:13px;
}

.date-range{

    display:flex;
    align-items:center;
    gap:2px;

}

.date-range input{

        width:135px;
    height:38px;

    border:1px solid #d7e2ee;
    border-radius:10px;

    padding:0 12px;

    font-size:13px;

}



.dashboard-page .filter-btn,
.dashboard-page .year-btn{
    height:38px;
    padding:0 16px;
    font-size:12px;
}

/* الكروت العلوية */

.dashboard-page .cards{
    grid-template-columns:repeat(4, 1fr);
    gap:10px;
    margin-top:0;
    margin-bottom:10px;
}

.dashboard-page .card{
    min-height:70px;
    padding:10px 14px;
    border-radius:12px;
}

.dashboard-page .card h3{
    font-size:13px;
    margin-bottom:4px;
}

.dashboard-page .card p{
    font-size:20px;
    margin:0;
}

/* شبكة الشارتات */

.dashboard-charts{
    flex:1;
    min-height:0;

    display:grid;
    grid-template-columns:minmax(0, 1.65fr) minmax(260px, 1fr);
    grid-template-rows:repeat(2, minmax(0, 1fr));

    grid-template-areas:
        "status diagnosis"
        "campaign age";

    gap:10px;
}

/* أماكن الشارتات */

.status-chart-card{
    grid-area:status;
}

.diagnosis-chart-card{
    grid-area:diagnosis;
}

.campaign-chart-card{
    grid-area:campaign;
}

.age-chart-card{
    grid-area:age;
}

/* كرت الشارت */

.dashboard-chart-card{
    background:#fff;
    border-radius:14px;
    padding:10px 12px;
    box-shadow:0 3px 12px rgba(15, 23, 42, .07);

    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:0;
    overflow:hidden;
}

.dashboard-chart-card h3{
    flex:none;
    font-size:13px;
    color:#0c1c42;
    margin-bottom:5px;
}

/* مساحة الرسم داخل الكرت */

.dashboard-chart-card .chart-body{
    flex:1;
    min-height:0;
    position:relative;
}

.dashboard-chart-card canvas{
    position:absolute;
    inset:0;

    width:100% !important;
    height:100% !important;
}

.progress{
    width:100%;
    height:8px;
    background:#edf2f7;
    border-radius:999px;
    overflow:hidden;
    margin:8px 0 12px;
}

.progress-fill{
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,#67A2C5,#408175);
    transition:.4s;
}

#arrivedCount{

    background:#06b6d4;
    color:white;
    padding:1px 6px;
    border-radius:20px;
    font-size:11px;
    margin-left:5px;

}

#dashboardArrivedCount{

    background:transparent;

    color:#111827;

    padding:0;

    border-radius:0;

    font-size:20px;

    font-weight:700;

    margin-left:0;

}


.success-toast{

position:fixed;

top:30px;
right:30px;

background:#22c55e;
color:#fff;

padding:16px 28px;

border-radius:12px;

font-size:16px;
font-weight:600;

box-shadow:0 10px 25px rgba(0,0,0,.15);

opacity:0;

transform:translateY(-20px);

transition:.35s;

z-index:9999;

}

.success-toast.show{

opacity:1;

transform:translateY(0);

}

.campaign-view-btn,
.campaign-edit-btn,
.campaign-delete-btn{
    width:auto;
    padding:5px 12px;
    font-size:12px;
    border-radius:6px;
}

.campaign-view-btn{
    background:#2f67e8;
    color:#fff;
}

.campaign-edit-btn{
    background:#1f5fd4;
    color:#fff;
}

.campaign-delete-btn{
    background:#dc3545;
    color:#fff;
}

/* ===== Reports Filters ===== */

.dashboard-filter{
    gap:10px;
}

.dashboard-filter select{
    width:150px !important;
    min-width:150px !important;
    max-width:150px !important;
    height:38px !important;
    font-size:13px;
}

.date-range input{
    width:135px !important;
    height:38px !important;
    font-size:13px;
}

.year-btn{
    width:80px !important;
    height:38px !important;
    padding:0 16px !important;
}

.csv-btn{

    width:42px;
    height:32px;

    border-radius:12px;

    font-size:10px;
    font-weight:700;

    display:flex;
    justify-content:center;
    align-items:center;

    margin-left:6px;
}
/* =========================================================
   KAHHAL GLASS UI — SAFE VISUAL OVERRIDES
   Keeps existing HTML, JavaScript, layout and class names.
========================================================= */

:root{
    --navy:#0C1C42;
    --sidebar:#093C5D;
    --blue:#2F67E8;
    --sky:#67A2C5;
    --green:#408175;
    --danger:#B13B3B;
    --text:#24324A;
    --muted:#6B7280;
    --glass:rgba(255,255,255,.58);
    --glass-strong:rgba(255,255,255,.78);
    --glass-border:rgba(255,255,255,.75);
    --soft-border:rgba(148,163,184,.20);
    --shadow:0 18px 45px rgba(15,28,66,.10);
    --shadow-soft:0 8px 24px rgba(15,28,66,.08);
}

html,
body{
    background:
        radial-gradient(circle at 8% 7%,rgba(103,162,197,.28),transparent 26%),
        linear-gradient(135deg,#EAF3FA 0%,#F7FBFF 48%,#EAF4F3 100%);
    color:var(--text);
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background:
        linear-gradient(115deg,rgba(255,255,255,.28),transparent 30%),
        linear-gradient(315deg,rgba(255,255,255,.20),transparent 28%);
    z-index:-1;
}

.content,
.dashboard-page .content{
    background:transparent;
}

.sidebar{
    background:
        linear-gradient(180deg,rgba(14,78,113,.98) 0%,rgba(9,60,93,.98) 52%,rgba(12,28,66,.99) 100%);
    border-right:1px solid rgba(255,255,255,.14);
    box-shadow:12px 0 35px rgba(12,28,66,.14);
}

.sidebar-logo{
    padding:8px 0 14px;
    border-bottom:1px solid rgba(255,255,255,.12);
}

.sidebar li{
    border:1px solid transparent;
    transition:background .22s ease,border-color .22s ease,transform .22s ease;
}

.sidebar li:hover,
.sidebar .active{
    background:rgba(255,255,255,.13);
    border-color:rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    transform:translateX(2px);
}

.page-container{
    position:relative;
}

h1,
.section-title,
.modal-header h2{
    color:var(--navy);
}

h1{
    letter-spacing:-.7px;
    text-shadow:0 1px 0 rgba(255,255,255,.7);
}

.login-container,
.card,
.table-card,
.registration-card,
.summary-card,
.dashboard-chart-card,
.modal{
    background:var(--glass);
    border:1px solid var(--glass-border);
    box-shadow:var(--shadow);
    backdrop-filter:blur(22px) saturate(135%);
    -webkit-backdrop-filter:blur(22px) saturate(135%);
}

.login-container,
.modal{
    background:rgba(255,255,255,.72);
}

.card,
.table-card,
.registration-card,
.summary-card,
.dashboard-chart-card{
    position:relative;
    overflow:hidden;
}

.card::before,
.summary-card::before,
.dashboard-chart-card::before{
    content:"";
    position:absolute;
    inset:0 auto auto 0;
    width:100%;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent);
}

.card,
.summary-card,
.dashboard-chart-card{
    transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}

.card:hover,
.summary-card:hover,
.dashboard-chart-card:hover{
    transform:translateY(-2px);
    border-color:rgba(255,255,255,.95);
    box-shadow:0 22px 48px rgba(15,28,66,.13);
}

.table-card{
    background:rgba(255,255,255,.64);
    width:100%;
    border-radius:22px;
    overflow:visible;
}

table{
    background:transparent;
}

thead,
thead th{
    background:rgba(245,249,253,.88);
    backdrop-filter:blur(18px) saturate(130%);
    -webkit-backdrop-filter:blur(18px) saturate(130%);
}

thead th{
    color:var(--navy);
    border-bottom:1px solid rgba(148,163,184,.25);
    box-shadow:0 1px 0 rgba(255,255,255,.75);
    font-weight:700;
}
.campaign-table thead th:last-child{
    width:260px;
}
tbody tr{
    transition:background .18s ease,transform .18s ease;
}

tbody tr:hover,
.clickable-row:hover{
    background:rgba(225,239,250,.62);
}

td{
    border-bottom:1px solid rgba(148,163,184,.18);
    color:#2B3950;
}

.table-scroll::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#A9C8DA,#7CA9C3);
    border:2px solid rgba(255,255,255,.65);
}

input,
select,
textarea{
    background:rgba(255,255,255,.68);
    color:#1F2937;
    border:1px solid rgba(148,163,184,.28);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.82);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

input:hover,
select:hover,
textarea:hover{
    border-color:rgba(103,162,197,.62);
}

input:focus,
select:focus,
textarea:focus{
    outline:none;
    background:rgba(255,255,255,.90);
    border-color:var(--sky);
    box-shadow:0 0 0 4px rgba(103,162,197,.16),0 8px 20px rgba(15,28,66,.06);
}

button{
    transition:transform .2s ease,box-shadow .2s ease,filter .2s ease,opacity .2s ease;
}

button:hover{
    transform:translateY(-1px);
    filter:brightness(1.03);
}

button:active{
    transform:translateY(0) scale(.98);
}

.create-btn,
.save-btn,
.submit-btn,
.action-btn,
.view-btn,
.edit-btn,
.campaign-view-btn,
.campaign-edit-btn,
.filter-btn.active,
.year-btn{
    background:linear-gradient(135deg,var(--blue),var(--navy));
    color:#fff;
    border:1px solid rgba(255,255,255,.16);
    box-shadow:0 8px 20px rgba(47,103,232,.22);
}

.create-btn:hover,
.save-btn:hover,
.submit-btn:hover,
.action-btn:hover,
.view-btn:hover,
.edit-btn:hover,
.campaign-view-btn:hover,
.campaign-edit-btn:hover,
.filter-btn.active:hover,
.year-btn:hover{
    box-shadow:0 12px 26px rgba(47,103,232,.30);
}

.cancel-btn,
.add-member-btn,
.filter-btn:not(.active){
    background:rgba(255,255,255,.62);
    color:var(--navy);
    border:1px solid rgba(148,163,184,.28);
    box-shadow:var(--shadow-soft);
}

.close-campaign-btn,
.danger-btn,
.delete-btn,
.campaign-delete-btn{
    background:linear-gradient(135deg,#C75353,#8E2F3B);
    color:#fff;
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 8px 18px rgba(177,59,59,.20);
}

.close-campaign-btn:hover,
.danger-btn:hover,
.delete-btn:hover,
.campaign-delete-btn:hover{
    box-shadow:0 11px 24px rgba(177,59,59,.28);
}

.modal-overlay{
    background:rgba(12,28,66,.38);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

.modal{
    border-radius:24px;
    box-shadow:0 30px 70px rgba(12,28,66,.25);
}

.modal-header{
    padding-bottom:14px;
    border-bottom:1px solid rgba(148,163,184,.20);
}

.close-btn{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.58);
    color:#64748B;
    box-shadow:var(--shadow-soft);
    transition:.2s;
}

.close-btn:hover{
    color:var(--danger);
    background:rgba(255,255,255,.88);
    transform:rotate(5deg);
}

.active-status,
.booked-status{
    border:1px solid rgba(64,129,117,.15);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
}

.active-status{
    background:rgba(220,244,232,.78);
    color:#23704E;
}

.disabled-status{
    background:rgba(248,215,218,.78);
    color:#842029;
    padding:6px 12px;
    border-radius:20px;
    font-size:14px;
    border:1px solid rgba(177,59,59,.14);
}

.booked-status{
    background:rgba(219,234,254,.78);
    color:#1D4ED8;
}

.progress{
    background:rgba(226,232,240,.72);
    border:1px solid rgba(255,255,255,.72);
    box-shadow:inset 0 2px 5px rgba(15,23,42,.05);
}

.progress-fill{
    background:linear-gradient(90deg,var(--sky),var(--green));
    box-shadow:0 0 14px rgba(64,129,117,.22);
}

.success-toast{
    background:rgba(64,129,117,.92);
    border:1px solid rgba(255,255,255,.24);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

.csv-btn{
    background:linear-gradient(135deg,var(--navy),#17386E);
    box-shadow:0 7px 16px rgba(12,28,66,.20);
}

.edit-btn,
.close-campaign-btn,
.danger-btn,
.delete-btn,
.campaign-view-btn,
.campaign-edit-btn,
.campaign-delete-btn{

    width:56px;
    height:30px;

    padding:0;

    margin-right:4px;

    display:inline-flex;
    justify-content:center;
    align-items:center;

    font-size:10px;
    font-weight:600;

    border-radius:8px;
}
.csv-btn,
.filter-btn,
.year-btn,
.cancel-btn,
.save-btn,
.action-btn,
.view-btn,
.create-btn{
    width:auto;
}

/* Preserve utility behavior */
.hidden{
    display:none !important;
}

@media (max-width:768px){
    .sidebar{
        box-shadow:8px 0 24px rgba(12,28,66,.12);
    }

    .card,
    .table-card,
    .registration-card,
    .summary-card,
    .dashboard-chart-card,
    .modal{
        backdrop-filter:blur(16px) saturate(125%);
        -webkit-backdrop-filter:blur(16px) saturate(125%);
    }
}
.prescription-btn{
    width:130px !important;
    height:32px;
    font-size:12px;
    white-space:nowrap;
}

#teamMembers{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:16px;
}

#teamMembers input{
    margin:0;
}

#viewCampaignModal .summary-grid{

    grid-template-columns:repeat(4,1fr);

    gap:10px;

    margin-bottom:20px;

}

#viewCampaignModal .summary-card{

    min-height:85px;

    padding:14px 16px;

    border-radius:16px;

}

#viewCampaignModal .summary-card h4{

    font-size:13px;

    margin-bottom:8px;

}

#viewCampaignModal .summary-card p{

    font-size:16px;

    font-weight:700;

    line-height:1.2;

    word-break:break-word;

}