/* ==========================================================
   INSURANCE DASHBOARD v4 - MODERN DESIGN SYSTEM (UPGRADED)

========================================================== */


/* ==========================================================
   ROOT VARIABLES (THEME CONFIGURATION)
========================================================== */

:root{

    /* Primary Brand Colors */
    --primary:#2563eb;
    --primary-light:#dbeafe;

    /* Status Colors */
    --success:#16a34a;
    --warning:#f59e0b;
    --danger:#ef4444;
    --purple:#7c3aed;

    /* Typography Colors */
    --text:#0f172a;
    --text-light:#64748b;

    /* UI Elements */
    --border:#e5e7eb;
    --shadow:0 10px 30px rgba(15,23,42,.08);
    --shadow-hover:0 18px 40px rgba(37,99,235,.12);

    /* Shape System */
    --radius:18px;

    /* Layout spacing */
    --space:20px;
}


/* ==========================================================
   GLOBAL RESET + BASE STYLES
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    margin:0;
    padding:0;
    background:#f5f8fc;
    font-family:'Poppins',sans-serif;
}


/* ==========================================================
   HERO SECTION (MAIN BANNER)
========================================================== */
.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:70px 8%;
    background:linear-gradient(135deg,#ffffff,#f7fbfd);
    border-radius:28px;
    margin-bottom:35px;
    position:relative;
    overflow:hidden;
}

.hero::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(0,167,157,.08);
    border-radius:50%;
    right:-120px;
    top:-120px;
}

.hero-left{
    flex:1;
    position:relative;
    z-index:2;
}

.hero-company{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#eaf8f7;
    color:#00A79D;
    padding:10px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    letter-spacing:.5px;
    margin-bottom:22px;
}

.hero-company i{
    font-size:15px;
}

.hero h1{
    font-size:48px;
    font-weight:800;
    line-height:1.15;
    color:#18414A;
    margin-bottom:18px;
}

.hero h1 span{
    color:#F17B22;
}

.hero-desc{
    font-size:16px;
    line-height:1.8;
    color:#5f6b76;
    max-width:650px;
    margin-bottom:28px;
}

.hero-box{
    display:flex;
    align-items:flex-start;
    gap:18px;
    background:#fff;
    padding:22px;
    border-radius:18px;
    border-left:5px solid #00A79D;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    max-width:520px;
}

