/* =========================================================
   Water Can Management System
   File: css/style.css
   Part: 1
   Common Global Styles
   Modern SaaS Glassmorphism UI
========================================================= */

/* ==========================
   GOOGLE FONTS
========================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================
   ROOT VARIABLES
========================== */

:root{

    /* Primary */
    --primary:#3B82F6;
    --primary-dark:#2563EB;
    --primary-light:#60A5FA;

    /* Secondary */
    --secondary:#14B8A6;
    --secondary-dark:#0F766E;

    /* Accent */
    --accent:#F59E0B;

    /* Success */
    --success:#22C55E;
    --success-light:#DCFCE7;

    /* Danger */
    --danger:#EF4444;
    --danger-light:#FEE2E2;

    /* Warning */
    --warning:#FBBF24;
    --warning-light:#FEF3C7;

    /* Info */
    --info:#06B6D4;
    --info-light:#CFFAFE;

    /* Dashboard */
    --bg:#07111F;
    --bg-secondary:#101C2D;
    --bg-card:rgba(255,255,255,.08);
    --bg-card-hover:rgba(255,255,255,.13);

    /* Text */
    --text:#F8FAFC;
    --text-light:#CBD5E1;
    --text-muted:#94A3B8;

    /* Border */
    --border:rgba(255,255,255,.08);

    /* Radius */
    --radius-xs:6px;
    --radius-sm:10px;
    --radius-md:14px;
    --radius-lg:18px;
    --radius-xl:22px;
    --radius-2xl:28px;
    --radius-round:999px;

    /* Shadow */
    --shadow-xs:0 2px 5px rgba(0,0,0,.15);
    --shadow-sm:0 8px 20px rgba(0,0,0,.20);
    --shadow-md:0 15px 40px rgba(0,0,0,.28);
    --shadow-lg:0 20px 60px rgba(0,0,0,.35);

    /* Glass */
    --glass:rgba(255,255,255,.08);
    --glass-strong:rgba(255,255,255,.12);
    --glass-border:rgba(255,255,255,.15);

    /* Transition */
    --transition:.30s ease;
    --transition-fast:.18s ease;

    /* Sidebar */
    --sidebar-width:280px;

    /* Header */
    --header-height:70px;

    /* Z Index */
    --z-sidebar:900;
    --z-navbar:950;
    --z-modal:9999;
    --z-toast:10000;

}

/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

*::before,
*::after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{

    font-family:'Inter',sans-serif;
    background:linear-gradient(
        135deg,
        #08121f 0%,
        #0c1d33 40%,
        #112b48 100%
    );

    color:var(--text);
    min-height:100vh;
    overflow-x:hidden;
    line-height:1.6;

}

/* Background Glow */

body::before{

    content:"";
    position:fixed;
    top:-250px;
    left:-220px;
    width:550px;
    height:550px;

    background:#2563eb44;
    border-radius:50%;
    filter:blur(120px);
    z-index:-2;

}

body::after{

    content:"";
    position:fixed;
    right:-250px;
    bottom:-250px;
    width:600px;
    height:600px;

    background:#14b8a640;
    border-radius:50%;
    filter:blur(140px);
    z-index:-2;

}

/* ==========================
   SELECTION
========================== */

::selection{
    background:var(--primary);
    color:#fff;
}

/* ==========================
   SCROLLBAR
========================== */

::-webkit-scrollbar{
    width:10px;
    height:10px;
}

::-webkit-scrollbar-track{

    background:#0b1726;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(
        180deg,
        var(--primary),
        var(--secondary)
    );

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-light);

}

/* Firefox */

*{
    scrollbar-width:thin;
    scrollbar-color:var(--primary) #0b1726;
}

/* ==========================
   TYPOGRAPHY
========================== */

h1,h2,h3,h4,h5,h6{

    font-weight:700;
    line-height:1.3;
    color:#fff;

}

h1{font-size:2.3rem;}
h2{font-size:1.9rem;}
h3{font-size:1.5rem;}
h4{font-size:1.2rem;}
h5{font-size:1rem;}
h6{font-size:.9rem;}

