/* ================================
   🔐 AUTH PAGES STYLES (Login/Register)
   ================================ */

@import url('components.css');

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-form {
    width: 100%;
    max-width: 420px;
    padding: 32px 28px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: var(--shadow);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form h2 {
    text-align: center;
    color: var(--primary-gold);
    margin-bottom: 24px;
    font-size: 1.6rem;
}

.auth-form form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-form input {
    margin: 4px 0 14px;
}

.auth-form button {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1.05rem;
}

.auth-form p {
    text-align: center;
    margin-top: 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.auth-form p a {
    font-weight: 600;
}

/* File Upload Styling */
.auth-form input[type="file"] {
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
}

.auth-form input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    margin-right: 12px;
}

/* Preview Image for Register */
#previewRegister {
    text-align: center;
    margin: 12px 0;
    display: none;
}

#previewRegister.show { display: block; }

#previewRegister img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-gold);
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-form {
        padding: 24px 20px;
        margin: 10px;
    }
}