.office-icon{
    width:52px;
    height:52px;
    background:#00A79D;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}

.office-label{
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#00A79D;
    margin-bottom:6px;
}

.office-address{
    color:#4f5964;
    line-height:1.7;
    font-size:15px;
}

.hero-right{
    width:360px;
    position:relative;
    z-index:2;
}

.hero-card{
    background:#fff;
    border-radius:24px;
    padding:35px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
    border:1px solid #edf1f5;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:#F17B22;
    color:#fff;
    padding:8px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    margin-bottom:18px;
}

.hero-card h3{
    font-size:26px;
    color:#18414A;
    margin-bottom:18px;
    font-weight:700;
}

.line{
    width:70px;
    height:4px;
    background:linear-gradient(90deg,#00A79D,#F17B22);
    border-radius:20px;
    margin-bottom:22px;
}

.modules{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.modules span{
    background:#f4f8fb;
    color:#265C69;
    padding:10px 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.modules span:hover{
    background:#00A79D;
    color:#fff;
}

@media(max-width:992px){

.hero{
    flex-direction:column;
    text-align:center;
}

.hero-desc{
    margin:auto auto 25px;
}

.hero-box{
    margin:auto;
}

.hero-right{
    width:100%;
    max-width:420px;
}

.modules{
    justify-content:center;
}

.hero h1{
    font-size:38px;
}

}

/* ==========================================================
   NAVIGATION MENU
========================================================== */

.menu{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:28px;
}

/* Navigation Button */
.menu button{
    border:none;
    background:#fff;
    padding:12px 18px;
    border-radius:14px;
    cursor:pointer;

    display:flex;
    align-items:center;
    gap:8px;

    font-size:14px;
    font-weight:600;

    box-shadow:var(--shadow);
    transition:all .25s ease;
}

/* Hover effect */
.menu button:hover{
    transform:translateY(-3px);
}

/* Active tab */
.menu button.active{
    background:var(--primary);
    color:#fff;
}


/* ==========================================================
   SECTION HEADER (TITLE BAR)
========================================================== */

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.section-header h2{
    font-size:24px;
    font-weight:700;
}

.section-header span{
    color:var(--text-light);
    font-size:14px;
}


/* ==========================================================
   GRID SYSTEM (RESPONSIVE LAYOUT ENGINE)
========================================================== */

.grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

/* Large screens */
@media(max-width:1400px){
    .grid{ grid-template-columns:repeat(4,1fr); }
}

/* Medium desktops */
@media(max-width:1100px){
    .grid{ grid-template-columns:repeat(3,1fr); }
}

/* Tablets */
@media(max-width:768px){
    .grid{ grid-template-columns:repeat(2,1fr); }
}

/* Mobile */
@media(max-width:480px){
    .grid{ grid-template-columns:1fr; }
}


/* ==========================================================
   CARD COMPONENT (CORE UI BLOCK)
========================================================== */

.card{
    background:#fff;
    border-radius:var(--radius);
    padding:22px;
    text-align:center;

    border:1px solid #eef2f7;
    box-shadow:0 8px 25px rgba(15,23,42,.06);

    position:relative;
    overflow:hidden;

    transition:all .25s ease;
}

/* Hover elevation */
.card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow-hover);
}

/* Soft decorative glow */
.card::before{
    content:"";
    position:absolute;
    top:-40px;
    right:-40px;
    width:120px;
    height:120px;
    background:radial-gradient(circle, rgba(37,99,235,.15), transparent 70%);
}


/* ==========================================================
   ICON BOX SYSTEM
========================================================== */

.card-icon{
    width:56px;
    height:56px;
    border-radius:16px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
    color:#fff;

    margin:0 auto 14px;
}

/* Color variants */
.blue{ background:var(--primary); }
.green{ background:var(--success); }
.orange{ background:var(--warning); }
.red{ background:var(--danger); }
.purple{ background:var(--purple); }


/* ==========================================================
   TEXT STYLES (LABEL + VALUE SYSTEM)
========================================================== */

.label{
    font-size:13px;
    color:var(--text-light);
    margin-bottom:8px;
    font-weight:500;
}

.value {
    font-size: 2.2rem;
}


/* ==========================================================
   TAB SYSTEM (PAGE SWITCHING)
========================================================== */

.tab{
    display:none;
    animation:fade .25s ease;
}

.active-tab{
    display:block;
}

/* Smooth transition */
@keyframes fade{
    from{
        opacity:0;
        transform:translateY(8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* ==========================================================
   TREND / BADGE SYSTEM
========================================================== */

.trend-badge{
    background:#dcfce7;
    color:#16a34a;
    padding:8px 18px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
}


/* ==========================================================
   CHART CARD (TREND SECTION)
========================================================== */
/* ==========================================================
   TREND CHART CARD
========================================================== */

.trend-card{

    margin-top:30px;

    padding:24px;

    width:100%;

    max-width:none;

    background:#ffffff;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    border:1px solid #eef2f7;

    position:relative;

}


.trend-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}


.trend-header h3{

    font-size:22px;

    font-weight:800;

    color:#0f172a;

}


#growthChart{

    width:100% !important;

    height:320px !important;

}


/* Mobile */

@media(max-width:768px){

    .trend-card{

        padding:18px;

    }


    .trend-header{

        flex-direction:column;

        align-items:flex-start;

        gap:10px;

    }


    #growthChart{

        height:260px !important;

    }

}

/* ==========================================================
   RESPONSIVE DESIGN (MOBILE OPTIMIZATION)
========================================================== */

@media(max-width:900px){

    body{
        padding:18px;
    }

    .hero{
        padding:35px 20px;
    }

    .hero h1{
        font-size:28px;
    }

    .menu{
        flex-direction:column;
    }

    .section-header{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .trend-header{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    #growthChart{
        height:260px !important;
    }


    
}


/*this is for rejected remarks  */
.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-content{
    width:90%;
    max-width:500px;
    background:white;
    padding:30px;
    border-radius:24px;
    text-align:center;
    position:relative;
    animation:popup .25s ease;
}

.modal-content h2{
    color:#ef4444;
    margin-bottom:20px;
}

.modal-content p{
    font-size:16px;
    color:#475569;
    line-height:1.7;
}

.close{
    position:absolute;
    right:20px;
    top:15px;
    font-size:28px;
    cursor:pointer;
}

@keyframes popup{
    from{
        transform:scale(.8);
        opacity:0;
    }
    to{
        transform:scale(1);
        opacity:1;
    }
}



/*Ageing analysis of outstanding claims  */
.ageing-list{
    margin-top:20px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.age-row{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    align-items:center;

    padding:14px 18px;

    background:#f8fafc;

    border-radius:14px;

    border-left:5px solid #F17B22;

    transition:.25s;
}

.age-row:hover{
    background:#fff8f1;
    transform:translateX(4px);
}

.age-row span:first-child{
    color:#265C69;
    font-weight:600;
}

.age-row span:nth-child(2){
    text-align:center;
    color:#64748b;
}

.age-row strong{
    text-align:right;
    color:#00A79D;
    font-size:15px;
}

/* ==========================================================
   Outstanding Claims Ageing Card
========================================================== */

.ageing-card{

    grid-column: span 2;

    width:100%;

    max-width:none;

    padding:28px;

}

@media(max-width:1100px){

    .ageing-card{
        grid-column:span 3;
    }

}

@media(max-width:768px){

    .ageing-card{
        grid-column:span 2;
    }

}

@media(max-width:480px){

    .ageing-card{
        grid-column:span 1;
    }

}

.reason-text{
    font-size:16px;
    font-weight:700;
    color:#265C69;
    line-height:1.4;
    word-break:break-word;
}


/* =====================================================
PRODUCT SUMMARY CARDS
===================================================== */


.product-container{

    margin-top:30px;

    background:#ffffff;

    padding:25px;

    border-radius:20px;

    box-shadow:var(--shadow);

}



.product-title{

    font-size:22px;

    font-weight:800;

    color:#265C69;

    margin-bottom:25px;

}



.product-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}



.product-card{

    background:#f8fafc;

    border-radius:18px;

    padding:22px;

    border-left:6px solid #00A79D;

    transition:.3s;

}



.product-card:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(0,0,0,.08);

}



.product-name{

    font-size:18px;

    font-weight:800;

    color:#0f172a;

    margin-bottom:8px;

}



.product-code{

    display:inline-block;

    background:#dbeafe;

    color:#2563eb;

    padding:5px 12px;

    border-radius:20px;

    font-size:12px;

    font-weight:700;

    margin-bottom:15px;

}



.product-detail{

    display:flex;

    justify-content:space-between;

    padding:8px 0;

    border-bottom:1px dashed #e5e7eb;

}



.product-detail span{

    color:#64748b;

    font-size:14px;

}



.product-detail strong{

    color:#265C69;

    font-size:14px;

    text-align:right;

}



@media(max-width:768px){

    .product-grid{

        grid-template-columns:1fr;

    }

}


/* ===============================
   CLICKABLE DASHBOARD CARD
================================ */

.card-link{
    display:block;
    text-decoration:none;
    color:inherit;
    position:relative;
    z-index:5;
}


/* Prevent card overlay blocking click */
.card::before{
    pointer-events:none;
}


.branch-card{
    cursor:pointer;
    transition:all .3s ease;
}


/* Hover Effect */
.branch-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(37,99,235,.18);
}


/* Small description */
.sub-text{

    margin-top:10px;

    font-size:13px;

    color:#64748b;

}


/* View Details Button Style */
.view-more{

    margin-top:18px;

    padding-top:14px;

    border-top:1px dashed #e5e7eb;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:8px;

    color:#2563eb;

    font-size:13px;

    font-weight:700;

    transition:.3s;

}


.branch-card:hover .view-more{

    color:#00A79D;

}


.view-more i{

    transition:.3s;

}


.branch-card:hover .view-more i{

    transform:translateX(5px);

}


/* ==========================================
   Modern Liberty Dashboard Footer
========================================== */

.dashboard-footer{

    margin-top:40px;

    padding:22px 35px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:25px;


    background:

    linear-gradient(
        135deg,
        #ffffff,
        #FFF7ED
    );


    border:1px solid rgba(241,123,34,.15);

    border-radius:20px;


    box-shadow:

    0 10px 30px rgba(38,92,105,.12);


    color:#64748b;

    font-family:'Poppins',sans-serif;

    font-size:14px;

    position:relative;

    overflow:hidden;

}


/* Small orange top line */

.dashboard-footer::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:4px;


    background:

    linear-gradient(
        90deg,
        #00A79D,
        #F17B22,
        #F3CE42
    );

}



