*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
body.dark{
    background:#121212;
    color:white;
}
.dark .login-box{
    background:#1e1e1e;
}
body{
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container{
    width: 100%;
    padding: 20px;
}

.login-box{
    max-width: 400px;
    background: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.login-box h2{
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.input-group{
    position: relative;
    margin-bottom: 20px;
}

.input-group input{
    width: 100%;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 5px;
    outline: none;
}

.input-group label{
    position: absolute;
    top: 50%;
    left: 10px;
    color: #777;
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: 0.3s;
    background: #fff;
    padding: 0 5px;
}

.input-group input:focus + label,
.input-group input:valid + label{
    top: -6px;
    font-size: 12px;
    color: #667eea;
}

.btn{
    width: 100%;
    padding: 10px;
    border: none;
    background: #667eea;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.btn:hover{
    background: #5a67d8;
}

.divider{
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider span{
    background: #fff;
    padding: 0 10px;
    color: #777;
}

.divider::before{
    content: "";
    height: 1px;
    width: 100%;
    background: #ccc;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: -1;
}

.google-btn{
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.google-btn img{
    width: 20px;
}

.google-btn:hover{
    background: #f5f5f5;
}

.text{
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

.text a{
    color: #667eea;
    text-decoration: none;
}

/* ✅ Responsive */
@media (max-width: 480px){
    .login-box{
        padding: 20px;
    }
}
