/* ===============================
   AUTH PAGES (LOGIN & REGISTER)
   =============================== */

.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Card */
.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: fadeUp 0.6s ease;
}

/* Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 22px;
}

.auth-logo img {
    max-height: 48px;
}

.auth-logo h1 {
    color: #facc15;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Title */
.auth-title {
    text-align: center;
    margin-bottom: 24px;
}

.auth-title h2 {
    color: #e5e7eb;
    font-size: 20px;
    font-weight: 700;
}

.auth-title p {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 6px;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-group {
    display: flex;
    flex-direction: column;
}

.auth-group label {
    font-size: 13px;
    color: #cbd5f5;
    margin-bottom: 6px;
}

.auth-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #1e293b;
    background: #020617;
    color: #e5e7eb;
    font-size: 14px;
    transition: 0.25s;
}

.auth-group input::placeholder {
    color: #64748b;
}

.auth-group input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

/* Password toggle (optional) */
.auth-password {
    position: relative;
}

.auth-password span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #94a3b8;
    cursor: pointer;
}

/* Button */
.auth-btn {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #020617;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.45);
}

/* Extra */
.auth-extra {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

.auth-extra a {
    color: #22c55e;
    font-weight: 600;
}

.auth-extra a:hover {
    text-decoration: underline;
}

/* Alert */
.auth-alert {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
}

.auth-alert.success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.auth-alert.error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    font-size: 12px;
    color: #64748b;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #1e293b;
}

.auth-divider span {
    padding: 0 10px;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 26px 20px;
    }

    .auth-title h2 {
        font-size: 18px;
    }
}