/* Left */

.footer-left{

    display:flex;

    align-items:center;

    gap:12px;

    font-weight:600;

    color:#265C69;

}



.footer-left i{

    font-size:20px;

    color:#00A79D;

}



/* Right */

.footer-right{

    display:flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    background:#ffffff;

    border-radius:30px;

    color:#265C69;

    font-weight:600;

    box-shadow:

    0 5px 15px rgba(38,92,105,.08);

}



.footer-right i{

    color:#F17B22;

}



/* Hover effect */

.dashboard-footer:hover{

    box-shadow:

    0 15px 40px rgba(38,92,105,.18);

    transform:translateY(-2px);

    transition:.3s ease;

}



/* Mobile */

@media(max-width:700px){

    .dashboard-footer{

        flex-direction:column;

        text-align:center;

    }

}







@media(max-width:768px){

    .dashboard-footer{

        flex-direction:column;

        gap:10px;

        text-align:center;

    }

    

}


/* ==========================================
   Individual Product Link 
========================================== */

/* ==========================================
   Product Link
========================================== */
.product-link{

    margin-top:18px;

    display:flex;

    justify-content:center;

}

.product-link a{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:8px 16px;

    background:linear-gradient(135deg,#00A79D,#265C69);

    color:#fff;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    text-decoration:none;

    box-shadow:0 6px 16px rgba(38,92,105,.18);

    transition:all .3s ease;

}

.product-link a i{

    font-size:11px;

    transition:.3s;

}

.product-link a:hover{

    background:linear-gradient(135deg,#F17B22,#265C69);

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(38,92,105,.25);

}

.product-link a:hover i{

    transform:translateX(3px);

}
/* ==========================================
   End of Individual Product Link 
========================================== */


/* ==========================================
   WATERMARK FOR ENTIRE PAGE
========================================== */

/* ==========================================
   Professional Page Watermark
========================================== */

/* ==========================================
   Professional Watermark
========================================== */

/* ==========================
   Center Watermark
========================== */
/* ==========================================
   Color Watermark
========================================== */

body{
    position:relative;
    background:#f8fbff;
}

body::before{

    content:"";

    position:fixed;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    width:650px;
    height:650px;

    background:url("LIBERTY-ICON.png") no-repeat center center;

    background-size:contain;

    opacity:0.18;

    pointer-events:none;

    z-index:0;

}

.hero,
.menu,
.tab,
.card,
.section-header,
footer{

    position:relative;

    z-index:1;

}

/* ==========================================
   Branch Link
========================================== */



.branch-link{

    display:inline-flex;

    align-items:center;

    gap:6px;

    margin-top:18px;

    padding:8px 16px;

    background:linear-gradient(135deg,#00A79D,#265C69);

    color:#fff;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    box-shadow:0 6px 16px rgba(38,92,105,.18);

    transition:all .3s ease;

}

.branch-card:hover .branch-link{

    background:linear-gradient(135deg,#F17B22,#265C69);

    transform:translateY(-2px);

    box-shadow:0 10px 22px rgba(38,92,105,.25);

}

.branch-link i{

    font-size:11px;

    transition:.3s;

}

.branch-card:hover .branch-link i{

    transform:translateX(4px);

}

/* ==========================================
   PREMIUM MODERN HERO - TRANSPARENCY DASHBOARD TITLE
========================================== */
/* ==========================================
   PREMIUM INSURANCE HERO
========================================== */

.hero{

    position:relative;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:70px;

    padding:55px 65px;

    overflow:hidden;

    border-radius:24px;

    background:
        linear-gradient(135deg,#00A79D 0%,#18848A 45%,#265C69 100%);

    color:#fff;

    box-shadow:
        0 20px 50px rgba(38,92,105,.18);

}


/* Background Decoration */

.hero::before{

    content:"";

    position:absolute;

    width:550px;
    height:550px;

    right:-220px;
    top:-220px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

}

.hero::after{

    content:"";

    position:absolute;

    width:320px;
    height:320px;

    left:-140px;
    bottom:-140px;

    border-radius:50%;

    background:rgba(255,255,255,.04);

}


/* Left */

.hero-left{

    flex:1;

    position:relative;

    z-index:2;

}


/* Company Badge */

.hero-badge{

    display:inline-flex;

    align-items:center;

    padding:9px 18px;

    margin-bottom:22px;

    border-radius:40px;

    background:rgba(255,255,255,.15);

    border:1px solid rgba(255,255,255,.18);

    color:#F3CE42;

    font-family:'Poppins',sans-serif;

    font-size:12px;

    font-weight:700;

    letter-spacing:1.3px;

    text-transform:uppercase;

}


/* Main Heading */

.hero-left h1{

    margin:0;

    font-family:'Poppins',sans-serif;

    font-size:56px;

    font-weight:800;

    line-height:1.05;

    letter-spacing:-1px;

}


/* Subtitle */

.hero-left h2{

    margin:10px 0 18px;

    font-family:'Poppins',sans-serif;

    font-size:26px;

    font-weight:500;

    color:#F3CE42;

}


/* Description */

.hero-desc{

    max-width:650px;

    margin-bottom:35px;

    font-size:17px;

    line-height:1.8;

    color:rgba(255,255,255,.92);

}


/* Information Card */

.hero-box{

    display:flex;

    flex-direction:column;

    gap:8px;

    max-width:540px;

    padding:22px 26px;

    border-radius:20px;

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.18);

    transition:.35s ease;

}

.hero-box:hover{

    transform:translateY(-5px);

    background:rgba(255,255,255,.16);

}

.hero-box strong:first-child{

    font-size:13px;

    font-weight:700;

    color:#F3CE42;

    text-transform:uppercase;

    letter-spacing:1px;

}

.hero-box strong:last-child{

    font-size:18px;

    line-height:1.8;

    font-weight:600;

    color:#fff;

}


/* Right Side */

.hero-right{

    width:340px;

    position:relative;

    z-index:2;

}


/* Glass Card */

.hero-card{

    padding:30px;

    border-radius:22px;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.18);

    box-shadow:

        0 12px 30px rgba(0,0,0,.08);

}


.hero-card h3{

    font-family:'Poppins',sans-serif;

    font-size:24px;

    font-weight:700;

    margin-bottom:18px;

}


.line{

    width:70px;

    height:4px;

    border-radius:20px;

    background:#F3CE42;

    margin-bottom:22px;

}


.stat{

    padding:16px 0;

    border-top:1px solid rgba(255,255,255,.12);

}

.stat:first-child{

    border-top:none;

}

.stat span{

    display:block;

    font-size:13px;

    color:rgba(255,255,255,.72);

    margin-bottom:5px;

}

.stat strong{

    font-size:22px;

    font-weight:700;

}


/* Animation */

.hero{

    animation:heroFade .8s ease;

}

@keyframes heroFade{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* Responsive */

@media(max-width:992px){

.hero{

    flex-direction:column;

    text-align:center;

    gap:40px;

    padding:40px 30px;

}

.hero-left h1{

    font-size:40px;

}

.hero-left h2{

    font-size:22px;

}

.hero-desc{

    margin:auto;

    margin-bottom:30px;

}

.hero-box{

    margin:auto;

}

.hero-right{

    width:100%;

    max-width:420px;

}

}

@media(max-width:576px){

.hero{

    padding:30px 20px;

}

.hero-left h1{

    font-size:32px;

}

.hero-left h2{

    font-size:18px;

}

.hero-desc{

    font-size:15px;

}

.hero-box{

    padding:18px;

}

.hero-box strong:last-child{

    font-size:16px;

}

}





/* ==========================================
   Liberty Premium Dashboard Menu
========================================== */

/* Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');


.menu{

    display:flex;

    align-items:center;

    gap:18px;

    padding:20px 28px;

    background:
    linear-gradient(
        135deg,
        #ffffff,
        #ffffff
    );

    border-radius:26px;

    border:1px solid rgba(241,123,34,.15);

    box-shadow:
    0 15px 40px rgba(38,92,105,.12);

    margin-bottom:32px;

    overflow-x:auto;

    font-family:'Poppins',sans-serif;

    backdrop-filter:blur(10px);

}



/* Scroll Smooth */

.menu::-webkit-scrollbar{

    height:6px;

}

.menu::-webkit-scrollbar-thumb{

    background:#F17B22;

    border-radius:20px;

}



/* ==========================================
   Menu Button
========================================== */


.menu button{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;


    min-width:165px;

    height:64px;


    padding:0 30px;


    border:none;

    border-radius:20px;


    background:#ffffff;


    color:#265C69;


    font-family:'Poppins',sans-serif;

    font-size:16px;

    font-weight:600;


    cursor:pointer;


    overflow:hidden;


    transition:
    all .35s cubic-bezier(.4,0,.2,1);


    box-shadow:

    0 8px 20px rgba(38,92,105,.08);

}



/* Animated shine */

.menu button::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;


    background:
    linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.7),
        transparent
    );


    transition:.6s;

}



.menu button:hover::before{

    left:100%;

}




/* Icon */

.menu button i{

    font-size:22px;

    color:#00A79D;

    transition:.35s;

}



/* Hover */

.menu button:hover{


    transform:

    translateY(-5px);


    color:#265C69;


    background:#F3CE42;


    box-shadow:

    0 15px 30px rgba(243,206,66,.35);

}



.menu button:hover i{


    transform:

    scale(1.25)

    rotate(8deg);


    color:#265C69;

}



/* ==========================================
   Active Menu
========================================== */


.menu button.active{


    background:

    linear-gradient(
        135deg,
        #F17B22,
        #F3CE42
    );


    color:white;


    transform:

    translateY(-3px);


    box-shadow:

    0 18px 35px rgba(241,123,34,.35);


}



.menu button.active i{

    color:white;

    transform:scale(1.15);

}



/* Active glow animation */

.menu button.active::after{


    content:"";


    position:absolute;


    inset:0;


    border-radius:20px;


    box-shadow:

    0 0 25px rgba(241,123,34,.45);


    animation:pulseGlow 2s infinite;

}



@keyframes pulseGlow{


    0%{

        opacity:.4;

    }


    50%{

        opacity:.9;

    }


    100%{

        opacity:.4;

    }

}


/* Mobile */

@media(max-width:900px){


.menu button{

    min-width:140px;

    height:55px;

    font-size:14px;

}



}



/* ==========================================
   Section Header
========================================== */

.section-header{

    display:flex;

    justify-content:center;

    align-items:center;

    margin:10px 0 28px;

}

.section-header h2{

    position:relative;

    display:inline-block;

    margin:0;

    padding-bottom:12px;

    font-family:'Poppins',sans-serif;

    font-size:30px;

    font-weight:700;

    letter-spacing:.3px;

    color:#265C69;

    text-align:center;

    text-transform:capitalize;

}


/* Main Underline */

.section-header h2::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    transform:translateX(-50%);

    width:90px;

    height:4px;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        #00A79D,
        #F17B22,
        #F3CE42
    );

}


