.auth-container{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    padding: 40px 20px;
}

.auth-box{
    width: 100%;
    max-width: 450px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.auth-box h2{
    text-align: center;
    margin-bottom: 10px;
}

.auth-box p{
    text-align: center;
}

.auth-box form{
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.auth-box input{
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid #0f0f0f;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

/* password field with visibility toggle */
.password-field{
    position: relative;
    margin-bottom: 20px;
}

.password-field input{
    margin-bottom: 0;
    padding-right: 46px;
}

.password-toggle{
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    color: #555;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover{
    color: #088178;
}

body.dark-theme .password-toggle{
    color: #aaa;
}

body.dark-theme .password-toggle:hover{
    color: #88c9c0;
}

.auth-btn{
    background: #088178;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.auth-btn:hover{
    background: #066e67;
}

.divider{
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.divider span{
    position: relative;
    background: #fff;
    padding: 0 12px;
    color: #777;
}

.social-btn{
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s ease;
}

.google-btn{
    background: #fff;
    border: 1px solid #ddd;
}

.github-btn{
    background: #24292e;
    color: #fff;
}

.apple-btn{
    background: #000;
    color: #fff;
}

.social-btn:hover{
    transform: translateY(-2px);
}

.auth-switch{
    margin-top: 20px;
    text-align: center;
}

.auth-switch a{
    color: #088178;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 1024px){

    .auth-box{
        padding: 30px 20px;
    }

}
body.dark-theme .auth-container { color: #e0e0e0; }
body.dark-theme .auth-container h1,
body.dark-theme .auth-container h2,
body.dark-theme .auth-container h3,
body.dark-theme .auth-container p,
body.dark-theme .auth-container label { color: #f0f0f0; }
body.dark-theme .auth-container input { color: #e0e0e0; }
body.dark-theme .auth-container a { color: #88c9c0; }
body.dark-theme .auth-container {
    background-color: #1e1e1e;
}
body.dark-theme .auth-box {
    background-color: #2a2a2a;
}
body.dark-theme .divider span {
    background: #2a2a2a;
    color: #aaa;
}
body.dark-theme .google-btn {
    background: #2a2a2a;
    border-color: #444;
    color: #fff;
}