p{

    color:var(--text-light);

}

small{

    color:var(--text-muted);

}

a{

    color:inherit;
    text-decoration:none;
    transition:var(--transition);

}

img{

    display:block;
    max-width:100%;

}

ul{

    list-style:none;

}

button,
input,
select,
textarea{

    font-family:'Inter',sans-serif;

}

/* ==========================
   CONTAINER
========================== */

.container{

    width:min(1320px,92%);
    margin:auto;

}

.container-fluid{

    width:96%;
    margin:auto;

}

/* ==========================
   GLASS CARD
========================== */

.glass{

    background:var(--glass);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border:1px solid var(--glass-border);

    border-radius:var(--radius-xl);

    box-shadow:var(--shadow-md);

}

/* ==========================
   SECTION
========================== */

.section{

    padding:70px 0;

}

.section-title{

    margin-bottom:35px;

}

.section-title h2{

    margin-bottom:8px;

}

.section-title p{

    color:var(--text-muted);

}

/* ==========================
   FLEX HELPERS
========================== */

.d-flex{
    display:flex;
}

.flex-column{
    flex-direction:column;
}

.align-center{
    align-items:center;
}

.justify-between{
    justify-content:space-between;
}

.justify-center{
    justify-content:center;
}

.flex-wrap{
    flex-wrap:wrap;
}

.gap-5{gap:5px;}
.gap-10{gap:10px;}
.gap-15{gap:15px;}
.gap-20{gap:20px;}
.gap-25{gap:25px;}
.gap-30{gap:30px;}

/* ==========================
   GRID HELPERS
========================== */

.grid{

    display:grid;

}

.grid-2{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;

}

.grid-3{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;

}

.grid-4{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;

}

/* ==========================
   SPACING
========================== */

.mt-10{margin-top:10px;}
.mt-20{margin-top:20px;}
.mt-30{margin-top:30px;}
.mt-40{margin-top:40px;}
.mt-50{margin-top:50px;}

.mb-10{margin-bottom:10px;}
.mb-20{margin-bottom:20px;}
.mb-30{margin-bottom:30px;}
.mb-40{margin-bottom:40px;}
.mb-50{margin-bottom:50px;}

.pt-20{padding-top:20px;}
.pt-40{padding-top:40px;}

.pb-20{padding-bottom:20px;}
.pb-40{padding-bottom:40px;}

.p-10{padding:10px;}
.p-15{padding:15px;}
.p-20{padding:20px;}
.p-25{padding:25px;}
.p-30{padding:30px;}

/* ==========================
   TEXT UTILITIES
========================== */

.text-center{text-align:center;}
.text-left{text-align:left;}
.text-right{text-align:right;}

.text-primary{color:var(--primary);}
.text-success{color:var(--success);}
.text-danger{color:var(--danger);}
.text-warning{color:var(--warning);}
.text-info{color:var(--info);}
.text-muted{color:var(--text-muted);}

.fw-400{font-weight:400;}
.fw-500{font-weight:500;}
.fw-600{font-weight:600;}
.fw-700{font-weight:700;}
.fw-800{font-weight:800;}

/* ==========================
   DISPLAY HELPERS
========================== */

.hidden{
    display:none !important;
}

.visible{
    display:block !important;
}

.w-100{
    width:100%;
}

.h-100{
    height:100%;
}

/* ==========================
   BORDER RADIUS
========================== */

.rounded-sm{
    border-radius:var(--radius-sm);
}

.rounded{
    border-radius:var(--radius-md);
}

.rounded-lg{
    border-radius:var(--radius-xl);
}

.rounded-full{
    border-radius:999px;
}

/* ---------- END OF PART 1 ---------- */
/* =========================================================
   Water Can Management System
   File: css/style.css
   Part: 2
   Buttons • Forms • Inputs • Cards • Alerts
========================================================= */


/* =========================================================
   BUTTONS
========================================================= */

.btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    border:none;
    outline:none;
    cursor:pointer;

    padding:13px 24px;

    border-radius:var(--radius-md);

    font-size:.95rem;
    font-weight:600;

    transition:var(--transition);

    text-decoration:none;

    position:relative;

    overflow:hidden;

    white-space:nowrap;

}

.btn i{
    font-size:.95rem;
}

.btn::before{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:120%;
    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transition:.7s;

}

.btn:hover::before{

    left:120%;

}

.btn:hover{

    transform:translateY(-3px);

    box-shadow:var(--shadow-md);

}

.btn:active{

    transform:scale(.96);

}

.btn-primary{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:#fff;

}

.btn-secondary{

    background:linear-gradient(
        135deg,
        var(--secondary),
        var(--secondary-dark)
    );

    color:#fff;

}

.btn-success{

    background:linear-gradient(
        135deg,
        #22c55e,
        #15803d
    );

    color:#fff;

}

.btn-danger{

    background:linear-gradient(
        135deg,
        #ef4444,
        #b91c1c
    );

    color:#fff;

}

.btn-warning{

    background:linear-gradient(
        135deg,
        #f59e0b,
        #d97706
    );

    color:#fff;

}

.btn-outline{

    background:transparent;

    color:var(--primary);

    border:1px solid var(--primary);

}

.btn-outline:hover{

    background:var(--primary);

    color:#fff;

}

.btn-light{

    background:#ffffff;

    color:#0f172a;

}

.btn-block{

    width:100%;

}

.btn-sm{

    padding:8px 15px;

    font-size:.82rem;

}

.btn-lg{

    padding:16px 34px;

    font-size:1rem;

}

.btn-icon{

    width:44px;
    height:44px;

    padding:0;

    border-radius:50%;

}


/* =========================================================
   FORM CONTAINER
========================================================= */

.form-card{

    background:var(--glass);

    backdrop-filter:blur(18px);

    border:1px solid var(--glass-border);

    border-radius:var(--radius-xl);

    padding:30px;

    box-shadow:var(--shadow-md);

}

.form-title{

    margin-bottom:25px;

}

.form-title h3{

    margin-bottom:6px;

}

.form-title p{

    color:var(--text-muted);

}


/* =========================================================
   FORM GROUP
========================================================= */

.form-group{

    margin-bottom:22px;

}

.form-label{

    display:block;

    margin-bottom:9px;

    font-weight:600;

    color:#fff;

    font-size:.93rem;

}


/* =========================================================
   INPUTS
========================================================= */

.form-control{

    width:100%;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.10);

    color:#fff;

    border-radius:14px;

    padding:14px 18px;

    transition:var(--transition);

    font-size:.95rem;

}

.form-control::placeholder{

    color:#94a3b8;

}

.form-control:hover{

    border-color:rgba(96,165,250,.35);

}

.form-control:focus{

    outline:none;

    border-color:var(--primary);

    background:rgba(255,255,255,.08);

    box-shadow:
        0 0 0 4px rgba(59,130,246,.15);

}

textarea.form-control{

    resize:vertical;

    min-height:130px;

}

select.form-control{

    appearance:none;

    cursor:pointer;

}

input[type="date"]{

    color:#fff;

}

input[type="file"]{

    padding:11px;

}


/* =========================================================
   INPUT GROUP
========================================================= */

.input-group{

    display:flex;

    align-items:center;

    gap:10px;

}

.input-icon{

    position:relative;

}

.input-icon i{

    position:absolute;

    top:50%;

    left:15px;

    transform:translateY(-50%);

    color:#94a3b8;

    pointer-events:none;

}

.input-icon input{

    padding-left:45px;

}


/* =========================================================
   CHECKBOX
========================================================= */

.checkbox{

    display:flex;

    align-items:center;

    gap:10px;

    cursor:pointer;

}

.checkbox input{

    accent-color:var(--primary);

    width:18px;
    height:18px;

}


/* =========================================================
   SWITCH
========================================================= */

.switch{

    position:relative;

    width:52px;
    height:28px;

}

