*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',Arial,sans-serif;
    color:#203529;
}

/* Shared background */
body.register-page,
body.welcome-page,
body.dashboard-page{
    min-height:100vh;
    background:
        linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.08)),
        url('background.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

}

/* Register + Welcome */
.register-bg,
.welcome-wrapper{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:35px 20px;
}

.register-card,
.welcome-card-pro{
    width:620px;
    max-width:95%;
    padding:42px 50px;
    border-radius:42px;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.9);
    box-shadow:0 30px 90px rgba(35,53,40,.20);
    text-align:center;
}

.welcome-card-pro{
    width:800px;
}

.brand-icon{
    width:82px;
    height:82px;
    margin:0 auto 10px;
    border-radius:50%;
    background:#eaf5ec;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:42px;
}

.brand-name{
    font-size:46px;
    color:#183323;
    margin-bottom:8px;
}

.brand-name span{
    color:#d49a58;
}

.tiny-line{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin:10px 0 18px;
    color:#b89436;
}

.tiny-line span{
    width:75px;
    height:1px;
    background:#c69c47;
}

.register-card h1,
.welcome-card-pro h1{
    font-size:36px;
    line-height:1.15;
    margin-bottom:14px;
    color:#173323;
}

.register-card h1 em{
    color:#5f8f60;
}

.intro{
    max-width:540px;
    margin:0 auto 26px;
    color:#526058;
    line-height:1.7;
}

/* Inputs */
form{
    width:100%;
}

.input-group{
    height:60px;
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
    padding:0 18px;
    border-radius:22px;
    background:rgba(255,255,255,.96);
    box-shadow:0 10px 25px rgba(35,53,40,.08);
}

.input-group input,
.input-group select{
    width:100%;
    border:none;
    outline:none;
    background:transparent;
    color:#203529;
    font-size:15px;
}

.field-icon,
.input-group span{
    width:34px;
    min-width:34px;
    height:34px;
    border-radius:50%;
    background:#eef7ef;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Buttons */
.create-btn{
    width:100%;
    height:66px;
    border:none;
    border-radius:25px;
    background:linear-gradient(135deg,#8ecf9b,#2f8d4d);
    color:white;
    font-size:20px;
    font-weight:900;
    cursor:pointer;
    display:grid;
    grid-template-columns:42px 1fr 48px;
    align-items:center;
    justify-items:center;
    padding:0 14px;
    box-shadow:0 18px 40px rgba(47,141,77,.35);
    transition:.25s;
}

.create-btn:hover{
    transform:translateY(-3px);
}

.create-btn b,
.login-box b{
    width:46px;
    height:46px;
    border-radius:50%;
    background:white;
    color:#2f8d4d;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    box-shadow:0 8px 18px rgba(0,0,0,.12);
}

/* Register extras */
.divider{
    max-width:430px;
    margin:22px auto;
    display:flex;
    align-items:center;
    gap:14px;
    color:#a17828;
    font-weight:bold;
}

.divider span{
    flex:1;
    height:1px;
    background:rgba(177,139,54,.45);
}

.login-box{
    max-width:430px;
    margin:0 auto;
    padding:14px 18px;
    border-radius:24px;
    background:rgba(255,255,255,.92);
    display:flex;
    align-items:center;
    gap:14px;
    color:#25372b;
    text-decoration:none;
    box-shadow:0 12px 26px rgba(35,53,40,.08);
}

.leaf-circle{
    width:44px;
    height:44px;
    border-radius:50%;
    background:#eaf5ec;
    display:flex;
    align-items:center;
    justify-content:center;
}

.login-box div:nth-child(2){
    flex:1;
    text-align:left;
}

.login-box small{
    display:block;
    color:#38834f;
    font-weight:bold;
    margin-top:3px;
}

/* Side design */
.left-quote{
    position:absolute;
    left:7%;
    top:34%;
    color:white;
    font-size:38px;
    line-height:1.2;
    font-style:italic;
    font-weight:800;
    text-shadow:0 4px 18px rgba(0,0,0,.45);
}

.side-features{
    position:absolute;
    right:7%;
    top:22%;
    display:flex;
    flex-direction:column;
    gap:18px;
}

.side-item{
    width:200px;
    min-height:84px;
    padding:15px 18px;
    border-radius:25px;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(14px);
    display:flex;
    align-items:center;
    gap:12px;
    box-shadow:0 14px 34px rgba(35,53,40,.20);
    color:#1f3228;
    font-weight:900;
}

.side-icon{
    width:44px;
    height:44px;
    min-width:44px;
    border-radius:50%;
    background:#eaf5ec;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.side-item span{
    font-size:14px;
    line-height:1.25;
}

/* Welcome */
.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-bottom:18px;
}

.health-section-pro{
    padding:22px;
    border-radius:30px;
    background:rgba(255,255,255,.84);
    box-shadow:0 12px 30px rgba(35,53,40,.08);
    margin-bottom:20px;
}

.health-section-pro h3{
    font-size:23px;
    color:#173323;
    margin-bottom:6px;
}

.health-section-pro p{
    font-size:14px;
    color:#5b6d60;
    margin-bottom:16px;
}

.health-grid-pro{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:10px;
}

.health-grid-pro label{
    min-height:72px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    padding:10px;
    border-radius:20px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(220,235,224,.95);
    box-shadow:0 8px 18px rgba(35,53,40,.06);
    font-size:12px;
    font-weight:800;
    cursor:pointer;
}

.health-grid-pro input{
    accent-color:#4e9f68;
}

.health-grid-pro span{
    font-size:20px;
}

.error{
    max-width:430px;
    margin:0 auto 15px;
    background:#ffecec;
    color:#9b1c1c;
    padding:12px;
    border-radius:14px;
}

/* Dashboard Bento */
body.dashboard-page{
    overflow-y:auto;
    overflow-x:hidden;
}


    
}

