/* === PREMIUM AUTH REDESIGN (Glass Card) === */

/* 1. Full Screen Background */
.auth-wrapper {
    min-height: calc(100vh - 80px); /* Full height minus header */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Luxurious Green Gradient Background */
    background: linear-gradient(135deg, #1a4d2e 0%, #0f3d22 100%);
    position: relative;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Background Pattern (Subtle Grain) */
.auth-wrapper::before {
    content: "";
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

/* 2. The Card Container */
.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
    z-index: 2;
    animation: slideUp 0.5s ease-out;
}

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

/* 3. Typography & Brand */
.auth-brand {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.auth-title {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 35px;
    line-height: 1.5;
}

/* 4. Form Styles (Overrides Ultimate Member Defaults) */
/* Forces inputs to look modern */
.um-field {
    margin-bottom: 20px !important;
}

.um-field-label {
    display: block;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.um-form input[type="text"],
.um-form input[type="password"],
.um-form input[type="email"] {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
    background: #f9fafb !important;
    box-sizing: border-box;
}

.um-form input:focus {
    border-color: var(--primary) !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(26, 77, 46, 0.1) !important;
}

/* Primary Button */
.um-button, input[type="submit"].um-button {
    background-color: var(--accent) !important; /* Gold */
    color: var(--text-dark) !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 15px !important;
    font-size: 1.1rem !important;
    transition: transform 0.2s !important;
    border: none !important;
    cursor: pointer;
    width: 100%;
}

.um-button:hover {
    background-color: #d4b15b !important;
    transform: translateY(-2px);
}

/* 5. Footer Links */
.auth-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .auth-card { padding: 40px 25px; }
    .auth-title { font-size: 1.8rem; }
}