/* Small Accent Dot */

.section-header h2::before{

    content:"";

    position:absolute;

    left:50%;

    bottom:-6px;

    transform:translateX(-50%);

    width:12px;

    height:12px;

    border-radius:50%;

    background:#F17B22;

    box-shadow:0 0 12px rgba(241,123,34,.35);

}




/* ==========================================
   MONTHLY PREMIUM GROWTH CHART
   MODERN DASHBOARD STYLE
========================================== */

/* ==========================================
   PREMIUM SUMMARY + CHART SECTION
========================================== */


/* Total Premium KPI */

/* ==========================================
   PREMIUM TOTAL BOX
========================================== */

.premium-total-box{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    min-width:180px;

    padding:16px 25px;

    border-radius:18px;

    background:
    linear-gradient(
        135deg,
        #00A79D,
        #265C69
    );

    color:#fff;

    box-shadow:
    0 10px 25px rgba(38,92,105,.18);

}


.premium-total-box span{

    font-family:'Poppins',sans-serif;

    font-size:11px;

    font-weight:600;

    opacity:.85;

    text-transform:uppercase;

    letter-spacing:.8px;

}


.premium-total-box strong{

    margin-top:5px;

    font-family:'Poppins',sans-serif;

    font-size:24px;

    font-weight:800;

}



