.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: 520px;
    background: rgba(255, 255, 255, 0.92);
    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);
    animation: fadeUp 0.4s ease;
    box-sizing: border-box;
}

.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: 28px;
    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;
    transition: 0.25s ease;
    box-sizing: border-box;
}

.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;
    transition: 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 10px 25px rgba(232, 140, 160, 0.28);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(232, 140, 160, 0.35);
}

.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-bottom a:hover {
    text-decoration: underline;
}

.auth-alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.auth-alert.success {
    background: #eaf8ee;
    color: #1d7f3f;
    border: 1px solid #bfe5c9;
}

.auth-alert.error {
    background: #fff1f3;
    color: #c4475f;
    border: 1px solid #f2c6cf;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 45px;
}

.password-toggle svg {
    display: block;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 54%;
  transform: translateY(-50%);
  border: none;
  background: transparent; 
  cursor: pointer;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  transition: 0.2s;
}

.password-toggle:hover {
  background: rgba(255,255,255,0.08);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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 {
        margin-bottom: 16px;
    }

    .form-group input {
        height: 50px;
        font-size: 15px;
    }

    .auth-btn {
        height: 52px;
        font-size: 15px;
    }
}