/* Ultimate Member Custom Styles */

/* Login Page Styles */
.um-page-login {
    background: #f5f5f5;
    padding: 3rem 0;
}

.um-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.um-form .um-field-label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #42210b;
    margin-bottom: 0.5rem;
}

.um-form input[type="text"],
.um-form input[type="password"],
.um-form input[type="email"] {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.um-form input[type="text"]:focus,
.um-form input[type="password"]:focus,
.um-form input[type="email"]:focus {
    border-color: #5a7c56;
    outline: none;
    box-shadow: 0 0 0 3px rgba(90, 124, 86, 0.1);
}

/* Login Button */
.um-button.um-alt {
    background: #5a7c56 !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(90, 124, 86, 0.3) !important;
    letter-spacing: 0.05em !important;
    text-transform: none !important;
}

.um-button.um-alt:hover {
    background: #4a6b47 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 124, 86, 0.4) !important;
}

/* Register Page Styles */
.um-page-register {
    background: #f5f5f5;
    padding: 3rem 0;
}

/* Register Button */
.um-button {
    background: #e6ae25 !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(230, 174, 37, 0.3) !important;
    letter-spacing: 0.05em !important;
    text-transform: none !important;
}

.um-button:hover {
    background: #d49a1f !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 174, 37, 0.4) !important;
}

/* Form Title */
.um-form h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #42210b;
    text-align: center;
    margin-bottom: 2rem;
}

/* Links */
.um-form a {
    color: #5a7c56;
    text-decoration: none;
    transition: all 0.3s ease;
}

.um-form a:hover {
    color: #4a6b47;
    text-decoration: underline;
}

/* Error Messages */
.um-notice {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.um-notice.err {
    background: #fee;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
}

.um-notice.success {
    background: #efe;
    border-left: 4px solid #27ae60;
    color: #229954;
}

/* Profile Page Styles - See um-profile-styles.css for detailed profile styles */

/* Hide entry-header on account page */
.um-page-account .entry-header,
body[class*="account"] .entry-header,
.page-account .entry-header {
    display: none !important;
}

/* Hide privacy tab on account page */
.um-account-side li[data-tab="privacy"],
.um-account-nav li[data-tab="privacy"],
.um-account-name[data-tab="privacy"],
a[href*="um_action=privacy"] {
    display: none !important;
}

/* Hide privacy content */
.um-account-privacy,
#um-account-privacy {
    display: none !important;
}

/* Hide custom message */
.um-custom-message {
    display: none !important;
}

/* ============================================
   Login Page Specific Styles
   ============================================ */

/* Hide register button (right side, green button) */
.um-page-login .um-col-alt .um-button,
.um-page-login .um-col-alt-b,
.um-page-login .um-col-alt a[href*="register"],
.um-page-login .um-right .um-button {
    display: none !important;
}

/* Ensure login button (left side, yellow button) is visible */
.um-page-login .um-left .um-button,
.um-page-login .um-col-login .um-button {
    display: inline-block !important;
    visibility: visible !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .um-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .um-form h3 {
        font-size: 24px;
    }
    
    .um-button,
    .um-button.um-alt {
        font-size: 16px !important;
        padding: 0.8rem 1.5rem !important;
    }
}