/* ==========================================
   COMPACT CHART CARD
========================================== */


.premium-chart-card{

    margin-top:20px;

    width:100%;

    background:#ffffff;

    border-radius:18px;

    padding:18px 22px;

    border:1px solid #edf2f5;

    box-shadow:
    0 8px 25px rgba(38,92,105,.08);

    position:relative;

    overflow:hidden;

}



/* TOP ACCENT */

.premium-chart-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:4px;

    background:
    linear-gradient(
        90deg,
        #00A79D,
        #F3CE42
    );

}



/* ==========================================
   HEADER
========================================== */


.chart-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:10px;

}


.chart-header h2,
.chart-header h3{

    margin:0;

    color:#265C69;

    font-family:'Poppins',sans-serif;

    font-size:17px;

    font-weight:700;

}



.chart-header span{

    background:#e9faf8;

    color:#00A79D;

    padding:5px 12px;

    border-radius:20px;

    font-size:11px;

    font-weight:600;

    font-family:'Poppins',sans-serif;

}



/* ==========================================
   COMPACT LINE CHART AREA
========================================== */


.chart-wrapper{

    position:relative;

    width:100%;

    height:210px;

}



#premiumGrowthChart{

    width:100% !important;

    height:100% !important;

}



/* ==========================================
   FOOTER
========================================== */