.switch input{

    display:none;

}

.slider{

    position:absolute;

    inset:0;

    background:#64748b;

    border-radius:30px;

    cursor:pointer;

    transition:.3s;

}

.slider::before{

    content:"";

    position:absolute;

    width:22px;
    height:22px;

    left:3px;
    top:3px;

    border-radius:50%;

    background:#fff;

    transition:.3s;

}

.switch input:checked + .slider{

    background:var(--primary);

}

.switch input:checked + .slider::before{

    transform:translateX(24px);

}


/* =========================================================
   SEARCH BOX
========================================================= */

.search-box{

    position:relative;

    width:100%;

}

.search-box i{

    position:absolute;

    top:50%;
    left:15px;

    transform:translateY(-50%);

    color:var(--text-muted);

}

.search-box input{

    width:100%;

    padding:14px 18px 14px 46px;

    background:rgba(255,255,255,.06);

    border:1px solid rgba(255,255,255,.08);

    border-radius:50px;

    color:#fff;

}

.search-box input:focus{

    outline:none;

    border-color:var(--primary);

}


/* =========================================================
   FILTER BAR
========================================================= */

.filter-bar{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    align-items:center;

    margin-bottom:22px;

}

.filter-bar .form-control{

    max-width:220px;

}


/* =========================================================
   CARD
========================================================= */

.card{

    background:var(--glass);

    backdrop-filter:blur(18px);

    border:1px solid var(--glass-border);

    border-radius:22px;

    padding:24px;

    transition:var(--transition);

    box-shadow:var(--shadow-sm);

}

.card:hover{

    transform:translateY(-6px);

    background:var(--bg-card-hover);

    box-shadow:var(--shadow-lg);

}

.card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.card-title{

    font-size:1.05rem;

    font-weight:700;

}

.card-body{

    color:var(--text-light);

}

.card-footer{

    margin-top:20px;

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:18px;

}


/* =========================================================
   SIMPLE STAT CARD
========================================================= */

.stat-card{

    position:relative;

    overflow:hidden;

}

.stat-card::after{

    content:"";

    position:absolute;

    width:130px;
    height:130px;

    right:-35px;
    top:-35px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

}

.stat-value{

    font-size:2rem;

    font-weight:800;

    margin:10px 0;

}

.stat-label{

    color:var(--text-muted);

}

.stat-icon{

    width:60px;
    height:60px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:rgba(255,255,255,.08);

    font-size:1.3rem;

}


/* =========================================================
   ALERTS
========================================================= */

.alert{

    padding:15px 18px;

    border-radius:14px;

    margin-bottom:18px;

    border-left:5px solid;

    display:flex;

    gap:12px;

    align-items:flex-start;

}

.alert-success{

    background:rgba(34,197,94,.10);

    border-color:var(--success);

}

.alert-danger{

    background:rgba(239,68,68,.10);

    border-color:var(--danger);

}

.alert-warning{

    background:rgba(245,158,11,.10);

    border-color:var(--warning);

}

.alert-info{

    background:rgba(6,182,212,.10);

    border-color:var(--info);

}

.alert i{

    font-size:1.1rem;

    margin-top:2px;

}


/* =========================================================
   DIVIDER
========================================================= */

.divider{

    height:1px;

    background:rgba(255,255,255,.08);

    margin:25px 0;

}

/* ====================== END OF PART 2 ===================== */
/* =========================================================
   Water Can Management System
   File: css/style.css
   Part: 3
   Tables • Badges • Dashboard • Modal • Toast • Loader
========================================================= */


/* =========================================================
   DASHBOARD LAYOUT
========================================================= */

.dashboard-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:24px;

}

.widget{

    position:relative;

    overflow:hidden;

}

.widget::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.05),
        transparent
    );

    pointer-events:none;

}

.widget-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.widget-title{

    font-size:1rem;

    font-weight:700;

    color:#fff;

}

.widget-subtitle{

    color:var(--text-muted);

    font-size:.85rem;

}

