body{
    background:
    radial-gradient(circle at top right,#FFCC3120 0%,transparent 30%),
    radial-gradient(circle at bottom left,#0A684710 0%,transparent 40%),
    #F7FAF8;
    
    font-family:'DM Sans',sans-serif;
    color:#111;
    min-height:100vh;
}

.login-card{
    width:100%;
    max-width:450px;
    background:#fff;
    border-radius:20px;
    padding:40px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.logo{
    width:90px;
    height:90px;
    margin:0 auto 20px;  
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center; 
}

.project-title{
    text-align:center;
    margin-bottom:30px;
}

.project-title h3{
    color:#0A6847;
    font-weight:700;
    margin-bottom:8px;
}

.project-title p{
    color:#666;
    margin:0;
    font-size:14px;
}

.form-control{
    height:50px;
}

.btn-login{
    height:50px;
    background:#0a6847;
    border:none;
    font-weight:600;
}

.btn-login:hover{
    background:#08593d;
}

/* Tablet */

@media (max-width:768px){

    .login-card{
        padding:30px;
    }

    .project-title h3{
        font-size:24px;
    }

}

/* Mobile */

@media (max-width:576px){

    body{
        padding:15px;
    }

    .login-card{
        padding:25px 20px;
        border-radius:15px;
    }

    .logo{
    width:100px;
    height:100px;
    margin:0 auto 20px;    
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
   
}


    .project-title h3{
        font-size:20px;
    }

    .project-title p{
        font-size:13px;
    }

    .form-control{
        height:46px;
    }

    .btn-login{
        height:46px;
    }

}

/*****DASHBOARD CSS*****/
:root{
    --primary:#0A6847;
    --secondary:#FFCC31;
    --white:#FFFFFF;
    --black:#111111;
    --light:#F6F8F7;
    --border:#E8ECEA;
}
.dashboard-header{
     background:#fff;
    border-bottom:1px solid #eee;
    padding:15px 0;
}
.company-card{
    display:flex;
    align-items:center;
    gap:25px;

    background:#fff;
    padding:25px;
    border-radius:24px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    margin:25px 0;
}

.company-logo{
    width:125px;
    height:125px;
    object-fit:contain;
    border-radius:18px;
    background:#fff;
}

.company-name{
    font-size:34px;
    font-weight:800;
    color:#0A6847;
    margin-bottom:8px;
}

.company-project{
    color:#555;
    font-weight:600;
}

.company-device{
    color:#999;
    margin-top:5px;
}

.dashboard-card{
    background:#fff;
    border-radius:15px;
    padding:20px;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    height:100%;
}

.metric-value{
    font-size:32px;
    font-weight:700;
    color:#0A6847;
}
.chart-card{
    position:relative;
    overflow:hidden;

    background:rgba(255,255,255,.85);
    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.4);

    border-radius:28px;
    padding:30px;
 font-size:22px;
    font-weight:800;
    color:#0A6847;
    margin-bottom:25px;
    box-shadow:
        0 20px 50px rgba(10,104,71,.08),
        0 10px 20px rgba(0,0,0,.04);

    transition:.35s;
}

.chart-card:hover{
    transform:translateY(-5px);

    box-shadow:
        0 30px 60px rgba(10,104,71,.15),
        0 15px 25px rgba(0,0,0,.08);
}

.chart-card::before{
    content:'';

    position:absolute;

    width:250px;
    height:250px;

    top:-120px;
    right:-100px;

    border-radius:50%;

    background:
    radial-gradient(
        rgba(255,204,49,.25),
        transparent 70%
    );

    pointer-events:none;
}
#aqiGauge{
    max-height:280px;
}
.chart-card h5{
    font-weight:700;
    color:#111;
    margin-bottom:20px;
}

.table-card{
    background:#fff;
    border-radius:24px;
    padding:30px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.05);
}
.table thead{
    background:#0A6847;
    color:#fff;
}

.table thead th{
    border:none;
    padding:15px;
}


.logo-img{
    max-height:60px;
}
.logout-btn{
    width:55px;
    height:55px;

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

    border-radius:18px;

    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);

    color:#fff;
    font-size:22px;

    border:1px solid rgba(255,255,255,.2);

    box-shadow:0 8px 25px rgba(0,0,0,.15);

    transition:.3s;
}

