.elementor-16138 .elementor-element.elementor-element-cc605d0{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-83894c5 *//* World-Class CSS for Divine Health Login Page (Elementor Widget Advanced CSS) */
/* Enhanced for button visibility and form robustness. Adapted for WooCommerce shortcode. */

/* Base Styles (Scoped to Widget) */
:host, body, .elementor-widget-html {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #17203b;
    background-color: #f8f9fd;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hero/Login Section */
.login-hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.login-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(199, 166, 99, 0.1) 0%, transparent 50%);
    opacity: 0.3;
}

.login-hero-content {
    flex: 1;
    max-width: 500px;
    padding-right: 3rem;
    z-index: 2;
}

.login-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #10203e;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.login-hero-subtitle {
    font-size: 1.2rem;
    color: #47506a;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

.login-image {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.login-hero-img {
    max-width: 400px;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(16, 32, 62, 0.15);
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.login-hero:hover .login-hero-img {
    transform: rotate(0deg) scale(1.02);
}

/* Login Form Section */
.login-section {
    padding: 80px 0 120px;
    background: white;
    position: relative;
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #c7a663 50%, transparent 100%);
}

.login-wrapper {
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
    background: #f8f9fd;
    padding: 3.5rem 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(16, 32, 62, 0.1);
    border: 1px solid rgba(199, 166, 99, 0.2);
    position: relative;
    overflow: hidden;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(199, 166, 99, 0.05) 0%, transparent 70%);
    animation: subtleGlow 4s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% { opacity: 0.5; transform: rotate(0deg); }
    100% { opacity: 1; transform: rotate(180deg); }
}

.login-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #10203e;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.login-subtitle {
    color: #5e6b8a;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.login-form {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.8rem;
    text-align: left;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #10203e;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.form-group i {
    margin-right: 0.8rem;
    color: #c7a663;
    width: 18px;
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 1.2rem 1rem 1.2rem 2.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.form-group input:focus {
    outline: none;
    border-color: #c7a663;
    box-shadow: 0 0 0 4px rgba(199, 166, 99, 0.15), inset 0 1px 2px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

.form-group input::placeholder {
    color: #9ca3af;
    opacity: 0.8;
}

.toggle-password {
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: #47506a;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.8rem;
    accent-color: #c7a663;
    transform: scale(1.1);
}

.forgot-password {
    color: #c7a663;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-password::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c7a663;
    transition: width 0.3s ease;
}

.forgot-password:hover::after {
    width: 100%;
}

.forgot-password:hover {
    color: #a68a4f;
}

/* Enhanced Button Styling for Visibility (original + Woo) */
.submit-button,
.login-form button[type="submit"],
.woocommerce .woocommerce-Button.button,
.woocommerce .woocommerce-form-login__submit,
.woocommerce .woocommerce-form-register__submit,
.woocommerce .woocommerce-Button--alt {
    background: linear-gradient(135deg, #222785 0%, #10203e 100%) !important;
    color: white !important;
    border: none !important;
    padding: 1.2rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    box-shadow: 0 4px 15px rgba(34, 39, 133, 0.3) !important;
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 50px !important;
}

.submit-button i,
.login-form button[type="submit"] i,
.woocommerce .woocommerce-Button.button i {
    font-size: 1.1rem !important;
}

.submit-button:hover,
.login-form button[type="submit"]:hover,
.woocommerce .woocommerce-Button.button:hover,
.woocommerce .woocommerce-form-login__submit:hover,
.woocommerce .woocommerce-form-register__submit:hover,
.woocommerce .woocommerce-Button--alt:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(34, 39, 133, 0.4) !important;
    color: white !important;
}

.submit-button:active,
.login-form button[type="submit"]:active,
.woocommerce .woocommerce-Button.button:active,
.woocommerce .woocommerce-form-login__submit:active,
.woocommerce .woocommerce-form-register__submit:active,
.woocommerce .woocommerce-Button--alt:active {
    transform: translateY(0) !important;
}

.login-footer {
    position: relative;
    z-index: 1;
}

.login-footer p {
    color: #5e6b8a;
    font-size: 0.95rem;
}

.support-link {
    color: #c7a663;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: #a68a4f;
    text-decoration: underline;
}

/* WP-Members Specific Overrides (for when shortcode renders the button) */
#wpmem_login .button,
#wpmem_login input[type="submit"] {
    background: linear-gradient(135deg, #222785 0%, #10203e 100%) !important;
    color: white !important;
    border: none !important;
    padding: 1.2rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(34, 39, 133, 0.3) !important;
}

#wpmem_login .button:hover,
#wpmem_login input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(34, 39, 133, 0.4) !important;
}

/* WooCommerce-Specific Overrides (inputs, rows, messages) */
.woocommerce-MyAccount-content .woocommerce,
.woocommerce form {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    z-index: 1 !important;
    text-align: left !important;
}

.woocommerce form .form-row,
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    margin-bottom: 1.8rem !important;
    text-align: left !important;
    position: relative !important;
}

.woocommerce form .form-row label,
.woocommerce form .form-row-first label,
.woocommerce form .form-row-last label {
    display: flex !important;
    align-items: center !important;
    font-weight: 500 !important;
    color: #10203e !important;
    margin-bottom: 0.8rem !important;
    font-size: 1rem !important;
}

.woocommerce form .form-row label i,
.woocommerce form .form-row-first label i,
.woocommerce form .form-row-last label i {
    margin-right: 0.8rem !important;
    color: #c7a663 !important;
    width: 18px !important;
    font-size: 1.1rem !important;
}