.widget-value{

    font-size:2.2rem;

    font-weight:800;

    margin-top:10px;

}

.widget-change{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:6px 10px;

    border-radius:50px;

    font-size:.78rem;

    font-weight:600;

}

.widget-change.up{

    color:var(--success);

    background:rgba(34,197,94,.12);

}

.widget-change.down{

    color:var(--danger);

    background:rgba(239,68,68,.12);

}


/* =========================================================
   TABLE
========================================================= */

.table-responsive{

    width:100%;

    overflow-x:auto;

    border-radius:20px;

}

.table{

    width:100%;

    border-collapse:collapse;

    min-width:760px;

}

.table thead{

    background:rgba(255,255,255,.08);

}

.table th{

    padding:16px;

    color:#fff;

    font-size:.88rem;

    text-align:left;

    font-weight:700;

    white-space:nowrap;

}

.table td{

    padding:16px;

    border-top:1px solid rgba(255,255,255,.08);

    color:var(--text-light);

    vertical-align:middle;

}

.table tbody tr{

    transition:var(--transition-fast);

}

.table tbody tr:hover{

    background:rgba(255,255,255,.05);

}

.table-striped tbody tr:nth-child(even){

    background:rgba(255,255,255,.03);

}

.table img{

    width:42px;
    height:42px;

    border-radius:50%;

    object-fit:cover;

}

.table-actions{

    display:flex;

    gap:10px;

    align-items:center;

}


/* =========================================================
   BADGES
========================================================= */

.badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:6px 12px;

    border-radius:50px;

    font-size:.75rem;

    font-weight:700;

    letter-spacing:.4px;

}

.badge-primary{

    background:rgba(59,130,246,.15);

    color:var(--primary);

}

.badge-success{

    background:rgba(34,197,94,.15);

    color:var(--success);

}

.badge-danger{

    background:rgba(239,68,68,.15);

    color:var(--danger);

}

.badge-warning{

    background:rgba(245,158,11,.15);

    color:var(--warning);

}

.badge-info{

    background:rgba(6,182,212,.15);

    color:var(--info);

}

.badge-secondary{

    background:rgba(148,163,184,.15);

    color:#cbd5e1;

}


/* =========================================================
   PAYMENT BADGES
========================================================= */

.payment-paid{

    background:rgba(34,197,94,.15);

    color:var(--success);

}

.payment-pending{

    background:rgba(251,191,36,.18);

    color:#facc15;

}

.payment-overdue{

    background:rgba(239,68,68,.15);

    color:var(--danger);

}

.payment-cancelled{

    background:rgba(148,163,184,.15);

    color:#cbd5e1;

}


/* =========================================================
   STATUS DOT
========================================================= */

.status-dot{

    width:10px;
    height:10px;

    border-radius:50%;

    display:inline-block;

    margin-right:8px;

}

.dot-success{

    background:var(--success);

}

.dot-danger{

    background:var(--danger);

}

.dot-warning{

    background:var(--warning);

}

.dot-info{

    background:var(--info);

}


/* =========================================================
   AVATAR
========================================================= */

.avatar{

    width:46px;
    height:46px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid rgba(255,255,255,.15);

}

.avatar-sm{

    width:34px;
    height:34px;

}

.avatar-lg{

    width:70px;
    height:70px;

}


/* =========================================================
   LIST GROUP
========================================================= */

.list-group{

    display:flex;

    flex-direction:column;

}

.list-item{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:15px 0;

    border-bottom:1px solid rgba(255,255,255,.06);

}

.list-item:last-child{

    border-bottom:none;

}


/* =========================================================
   CHART PLACEHOLDER
========================================================= */

.chart-placeholder{

    width:100%;

    height:320px;

    border-radius:20px;

    background:
        linear-gradient(
            rgba(255,255,255,.04),
            rgba(255,255,255,.02)
        );

    border:1px dashed rgba(255,255,255,.15);

    display:flex;

    align-items:center;

    justify-content:center;

    flex-direction:column;

    text-align:center;

}

