/* Wrapper for full-screen center alignment */
.registration-wrapper {
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-color: transparent;
    transition: background-color 0.3s ease;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', 'Roboto', sans-serif; 
}

body.login, body.register, body.password_reset_confirm {
    overflow-x: hidden;
}

/* Main form container with golden background */
.registration-form-container {
    background: linear-gradient(145deg, #fff8e1, #ffe082);
    width: 500px;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 32px rgba(218, 165, 32, 0.35);
    transition: transform 0.3s ease;
    color: rgb(10, 10, 8);
}

/* Optional glow on hover */
.registration-form-container:hover {
    box-shadow: 0 0 20px 5px rgba(225, 250, 84, 0.8), 0 0 40px 10px rgba(221, 250, 92, 0.6);
}

/* Header with golden gradient */
.registration-header {
    background: linear-gradient(135deg, #ffcc80 0%, #ffb300 100%);
    color: #5c3d00;
    padding: 1rem 1rem 0.75rem 1rem;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    font-family: 'Inter', 'Roboto', sans-serif; 
}

/* Header title */
.registration-header h2 {
    font-size: 1.75rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Subtitle text */
.registration-header .subtitle {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 0;
}

/* Footer with deep gold */
.registration-footer {
    background: linear-gradient(135deg, #ffd54f 0%, #ffa000 100%);
    color: #5c3d00;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    letter-spacing: 1.2px;
    font-family: 'Inter', 'Roboto', sans-serif; 
    font-weight: 600;
    font-size: 0.9rem;
    color: rgb(238, 129, 129);
}

/* Submit button in gold */
.submit-btn {
    background: linear-gradient(135deg, #fbc02d 0%, #f9a825 100%);
    color: white;
    border: none;
    padding: 0.5rem 0;
    border-radius: 0.25rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    font-family: 'Inter', 'Roboto', sans-serif; 
    transition: background 0.3s ease;
}

/* Button hover effect */
.submit-btn:hover {
    background: linear-gradient(135deg, #d6f549 0%, #def7c2 100%);
    color: white;
}

/* Input icon background */
.input-group-text {
    background-color: white !important;
}

/* Labels for form fields */
.form-label {
    font-family: 'Inter', 'Roboto', sans-serif; 
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 480px) {
    .registration-wrapper {
        padding: 1rem;
    }

    .registration-form-container {
        width: 100%;
        padding: 1.5rem 1rem;
        border-radius: 1rem;
    }

    .registration-banner h2 {
        font-size: 1.4rem;
    }

    .registration-footer {
        font-size: 0.75rem;
        text-align: center;
    }

    .submit-btn {
        font-size: 0.9rem;
    }

    .form-label, .form-control, .input-group-text {
        font-size: 0.85rem;
    }
}