.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row-first input,
.woocommerce form .form-row-last input {
    width: 100% !important;
    padding: 1.2rem 1rem 1.2rem 2.5rem !important;
    border: 2px solid #e1e5e9 !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background: white !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05) !important;
}

.woocommerce form .form-row input:focus,
.woocommerce form .form-row-first input:focus,
.woocommerce form .form-row-last input:focus {
    outline: none !important;
    border-color: #c7a663 !important;
    box-shadow: 0 0 0 4px rgba(199, 166, 99, 0.15), inset 0 1px 2px rgba(0,0,0,0.05) !important;
    transform: translateY(-1px) !important;
}

.woocommerce form .form-row input::placeholder,
.woocommerce form .form-row-first input::placeholder,
.woocommerce form .form-row-last input::placeholder {
    color: #9ca3af !important;
    opacity: 0.8 !important;
}

/* Woo Checkbox (remember me) */
.woocommerce form .input-checkbox,
.woocommerce form .form-row .input-checkbox {
    width: auto !important;
    margin-right: 0.8rem !important;
    accent-color: #c7a663 !important;
    transform: scale(1.1) !important;
}

/* Woo Form Options (checkbox + lost password) */
.woocommerce form .form-row-last,
.form-options {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
    font-size: 0.95rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.woocommerce form .form-row-last label,
.checkbox-label {
    display: flex !important;
    align-items: center !important;
    color: #47506a !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

/* Woo Lost Password Link */
.woocommerce-LostPassword a,
.woocommerce form .lost_password a,
.forgot-password {
    color: #c7a663 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.woocommerce-LostPassword a::after,
.woocommerce form .lost_password a::after,
.forgot-password::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 1px !important;
    background: #c7a663 !important;
    transition: width 0.3s ease !important;
}

.woocommerce-LostPassword a:hover::after,
.woocommerce form .lost_password a:hover::after,
.forgot-password:hover::after {
    width: 100% !important;
}

.woocommerce-LostPassword a:hover,
.woocommerce form .lost_password a:hover,
.forgot-password:hover {
    color: #a68a4f !important;
}

/* Form Error/Success States (Woo + custom) */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.login-form .error,
#wpmem_login .wpmem-msg.error {
    color: #dc3545 !important;
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
    display: block !important;
    background: #fee !important;
    padding: 0.8rem !important;
    border-radius: 8px !important;
    border-left: 4px solid #dc3545 !important;
}

.woocommerce-message,
.login-form .success,
#wpmem_login .wpmem-msg.success {
    color: #28a745 !important;
    background: #efe !important;
    border-left-color: #28a745 !important;
}

/* Loading State for Button (if JS adds .loading class on submit) */
.submit-button.loading,
.login-form button[type="submit"].loading,
.woocommerce .woocommerce-Button.loading,
.woocommerce .woocommerce-form-login__submit.loading,
.woocommerce .woocommerce-form-register__submit.loading,
#wpmem_login .button.loading,
#wpmem_login input[type="submit"].loading {
    opacity: 0.8 !important;
    cursor: not-allowed !important;
}

.submit-button.loading::after,
.login-form button[type="submit"].loading::after,
.woocommerce .woocommerce-Button.loading::after,
.woocommerce .woocommerce-form-login__submit.loading::after,
.woocommerce .woocommerce-form-register__submit.loading::after,
#wpmem_login .button.loading::after,
#wpmem_login input[type="submit"].loading::after {
    content: '' !important;
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    margin: auto !important;
    border: 2px solid transparent !important;
    border-top-color: white !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-hero-img[src=""], .login-hero-img:not([src]) {
    display: none; /* Hide if no src */
}

.login-hero-img::before {
    content: 'Wellness Scene'; /* Custom fallback text */
    display: block;
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
    color: #c7a663;
    font-style: italic;
    text-align: center;
    padding: 4rem;
    border-radius: 25px;
    border: 2px dashed #c7a663;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }

    .login-hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .login-hero-title {
        font-size: 2.2rem;
    }

    .login-hero-img {
        max-width: 300px;
        transform: none;
    }

    .login-hero:hover .login-hero-img {
        transform: none;
    }

    .login-wrapper {
        padding: 2.5rem 2rem;
        margin: 1rem;
    }

    .form-options,
    .woocommerce form .form-row-last {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.8rem !important;
    }

    .submit-button,
    .login-form button[type="submit"],
    .woocommerce .woocommerce-Button.button,
    .woocommerce .woocommerce-form-login__submit,
    .woocommerce .woocommerce-form-register__submit,
    #wpmem_login .button,
    #wpmem_login input[type="submit"] {
        padding: 1.1rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .login-hero-title {
        font-size: 1.8rem;
    }

    .login-hero-subtitle {
        font-size: 1rem;
    }

    .login-title {
        font-size: 1.8rem;
    }

    .form-group input,
    .woocommerce form .form-row input[type="text"],
    .woocommerce form .form-row input[type="email"],
    .woocommerce form .form-row input[type="password"] {
        padding: 1rem 0.8rem 1rem 2.2rem !important;
    }

    .submit-button,
    .login-form button[type="submit"],
    .woocommerce .woocommerce-Button.button,
    .woocommerce .woocommerce-form-login__submit,
    .woocommerce .woocommerce-form-register__submit,
    #wpmem_login .button,
    #wpmem_login input[type="submit"] {
        min-height: 45px !important;
        font-size: 0.95rem !important;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid #c7a663;
    outline-offset: 2px;
}/* End custom CSS */