.chart-placeholder i{

    font-size:3rem;

    color:var(--primary);

    margin-bottom:18px;

}

.chart-placeholder h4{

    margin-bottom:10px;

}

.chart-placeholder p{

    max-width:340px;

}


/* =========================================================
   MODAL
========================================================= */

.modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    opacity:0;

    visibility:hidden;

    transition:.25s;

    z-index:var(--z-modal);

}

.modal.active{

    opacity:1;

    visibility:visible;

}

.modal-content{

    width:100%;

    max-width:520px;

    background:rgba(17,28,45,.96);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.10);

    border-radius:22px;

    padding:30px;

    transform:translateY(30px);

    transition:.25s;

    box-shadow:var(--shadow-lg);

}

.modal.active .modal-content{

    transform:translateY(0);

}

.modal-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:22px;

}

.modal-title{

    font-size:1.2rem;

    font-weight:700;

}

.modal-close{

    background:none;

    border:none;

    color:#fff;

    cursor:pointer;

    font-size:1.2rem;

}

.modal-body{

    color:var(--text-light);

}

.modal-footer{

    display:flex;

    justify-content:flex-end;

    gap:12px;

    margin-top:28px;

}


/* =========================================================
   CONFIRMATION BOX
========================================================= */

.confirm-box{

    text-align:center;

}

.confirm-box i{

    width:80px;
    height:80px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0 auto 20px;

    border-radius:50%;

    background:rgba(239,68,68,.15);

    color:var(--danger);

    font-size:2rem;

}


/* =========================================================
   TOAST NOTIFICATION
========================================================= */

.toast-container{

    position:fixed;

    top:20px;

    right:20px;

    display:flex;

    flex-direction:column;

    gap:14px;

    z-index:var(--z-toast);

}

.toast{

    min-width:320px;

    max-width:420px;

    padding:16px 18px;

    border-radius:18px;

    background:rgba(17,28,45,.95);

    border-left:5px solid var(--primary);

    box-shadow:var(--shadow-lg);

    display:flex;

    gap:14px;

    align-items:flex-start;

    animation:toastIn .35s ease;

}

.toast i{

    font-size:1.2rem;

    margin-top:2px;

}

.toast-success{

    border-left-color:var(--success);

}

.toast-danger{

    border-left-color:var(--danger);

}

.toast-warning{

    border-left-color:var(--warning);

}

.toast-info{

    border-left-color:var(--info);

}

.toast-title{

    font-weight:700;

    margin-bottom:4px;

}

.toast-message{

    color:var(--text-light);

    font-size:.88rem;

}


/* =========================================================
   LOADER
========================================================= */

.loader{

    width:54px;
    height:54px;

    border-radius:50%;

    border:5px solid rgba(255,255,255,.15);

    border-top-color:var(--primary);

    animation:spin 1s linear infinite;

}

.loader-wrapper{

    position:fixed;

    inset:0;

    background:rgba(5,12,24,.75);

    backdrop-filter:blur(6px);

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:99999;

}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state{

    padding:60px 20px;

    text-align:center;

}

.empty-state i{

    font-size:4rem;

    color:var(--primary);

    margin-bottom:18px;

    opacity:.8;

}

.empty-state h3{

    margin-bottom:10px;

}

.empty-state p{

    max-width:400px;

    margin:auto;

}


/* =========================================================
   PAGINATION
========================================================= */

.pagination{

    display:flex;

    justify-content:flex-end;

    gap:10px;

    margin-top:28px;

    flex-wrap:wrap;

}

.page-item{

    width:42px;
    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:12px;

    cursor:pointer;

    background:rgba(255,255,255,.05);

    transition:var(--transition);

}

.page-item:hover{

    background:rgba(59,130,246,.20);

}