.logout-btn:hover{
    background:#FFCC31;
    color:#000;
    transform:translateY(-3px);
}
.hero-card{
    background:linear-gradient(135deg,#0A6847,#12845c);
    border-radius:24px;
    padding:25px 35px;
    min-height:140px;

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

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


.hero-card h2{
     font-size:38px;
    font-weight:800;
    margin-bottom:5px;
    color:#fff;
}

.hero-card p{
     margin:0;
    color:rgba(255,255,255,.85);
}
.device-badge{
    background:#FFCC31;
    color:#000;
    padding:14px 24px;
    border-radius:50px;
    font-weight:700;
    box-shadow:
    0 10px 20px rgba(255,204,49,.25);
}
.metric-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:6px;

    background:
    linear-gradient(
    90deg,
    #0A6847,
    #FFCC31
    );

    border-radius:24px 24px 0 0;
}
.metric-card{
    background:#fff;
    border-radius:24px;
    padding:28px;
    position:relative;

    border:1px solid rgba(0,0,0,.04);

    box-shadow:
    0 15px 35px rgba(0,0,0,.05);

    transition:.35s;
}

.metric-card:hover{
    transform:translateY(-8px);
    box-shadow:
    0 25px 50px rgba(0,0,0,.08);
}
.metric-card h6{
    color:#666;
    font-weight:500;
    margin-bottom:15px;
}
.metric-label{
    color:#666;
    font-size:14px;
}
.metric-value{
    font-size:42px;
    font-weight:800;
    color:#0A6847;
    line-height:1;
}

.metric-unit{
    color:#999;
}

.aqi-status{
    width:220px;
    height:220px;

    margin:20px auto;

    border-radius:50%;

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

    background:linear-gradient(135deg,#0A6847,#19a46f);

    color:#fff;

    position:relative;

    box-shadow:
        0 0 0 15px rgba(10,104,71,.08),
        0 0 40px rgba(10,104,71,.25),
        0 0 80px rgba(10,104,71,.15);
}

.aqi-status::before{
    content:'';
    position:absolute;
    inset:-12px;

    border-radius:50%;
    border:3px solid rgba(255,255,255,.2);

    animation:pulseGlow 3s infinite;
}

.aqi-score{
    font-size:72px;
    font-weight:900;
    line-height:1;
}

.aqi-label{
    margin-top:10px;
    font-size:20px;
    font-weight:700;
    letter-spacing:2px;
}


@keyframes pulseGlow{

    0%{
        transform:scale(1);
        opacity:.6;
    }
    50%{
        transform:scale(1.05);
        opacity:1;
    }
    100%{
        transform:scale(1);
        opacity:.6;
    }

}

.zone-card{
    background:#fff;
    border-radius:24px;
    padding:30px;

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

    border-left:8px solid #FFCC31;
}

.metric-card h6 i{
    color:#0A6847;
    margin-right:8px;
    font-size:18px;
}

.hero-title{
    display:flex;
    align-items:center;
    gap:40px;
}

.hero-logo,
.hero-logo svg{
 
        width: 85px !important;
    height: 85px !important;
    max-width: 100px;
    object-fit:contain;
    display:block;
}
}

.hero-title h2{
    margin:0;
    font-size:32px;
    font-weight:800;
    color:#fff;
    line-height:1.2;
}

.hero-title p{
    margin:5px 0 0;
    color:rgba(255,255,255,.85);
}

.card-header-custom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.aqi-badge{
    background:#FFCC31;
    color:#000;
    padding:8px 14px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
}

.gauge-info{
    display:flex;
    justify-content:space-between;
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid #eee;
}

.gauge-item{
    text-align:center;
}

.gauge-item span{
    display:block;
    color:#888;
    font-size:13px;
}

.gauge-item strong{
    font-size:18px;
    color:#0A6847;
}

.dashboard-footer{
    margin-top:50px;

    background:linear-gradient(
        135deg,
        #0A6847,
        #12845c
    );

    padding:25px;

    text-align:center;

    color:#fff;

    position:relative;

    overflow:hidden;
}

.dashboard-footer p{
    position:relative;
    z-index:2;

    margin:0;

    font-size:15px;
    font-weight:500;
}

.compact-chart{
    position:relative;
    overflow:hidden;

    min-height:320px;

    background:rgba(255,255,255,.92);
    backdrop-filter:blur(15px);

    border-radius:24px;

    padding:25px;

    border:1px solid rgba(255,255,255,.4);

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

    transition:.35s;
}

.compact-chart:hover{
    transform:translateY(-5px);

    box-shadow:
        0 25px 50px rgba(10,104,71,.12);
}
.compact-chart::before{
    content:'';

    position:absolute;

    width:180px;
    height:180px;

    top:-80px;
    right:-80px;

    border-radius:50%;

    background:
    radial-gradient(
        rgba(255,204,49,.15),
        transparent 70%
    );

    pointer-events:none;
}
.compact-chart canvas{
    max-height:220px !important;
}
.chart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:15px;
}

.chart-header h5{
    margin:0;

    font-size:20px;
    font-weight:700;

    color:#0A6847;
}
.chart-badge{
    background:rgba(10,104,71,.08);

    color:#0A6847;

    padding:6px 14px;

    border-radius:30px;

    font-size:12px;
    font-weight:700;

    border:1px solid rgba(10,104,71,.1);
}

@media(max-width:768px){

    .metric-value{
        font-size:24px;
    }

    .dashboard-header{
        text-align:center;
    }

    .logout-wrapper{
        margin-top:15px;
    }
  .hero-card{
    flex-direction:column;
    text-align:center;
    gap:20px;
}

.hero-actions{
    flex-direction:column;
    width:100%;
}

.logout-btn{
    width:100%;
    text-align:center;
}

.company-card{
    flex-direction:column;
    text-align:center;
}

.company-name{
    font-size:26px;
}
.hero-card h2{
    font-size:28px;
}
.hero-logo{
    width:70px;
    height:auto;
    flex-shrink:0;
}

.hero-title h2{
    margin:0 0 5px;
    font-size:38px;
    font-weight:800;
    color:#fff;
}

.hero-title p{
    margin:0;
    color:rgba(255,255,255,.85);
}
.metric-value{
    font-size:32px;
}

.company-logo{
    width:60px;
    height:60px;
}

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

.chart-card{
    padding:20px;
}
 .hero-title{
        flex-direction:column;
        text-align:center;
        gap:15px;
    }

 .aqi-status{
        width:180px;
        height:180px;
    }

    .aqi-score{
        font-size:56px;
    }

    .aqi-label{
        font-size:16px;
    }
 .gauge-info{
        flex-direction:column;
        gap:15px;
    }
      .compact-chart{
        min-height:auto;
    }

    .compact-chart canvas{
        max-height:200px !important;
    }

    .chart-header h5{
        font-size:17px;
    }
}