.chart-footer{

    margin-top:8px;

    padding-top:8px;

    border-top:1px solid #edf2f5;

    color:#64748b;

    font-size:11px;

    font-family:'Poppins',sans-serif;

}



/* ==========================================
   MOBILE
========================================== */


@media(max-width:900px){


    .premium-chart-card{

        padding:16px;

    }


    .chart-header{

        flex-direction:column;

        align-items:flex-start;

        gap:8px;

    }


    .chart-wrapper{

        height:190px;

    }


}



@media(max-width:480px){


    .premium-chart-card{

        border-radius:14px;

        padding:14px;

    }


    .chart-header h2,
    .chart-header h3{

        font-size:15px;

    }


    .chart-wrapper{

        height:170px;

    }


    .premium-total-box strong{

        font-size:21px;

    }

}



.fiscal-year-badge{

    position:absolute;
    top:20px;
    left:50%;
    transform:translateX(-50%);

    background:linear-gradient(
        135deg,
        #00A79D,
        #265C69
    );

    color:white;

    padding:8px 28px;

    border-radius:30px;

    font-size:16px;

    font-weight:700;

    letter-spacing:1px;

    box-shadow:0 8px 20px rgba(0,0,0,0.15);

    z-index:1000;

}

.fy-selector{

    display:flex;
    align-items:center;
    gap:12px;

    background:white;

    padding:10px 18px;

    border-radius:15px;

    box-shadow:0 8px 25px rgba(0,0,0,0.08);

    width:max-content;

    margin:20px auto;

}


