.auth-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff8fa, #fdeef2);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(246, 182, 193, 0.35);
    border-radius: 28px;
    padding: 42px 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.auth-card h1 {
    font-size: 38px;
    font-weight: 800;
    color: #1f1f1f;
    margin-bottom: 10px;
    text-align: center;
}

.auth-card p {
    text-align: center;
    color: #777;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.auth-form {
    width: 100%;
}

.form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    height: 52px;
    border-radius: 16px;
    border: 1.5px solid #f1ccd4;
    background: #fff;
    padding: 0 16px;
    font-size: 15px;
    color: #333;
    outline: none;
}

.form-group input:focus {
    border-color: #f6b6c1;
    box-shadow: 0 0 0 4px rgba(246, 182, 193, 0.15);
}

.form-group input::placeholder {
    color: #aaa;
}
.auth-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #f6b6c1, #e88ca0);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 10px 25px rgba(232, 140, 160, 0.28);
}

.auth-bottom {
    text-align: center;
    margin-top: 22px;
    font-size: 14px;
    color: #666;
}

.auth-bottom a {
    color: #d96b87;
    font-weight: 700;
    text-decoration: none;
}

.auth-links {
    margin-top: 6px;
}

.auth-alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.auth-alert.success {
    background: #e9fff1;
    color: #1c8a4d;
    border: 1px solid #bde8ca;
}

.auth-alert.error {
    background: #fff0f3;
    color: #c4475f;
    border: 1px solid #f1c5cf;
}


.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 68%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.password-toggle:hover {
    background: transparent;
    color: #aaa;
}

.eye-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
    pointer-events: none;
}

body.dark-mode .password-toggle {
    color: #aaa;
}

@media (max-width: 768px) {
    .auth-page {
        padding: 30px 14px;
    }

    .auth-card {
        max-width: 100%;
        padding: 30px 22px;
        border-radius: 24px;
    }

    .auth-card h1 {
        font-size: 30px;
    }

    .form-group input {
        height: 50px;
        font-size: 15px;
    }

    .auth-btn {
        height: 52px;
        font-size: 15px;
    }
}