/* SAME THEME */
:root{
--bg:linear-gradient(135deg,#ff6a6a,#6a8dff);
--card:rgba(255,255,255,0.2);
--text:#000;
--input:#fff;
--btn:#ffffff;
}

body.dark{
--bg:linear-gradient(135deg,#0f2027,#203a43,#2c5364);
--card:rgba(0,0,0,0.5);
--text:#fff;
--input:#222;
--btn:#333;
}

body{
margin:0;
font-family:sans-serif;
background:var(--bg);
color:var(--text);
}

.wrapper{
display:flex;
justify-content:center;
align-items:center;
height:100vh;
}

.card{
width:420px;
padding:25px;
border-radius:20px;
background:var(--card);
backdrop-filter:blur(20px);
box-shadow:0 0 40px rgba(0,0,0,0.4);
text-align:center;
overflow:hidden;  
}

.topbar{
display:flex;
justify-content:space-between;
}

.toggle{
cursor:pointer;
font-size:20px;
}

input{
width:100%;
padding:14px;
margin:15px 0;
border-radius:10px;
border:none;
background:var(--input);
}

.glow-btn{
width:100%;
padding:14px;
border:none;
border-radius:12px;
background:linear-gradient(45deg,#ff416c,#ff4b2b);
color:white;
font-weight:bold;
box-shadow:0 0 15px #ff416c;
}

.grid{
display:flex;
gap:10px;
margin-top:15px;
}

.box{
flex:1;
padding:14px;
border-radius:10px;
background:var(--btn);
cursor:pointer;
}

.progress-container{
width:100%;
height:6px;
background:#ccc;
border-radius:10px;
margin-top:20px;
}

.progress-bar{
height:100%;
width:0%;
background:#ff416c;
border-radius:10px;
}
