/* ================= RESET ================= */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

/* ================= BODY ================= */
body{
font-family:Arial,sans-serif;
min-height:100vh;
background:linear-gradient(135deg,#1e3c72,#2a5298);
color:white;
transition:0.4s;
padding-bottom:60px;
}

/* Center pages without navbar */
body:not(.has-navbar){
display:flex;
justify-content:center;
align-items:center;
}

/* ================= NAVBAR ================= */
.navbar{

width:100%;
padding:15px 50px;

display:flex;
justify-content:space-between;
align-items:center;

background:rgba(255,255,255,0.08);
backdrop-filter:blur(15px);

border-bottom:1px solid rgba(255,255,255,0.2);

position:sticky;
top:0;
z-index:1000;

box-shadow:0 8px 32px rgba(0,0,0,0.2);

}

/* Navbar Buttons */

.navbar button{

width:auto;
padding:8px 18px;

margin-right:12px;

border-radius:25px;

border:1px solid rgba(255,255,255,0.3);

background:rgba(255,255,255,0.1);
color:white;

cursor:pointer;

transition:0.3s;

}

.navbar button:hover{

background:#00c6ff;
transform:translateY(-2px);

box-shadow:0 5px 15px rgba(0,198,255,0.4);

}

/* ================= CONTAINER ================= */

.container{

backdrop-filter:blur(15px);

background:rgba(255,255,255,0.15);

border-radius:15px;

padding:40px;

width:320px;

text-align:center;

box-shadow:0 8px 32px rgba(0,0,0,0.3);

animation:fadeIn 0.8s ease;

}

@keyframes fadeIn{

from{
opacity:0;
transform:translateY(-20px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* ================= INPUT ================= */

input{

width:100%;

padding:10px;

margin:10px 0;

border-radius:6px;

border:none;

background:rgba(255,255,255,0.2);

color:white;

outline:none;

}

input::placeholder{

color:#eee;

}

/* ================= BUTTON ================= */

button{

width:100%;

padding:10px;

margin-top:10px;

border:none;

border-radius:6px;

background:#00c6ff;

color:white;

cursor:pointer;

font-weight:bold;

transition:0.3s;

}

button:hover{

background:#0072ff;

}

/* ================= PASSWORD BOX ================= */

.password-box{
position:relative;
}

.password-box span{

position:absolute;

right:10px;
top:50%;

transform:translateY(-50%);

cursor:pointer;

}

/* ================= MESSAGE ================= */

#message{

margin-top:15px;

font-weight:bold;

}

/* ================= DASHBOARD ================= */

.dashboard{

text-align:center;

margin-top:120px;

padding:20px;

}

/* ================= CARD CONTAINER ================= */

.card-container{

display:flex;

justify-content:center;

gap:25px;

margin-top:40px;

flex-wrap:wrap;

}

/* ================= CARDS ================= */

.card{

width:250px;

padding:25px;

border-radius:15px;

background:rgba(255,255,255,0.15);

backdrop-filter:blur(10px);

box-shadow:0 8px 32px rgba(0,0,0,0.3);

transition:0.3s;

}

.card:hover{

transform:translateY(-8px);

}

.card h3{

margin-bottom:15px;

}

/* ================= WAVES ================= */

.wave-container{

position:fixed;

bottom:0;
left:0;

width:100%;

height:200px;

overflow:hidden;

z-index:-1;

}

.wave{

position:absolute;

width:200%;
height:100%;

background:rgba(255,255,255,0.15);

opacity:0.6;

border-radius:40%;

animation:waveMove 10s linear infinite;

}

.wave:nth-child(2){

bottom:10px;

opacity:0.4;

animation:waveMove 15s linear infinite reverse;

}

.wave:nth-child(3){

bottom:20px;

opacity:0.2;

animation:waveMove 20s linear infinite;

}

@keyframes waveMove{

0%{
transform:translateX(0) translateY(0);
}

50%{
transform:translateX(-25%) translateY(-10px);
}

100%{
transform:translateX(-50%) translateY(0);
}

}

/* ================= LIGHT MODE ================= */

.light-mode{

background:linear-gradient(135deg,#e3f2fd,#bbdefb);

color:#222;

}

.light-mode .container{

background:white;

color:black;

}

.light-mode input{

background:#f1f1f1;

color:black;

}

.light-mode button{

background:#667eea;

color:white;

}

.light-mode .navbar{

background:rgba(255,255,255,0.7);

border-bottom:1px solid rgba(0,0,0,0.1);

}

.light-mode .navbar button{

background:rgba(0,0,0,0.05);

color:black;

border:1px solid rgba(0,0,0,0.1);

}

.light-mode .navbar button:hover{

background:#667eea;

color:white;

}

.light-mode .card{

background:white;

color:black;

}

.light-mode .wave{

background:rgba(46,135,223,0.15);

}

/* ================= FOOTER ================= */

.footer{

text-align:center;

padding:15px;

background:rgba(0,0,0,0.25);

color:white;

position:fixed;

bottom:0;

width:100%;

font-size:14px;

}

.light-mode .footer{

background:rgba(255,255,255,0.7);

color:black;

}