/* Reset and hide WordPress page elements */
.entry-header,
.entry-title,
.page-header,
#wrapper-navbar,
.navbar,
.site-header,
header {
    display: none !important;
}

/* Hide site navigation and branding */
.navbar-brand,
.site-branding,
.main-navigation,
.nav,
.menu {
    display: none !important;
}

/* Custom login wrapper */
.custom-login-wrapper {
    max-width: 800px;
    margin: 30px auto 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.custom-login-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.login-column,
.register-column {
    flex: 1;
    max-width: 360px;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

/* Form titles */
.form-title {
    font-size: 20px !important;
    font-weight: 600;
    color: #1a202c;
    text-align: center;
    margin: 0 0 25px 0 !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #4299e1;
}

/* Form fields */
.form-field {
    margin-bottom: 18px !important;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 6px;
}

.form-input {
    width: 100% !important;
    padding: 12px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: #4299e1 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Checkbox field */
.checkbox-field {
    margin: 15px 0 20px 0 !important;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
}

.checkbox-input {
    width: auto !important;
    margin: 0 8px 0 0 !important;
    accent-color: #4299e1;
}

/* Form buttons */
.form-button {
    width: 100% !important;
    background: #4299e1;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin: 10px 0 15px 0;
}

.form-button:hover {
    background: #3182ce;
}

.form-button:active {
    background: #2c5282;
}

/* Lost password link */
.lost-password {
    text-align: center;
    margin: 15px 0 0 0 !important;
}

.lost-password a {
    color: #4299e1;
    text-decoration: none;
    font-size: 13px;
}

.lost-password a:hover {
    text-decoration: underline;
}

/* Password note for registration */
.password-note {
    font-size: 11px;
    color: #718096;
    background: #f7fafc;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    margin: 10px 0 15px 0;
    line-height: 1.3;
}

/* Privacy policy and terms text */
.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper,
.custom-login-wrapper .woocommerce-privacy-policy-text p,
.custom-login-wrapper .terms {
    font-size: 10px !important;
    color: #a0aec0 !important;
    line-height: 1.2 !important;
    margin: 5px 0 10px 0 !important;
    padding: 5px !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .custom-login-wrapper {
        padding: 15px;
    }
    
    .custom-login-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .login-column,
    .register-column {
        max-width: none;
        padding: 25px;
    }
    
    .form-title {
        font-size: 18px !important;
    }
}

/* Hide all WooCommerce default styling on this page */
body.woocommerce-account .woocommerce {
    font-family: inherit;
}

body.woocommerce-account .woocommerce h1,
body.woocommerce-account .woocommerce h2,
body.woocommerce-account .woocommerce h3 {
    font-family: inherit;
}

/* Remove any default margins/padding that might interfere */
body.woocommerce-account .woocommerce .u-columns,
body.woocommerce-account .woocommerce .col2-set,
body.woocommerce-account .woocommerce #customer_login {
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
}

/* Ensure body and main containers have minimal spacing at top */
body.woocommerce-account {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.woocommerce-account #content,
body.woocommerce-account #main,
body.woocommerce-account .container,
body.woocommerce-account .row {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Target any potential WordPress container classes */
.site-content,
.content-area,
.wrapper-static {
    padding-top: 0 !important;
    margin-top: 0 !important;
}