.page-item.active{

    background:var(--primary);

    color:#fff;

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

@keyframes toastIn{

    from{

        opacity:0;

        transform:translateX(60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

@keyframes slideUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ====================== END OF PART 3 ===================== */
/* =========================================================
   Water Can Management System
   File: css/style.css
   Part: 4
   Navbar • Sidebar • Breadcrumb • Responsive • Print
========================================================= */


/* =========================================================
   APP LAYOUT
========================================================= */

.app{

    display:flex;

    min-height:100vh;

}

.main-content{

    flex:1;

    display:flex;

    flex-direction:column;

    min-width:0;

}

.page-content{

    padding:24px;

    animation:fadeIn .35s ease;

}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar{

    width:var(--sidebar-width);

    min-width:var(--sidebar-width);

    background:rgba(9,18,32,.96);

    backdrop-filter:blur(20px);

    border-right:1px solid rgba(255,255,255,.08);

    position:sticky;

    top:0;

    height:100vh;

    overflow-y:auto;

    transition:.35s ease;

    z-index:var(--z-sidebar);

}

.sidebar::-webkit-scrollbar{

    width:6px;

}

.sidebar-header{

    height:80px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-bottom:1px solid rgba(255,255,255,.08);

    padding:20px;

}

.sidebar-logo{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:1.2rem;

    font-weight:800;

    color:#fff;

}

.sidebar-logo i{

    color:var(--primary);

    font-size:1.6rem;

}

.sidebar-menu{

    padding:20px 15px;

}

.sidebar-title{

    font-size:.72rem;

    color:var(--text-muted);

    text-transform:uppercase;

    letter-spacing:1px;

    margin:20px 12px 10px;

}

.sidebar-menu ul{

    display:flex;

    flex-direction:column;

    gap:6px;

}

.sidebar-menu li{

    width:100%;

}

.sidebar-menu a{

    display:flex;

    align-items:center;

    gap:14px;

    padding:14px 16px;

    border-radius:14px;

    color:var(--text-light);

    transition:var(--transition);

    font-weight:500;

}

.sidebar-menu a i{

    width:22px;

    text-align:center;

    font-size:1rem;

}

.sidebar-menu a:hover{

    background:rgba(59,130,246,.12);

    color:#fff;

    transform:translateX(4px);

}

.sidebar-menu a.active{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:#fff;

    box-shadow:0 10px 25px rgba(37,99,235,.35);

}

.sidebar-footer{

    margin-top:auto;

    padding:20px;

    border-top:1px solid rgba(255,255,255,.08);

}


/* =========================================================
   TOP NAVBAR
========================================================= */

.navbar{

    height:var(--header-height);

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 24px;

    background:rgba(11,24,40,.88);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

    position:sticky;

    top:0;

    z-index:var(--z-navbar);

}

.navbar-left,

.navbar-right{

    display:flex;

    align-items:center;

    gap:16px;

}

.navbar-title{

    font-size:1.3rem;

    font-weight:700;

}

.navbar-subtitle{

    color:var(--text-muted);

    font-size:.82rem;

}

.menu-toggle{

    width:42px;

    height:42px;

    border:none;

    border-radius:12px;

    background:rgba(255,255,255,.06);

    color:#fff;

    cursor:pointer;

    transition:var(--transition);

}

.menu-toggle:hover{

    background:var(--primary);

}

.nav-icon{

    position:relative;

    width:44px;

    height:44px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    cursor:pointer;

    transition:var(--transition);

}

.nav-icon:hover{

    background:rgba(59,130,246,.18);

}

.notification-count{

    position:absolute;

    top:5px;

    right:4px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:var(--danger);

    color:#fff;

    font-size:.65rem;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

}

.profile-box{

    display:flex;

    align-items:center;

    gap:12px;

    cursor:pointer;

}

.profile-info h4{

    font-size:.9rem;

}

.profile-info span{

    color:var(--text-muted);

    font-size:.75rem;

}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    margin-bottom:28px;

    flex-wrap:wrap;

}

.page-title{

    font-size:1.8rem;

    font-weight:800;

}

.page-description{

    margin-top:6px;

    color:var(--text-muted);

}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb{

    display:flex;

    align-items:center;

    gap:10px;

    flex-wrap:wrap;

    margin-bottom:20px;

}

.breadcrumb a{

    color:var(--text-muted);

}

.breadcrumb a:hover{

    color:var(--primary);

}

.breadcrumb span{

    color:#fff;

}


/* =========================================================
   DROPDOWN MENU
========================================================= */

.dropdown{

    position:relative;

}

.dropdown-menu{

    position:absolute;

    top:110%;

    right:0;

    width:220px;

    background:rgba(14,24,41,.98);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:10px;

    opacity:0;

    visibility:hidden;

    transform:translateY(10px);

    transition:.25s;

    box-shadow:var(--shadow-lg);

}

.dropdown.active .dropdown-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.dropdown-menu a{

    display:flex;

    align-items:center;

    gap:12px;

    padding:12px;

    border-radius:12px;

}

.dropdown-menu a:hover{

    background:rgba(59,130,246,.12);

}


/* =========================================================
   PROGRESS BAR
========================================================= */

.progress{

    width:100%;

    height:10px;

    border-radius:999px;

    overflow:hidden;

    background:rgba(255,255,255,.08);

}

.progress-bar{

    height:100%;

    width:0;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

}


/* =========================================================
   TIMELINE
========================================================= */

.timeline{

    position:relative;

    margin-left:12px;

    padding-left:30px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:8px;

    top:0;

    bottom:0;

    width:2px;

    background:rgba(255,255,255,.10);

}

.timeline-item{

    position:relative;

    padding-bottom:28px;

}

.timeline-item::before{

    content:"";

    position:absolute;

    left:-26px;

    top:6px;

    width:14px;

    height:14px;

    border-radius:50%;

    background:var(--primary);

    border:3px solid rgba(8,18,31,1);

}

.timeline-date{

    color:var(--text-muted);

    font-size:.75rem;

    margin-bottom:6px;

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width:992px){

    .grid-4{

        grid-template-columns:repeat(2,1fr);

    }

    .grid-3{

        grid-template-columns:repeat(2,1fr);

    }

    .sidebar{

        position:fixed;

        left:-100%;

    }

    .sidebar.active{

        left:0;

    }

    .page-content{

        padding:20px;

    }

    .navbar{

        padding:0 18px;

    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width:768px){

    h1{font-size:1.8rem;}
    h2{font-size:1.5rem;}
    h3{font-size:1.3rem;}

    .container{

        width:94%;

    }

    .grid-2,
    .grid-3,
    .grid-4{

        grid-template-columns:1fr;

    }

    .dashboard-grid{

        grid-template-columns:1fr;

    }

    .filter-bar{

        flex-direction:column;

        align-items:stretch;

    }

    .filter-bar .form-control{

        max-width:100%;

    }

    .page-header{

        flex-direction:column;

        align-items:flex-start;

    }

    .navbar-title{

        font-size:1.05rem;

    }

    .profile-info{

        display:none;

    }

    .table{

        min-width:650px;

    }

    .modal-content{

        padding:22px;

    }

    .toast{

        min-width:100%;

    }

    .toast-container{

        left:15px;

        right:15px;

        top:15px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:480px){

    .btn{

        width:100%;

    }

    .btn-icon{

        width:44px;

    }

    .navbar{

        padding:0 12px;

    }

    .page-content{

        padding:15px;

    }

    .card{

        padding:18px;

    }

    .widget-value{

        font-size:1.7rem;

    }

    .pagination{

        justify-content:center;

    }

}


/* =========================================================
   PRINT SUPPORT
========================================================= */

@media print{

    body{

        background:#fff !important;

        color:#000 !important;

    }

    .sidebar,
    .navbar,
    .btn,
    .toast-container,
    .loader-wrapper,
    .modal{

        display:none !important;

    }

    .card,
    .glass{

        background:#fff !important;

        border:1px solid #ccc !important;

        box-shadow:none !important;

        color:#000 !important;

    }

    .table{

        color:#000 !important;

    }

    .page-content{

        padding:0;

    }

}


/* =========================================================
   END OF style.css
========================================================= */