.fy-selector label{

    font-size:14px;

    font-weight:600;

    color:#265C69;

}


.fy-selector select{

    border:1px solid #ddd;

    padding:8px 20px;

    border-radius:10px;

    font-size:15px;

    font-weight:600;

    color:#265C69;

    cursor:pointer;

    outline:none;

}


.fy-selector select:focus{

    border-color:#00A79D;

}


/* ==================================
   FISCAL YEAR TREND CARD
================================== */


.trend-card
{
    background:white;

    border-radius:18px;

    padding:25px;

    box-shadow:
    0 8px 25px rgba(0,0,0,0.08);

    width:100%;

}



.trend-header
{
    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}



.trend-header h3
{
    margin:0;

    font-family:'Poppins',sans-serif;

    font-size:20px;

    font-weight:600;

    color:#265C69;

}



.trend-badge
{
    background:#E8F7F5;

    color:#00A79D;

    padding:8px 15px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;

}



.trend-badge i
{
    margin-right:6px;
}



.chart-container
{
    position:relative;

    height:380px;

    width:100%;

}



canvas
{
    max-height:380px;
}








/*====================================
    Fiscal Year Growth Card
====================================*/

.growth-card{

    background:#ffffff;

    border-radius:24px;

    padding:30px;

    margin-top:35px;

    border:1px solid #edf2f7;

    box-shadow:
        0 15px 40px rgba(38,92,105,.08);

}

.growth-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:28px;

}

.growth-header h2{

    margin:0;

    font-family:Poppins;

    font-size:24px;

    color:#265C69;

    font-weight:700;

}

.growth-header p{

    margin-top:6px;

    color:#64748b;

    font-size:14px;

}

.growth-summary{

    display:flex;

    gap:18px;

}

.summary-box{

    background:#f8fbfd;

    border:1px solid #e7edf3;

    padding:16px 22px;

    border-radius:18px;

    min-width:170px;

}

.summary-box span{

    display:block;

    color:#64748b;

    font-size:12px;

    margin-bottom:6px;

}