.dash-screen{
    min-height:100vh;
    width:min(1180px,94%);
    margin:0 auto;
    padding:22px 0;
    display:flex;
    flex-direction:column;
    gap:16px;
}

.dash-header{
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(16px);
    border-radius:28px;
    padding:20px 26px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 18px 45px rgba(35,53,40,.16);
}

.dash-header h1{
    font-size:28px;
    color:#173323;
}

.dash-header p{
    color:#65756a;
    margin-top:4px;
}

.dash-nav{
    display:flex;
    gap:10px;
}

.dash-nav a{
    padding:11px 16px;
    border-radius:16px;
    background:#eaf5ec;
    color:#203529;
    text-decoration:none;
    font-weight:800;
}

.dash-nav .logout-mini{
    background:#f4b183;
}

.bento-grid{
    flex:1;
    display:grid;
    grid-template-columns:1.25fr 1.2fr 1fr 1fr;
    grid-template-rows:1.1fr .9fr 1fr;
    gap:14px;
    min-height:0;
}

.bento-card{
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(16px);
    border-radius:28px;
    padding:20px;
    box-shadow:0 18px 45px rgba(35,53,40,.14);
    border:1px solid rgba(255,255,255,.85);
}

.bento-card h3{
    color:#5f9b6f;
    margin-bottom:10px;
    font-size:16px;
}

.score-panel{
    grid-row:span 2;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.circle-score{
    width:150px;
    height:150px;
    border-radius:50%;
    background:
        radial-gradient(circle at center,#fff 58%,transparent 59%),
        conic-gradient(#2f8d4d 84%,#eaf5ec 0);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    margin:8px 0 14px;
    box-shadow:0 14px 34px rgba(47,141,77,.25);
}

.circle-score span{
    font-size:42px;
    font-weight:900;
    color:#203529;
}

.circle-score small{
    color:#65756a;
    font-weight:800;
}

.ai-panel{
    grid-column:span 2;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(234,245,236,.94));
}

.ai-panel p{
    line-height:1.7;
    color:#526058;
    font-size:17px;
}

.metric strong,
.water-panel strong{
    display:block;
    font-size:34px;
    color:#203529;
    margin:6px 0;
}

.metric span{
    color:#65756a;
    font-size:14px;
}

.water-panel{
    background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(224,244,255,.95));
}

.water-drops{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin:10px 0 12px;
}

.water-drops span{
    font-size:24px;
    opacity:.22;
    transform:scale(.92);
}

.water-drops .active{
    opacity:1;
    transform:scale(1.08);
}

.water-buttons{
    display:flex;
    gap:10px;
}

.water-buttons button{
    width:48px;
    height:42px;
    border:none;
    border-radius:15px;
    background:#4fc3f7;
    color:white;
    font-size:24px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(79,195,247,.25);
}

.progress-panel{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.progress-ring{
    width:110px;
    height:110px;
    border-radius:50%;
    background:
        radial-gradient(circle at center,#fff 58%,transparent 59%),
        conic-gradient(#f4b183 62%,#f7eadc 0);
    display:flex;
    align-items:center;
    justify-content:center;
    margin:8px 0;
}

.progress-ring span{
    font-size:26px;
    font-weight:900;
}

.wide-info{
    grid-column:span 2;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    padding:9px 0;
    border-bottom:1px solid rgba(95,155,111,.15);
}

.summary-row span{
    color:#65756a;
}

.summary-row strong{
    color:#203529;
}

.notes-panel{
    grid-column:span 2;
    background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(255,248,239,.94));
}

.notes-panel p{
    font-size:22px;
    font-weight:900;
    color:#203529;
    margin:10px 0;
}

.notes-panel small{
    color:#65756a;
    font-weight:800;
}

/* Responsive */
@media(max-width:950px){
   body.dashboard-page{
    overflow-y:auto;
    overflow-x:hidden;


    .dash-screen{
        height:auto;
    }

    .dash-header{
        flex-direction:column;
        align-items:flex-start;
        gap:14px;
    }

    .dash-nav{
        flex-wrap:wrap;
    }

   .bento-grid{
    display:grid;
    grid-template-columns:1.25fr 1.2fr 1fr 1fr;
    grid-template-rows:auto auto auto;
    gap:14px;
}

    .left-quote,
    .side-features{
        display:none;
    }

    .register-card,
    .welcome-card-pro{
        width:95%;
        padding:32px 24px;
    }

    .brand-name{
        font-size:36px;
    }

    .form-grid,
    .health-grid-pro{
        grid-template-columns:1fr;
    }
}