/* === AUTH PAGE SPLIT LAYOUT (Preserved Design) === */

/* Remove default padding from header on this page */
.site-header-solid { position: absolute !important; width: 100%; z-index: 100; }

.auth-split-screen {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: white;
    padding-top: 80px; 
    box-sizing: border-box;
}

/* LEFT SIDE: VISUAL */
.auth-visual {
    flex: 1;
    background: url('https://drjagroservices.com/wp-content/uploads/2025/12/hero-image-scaled.webp') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    border-top-right-radius: 20px;
}

.auth-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(26, 77, 46, 0.2), rgba(26, 77, 46, 0.9));
    border-top-right-radius: 20px;
}

.auth-quote {
    position: relative; z-index: 2; color: white; 
    margin-bottom: 80px;
}
.auth-quote h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: white; 
    line-height: 1.2;
    margin-bottom: 15px;
}
.auth-quote p { font-size: 1.1rem; opacity: 0.9; font-style: italic; }

/* RIGHT SIDE: FORM */
.auth-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    padding-bottom: 150px; 
    background: white;
    position: relative; 
    z-index: 5; 
}

.auth-box {
    width: 100%;
    max-width: 420px;
}

.auth-header { margin-bottom: 30px; }
.auth-header h3 { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 10px; color: #1a4d2e; }
.auth-header p { color: #6b7280; font-size: 1rem; }

.auth-footer { margin-top: 30px; text-align: center; font-size: 0.9rem; color: #6b7280; border-top: 1px solid #f3f4f6; padding-top: 20px; }
.auth-footer a { color: #1a4d2e; font-weight: 600; text-decoration: none; }

/* === ULTIMATE MEMBER BRIDGE STYLES (Overrides) === */
/* This makes UM look exactly like your custom forms */

/* 1. Fields */
.um-field { margin-bottom: 20px !important; }
.um-field-label { display: block; font-weight: 600; margin-bottom: 8px; color: #333; }

.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;
    height: auto !important;
}

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

/* 2. Buttons (Gold) */
.um-button, input[type="submit"].um-button {
    background-color: #EBC06D !important; /* Gold */
    color: #1f2937 !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%;
    text-transform: none !important;
}

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

/* 3. Errors */
.um-field-error {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-radius: 8px !important;
    padding: 10px !important;
    margin-top: 5px !important;
    border: none !important;
}

/* 4. Hide Default UM Header/Footer garbage */
.um-header, .um-footer { display: none !important; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .auth-split-screen { flex-direction: column; height: auto; }
    .auth-visual { display: none; } 
    .auth-form-container { padding: 60px 20px; padding-bottom: 120px; }
}