.summary-box strong{

    font-size:24px;

    color:#265C69;

    font-family:Poppins;

}

.growth-chart{

    height:420px;

}

@media(max-width:900px){

.growth-header{

    flex-direction:column;

    align-items:flex-start;

    gap:18px;

}

.growth-summary{

    width:100%;

}

.summary-box{

    flex:1;

}

.growth-chart{

    height:340px;

}

}











/*=========================================
    PRODUCT SUMMARY CARDS (PREMIUM)
=========================================*/

.grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
    margin-top:28px;
}

.stat-card{

    position:relative;
    overflow:hidden;

    background:rgba(255,255,255,.96);
    backdrop-filter:blur(10px);

    border-radius:24px;

    padding:28px;

    border:1px solid rgba(38,92,105,.08);

    box-shadow:
        0 12px 35px rgba(38,92,105,.08),
        0 25px 55px rgba(38,92,105,.05);

    transition:.35s ease;
}

/* Premium top border */

.stat-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:6px;

    background:linear-gradient(
        90deg,
        #00A79D,
        #F17B22,
        #F3CE42
    );
}

/* Decorative Circle */

.stat-card::after{

    content:"";

    position:absolute;

    width:170px;
    height:170px;

    top:-80px;
    right:-80px;

    border-radius:50%;

    background:radial-gradient(
        rgba(0,167,157,.08),
        transparent 70%
    );

    transition:.35s;
}

.stat-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 25px 60px rgba(38,92,105,.16);
}

.stat-card:hover::after{

    transform:scale(1.15);
}

/*==========================
    TOP
==========================*/

.card-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:24px;
}

/*==========================
    ICON
==========================*/

.card-icon{

    width:72px;
    height:72px;

    border-radius:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    position:relative;

    transition:.35s;

    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.5),
        0 8px 20px rgba(0,0,0,.08);
}

.stat-card:hover .card-icon{

    transform:rotate(-8deg) scale(1.08);
}

/* Blue */

.card-icon.blue{

    background:linear-gradient(
        135deg,
        #edf7ff,
        #d9efff
    );

    color:#265C69;
}

/* Green */

.card-icon.green{

    background:linear-gradient(
        135deg,
        #e8faf7,
        #d2f4ee
    );

    color:#00A79D;
}

/* Orange */

.card-icon.orange{

    background:linear-gradient(
        135deg,
        #fff4eb,
        #ffe1c4
    );

    color:#F17B22;
}

/*==========================
    LABEL
==========================*/

.label{

    font-size:13px;

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:1.4px;

    color:#7b8794;

    margin-bottom:14px;
}

/*==========================
    VALUE
==========================*/

.value{

    font-size:30px;

    font-weight:600;

    line-height:1;

    color:#265C69;

    letter-spacing:-2px;
}

/* Optional small subtitle */

.value::after{

    content:"";

    display:block;

    width:50px;
    height:4px;

    margin-top:18px;

    border-radius:30px;

    background:linear-gradient(
        90deg,
        #00A79D,
        #F17B22
    );
}

/*==========================
    RESPONSIVE
==========================*/

@media(max-width:992px){

    .grid-3{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .grid-3{

        grid-template-columns:1fr;

    }

    .stat-card{

        padding:24px;

    }

    .card-icon{

        width:64px;
        height:64px;
        font-size:26px;

    }

    .value{

        font-size:38px;

    }

}





.dashboard-note{
    margin:50px auto 20px;
    padding:12px 18px;
    max-width:1200px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    font-size:13px;
    color:#5f6b7a;

    background:#f8fbfd;
    border:1px solid #d9e8ef;
    border-left:4px solid #f17b22;
    border-radius:10px;

    font-weight:500;
}

.dashboard-note i{
    color:#f17b22;
    font-size:15px;
    flex-shrink:0;
}

.menu{
    display:flex;
}

/* FOR GUARANTEED ADDTION TEXT*/
.value-note{
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;

    color: #295C69;

    text-align: center;

    letter-spacing: -0.3px;

    max-width: 300px;
    margin: 0 auto;
}

.value-note strong{
    color: #00A79D;
    font-size: 20px;
    font-weight: 800;
}

.ga-note{
    display:block;

    margin-top:12px;

    font-size:13px;
    font-weight:500;
    color:#6B7280;

    letter-spacing:0;
    line-height:1.5;
}