.elementor-402 .elementor-element.elementor-element-3494d816{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for container, class: .elementor-element-3494d816 *//* 1. Dashboard Layout Structure */
.woocommerce-account .woocommerce {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    padding: 20px 0;
}

/* 2. Sidebar Navigation Styling */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 20px;
    border: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 8px;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 14px 20px;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 15px;
}

/* Active and Hover States (Shamal Navy & Azure) */
.woocommerce-MyAccount-navigation li.is-active a {
    background: #0A192F !important;
    color: #ffffff !important;
}

.woocommerce-MyAccount-navigation li:not(.is-active) a:hover {
    background: #f1f5f9;
    color: #5185b3;
    padding-left: 25px;
}

/* 3. Main Content Area Styling */
.woocommerce-MyAccount-content {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    line-height: 1.8;
}

/* 4. Greeting Section Personalization */
.woocommerce-MyAccount-content p:first-of-type {
    font-size: 20px;
    color: #0A192F;
    font-weight: 700;
    margin-bottom: 15px;
}

.woocommerce-MyAccount-content p:first-of-type strong {
    color: #5185b3;
}

/* 5. Responsive Fix for Mobile */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }
    .woocommerce-MyAccount-navigation {
        flex: 1 0 auto;
        width: 100%;
    }
}

/* Container for Address Cards */
.woocommerce-Addresses {
    display: flex !important;
    gap: 30px;
    margin-top: 20px;
}

.woocommerce-Address {
    flex: 1;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 12px;
    padding: 25px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Header & Title Styling */
.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.woocommerce-Address-title h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0A192F !important;
    margin: 0 !important;
}

/* Edit Button Styling */
.woocommerce-Address-title .edit {
    font-size: 13px;
    font-weight: 600;
    color: #5185b3 !important;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #5185b3;
    padding: 5px 12px;
    border-radius: 6px;
    transition: 0.3s;
}

.woocommerce-Address-title .edit:hover {
    background: #5185b3;
    color: #fff !important;
}

/* Empty Address Text */
address {
    font-style: normal;
    color: #64748b;
    line-height: 1.6;
}

/* Form Field Styling */
.woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px;
}

.woocommerce-EditAccountForm label {
    display: block;
    font-weight: 600;
    color: #0A192F;
    margin-bottom: 8px;
    font-size: 14px;
}

.woocommerce-EditAccountForm input.input-text {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    transition: border-color 0.3s;
}

.woocommerce-EditAccountForm input.input-text:focus {
    border-color: #5185b3 !important;
    outline: none;
    background-color: #fff !important;
}

/* Password Fieldset Styling */
.woocommerce-EditAccountForm fieldset {
    margin-top: 40px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f1f5f9;
}

.woocommerce-EditAccountForm fieldset legend {
    font-weight: 700;
    color: #0A192F;
    padding: 0 10px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Save Changes Button */
.woocommerce-EditAccountForm .button {
    background-color: #0A192F !important;
    color: #fff !important;
    padding: 15px 35px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: 0.3s;
    cursor: pointer;
}

.woocommerce-EditAccountForm .button:hover {
    background-color: #5185b3 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(81, 133, 179, 0.3);
}

/* Title Styling */
.woocommerce-MyAccount-content h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0A192F !important;
    margin-bottom: 30px !important;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

/* Form Container */
.woocommerce-address-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Split into two columns */
    gap: 20px;
}

/* Make wide fields span both columns (Email, Company, Country, Address) */
#billing_email_field, 
#billing_company_field, 
#billing_country_field, 
#billing_address_1_field, 
#billing_address_2_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#billing_phone_field {
    grid-column: span 2;
}

/* Keep First and Last Name side-by-side */
#billing_first_name_field, 
#billing_last_name_field {
    grid-column: span 1;
}

/* Label Styling */
.woocommerce-address-fields label {
    display: block;
    font-weight: 600 !important;
    color: #0A192F !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

/* Input & Select Styling */
.woocommerce-address-fields input.input-text,
.woocommerce-address-fields select,
.select2-container--default .select2-selection--single {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    height: auto !important;
    font-family: 'Inter', sans-serif !important;
}

/* Focus State */
.woocommerce-address-fields input.input-text:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #5185b3 !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* Button Positioning */
.woocommerce-address-fields p:last-child {
    grid-column: span 2;
    margin-top: 30px;
}

.woocommerce-address-fields .button {
    background-color: #0A192F !important; /* Shamal Navy */
    color: #ffffff !important;
    padding: 16px 40px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce-address-fields .button:hover {
    background-color: #5185b3 !important; /* Shamal Azure */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 25, 47, 0.2);
}

/* Responsive for Mobile */
@media (max-width: 600px) {
    .woocommerce-address-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
    #billing_first_name_field, 
    #billing_last_name_field {
        grid-column: span 1;
    }
}

/* =========================================
   REFINED CSS ACCORDION - INTERACTIVE FIX
   ========================================= */

/* 1. THE PARENT CONTAINER */
.u-columns.col2-set {
    display: flex !important;
    max-width: 900px !important;
    margin: 60px auto !important;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    background: #ffffff;
    height: 600px;
}

/* 2. COLUMN BASE STYLES */
.u-column1, .u-column2 {
    position: relative;
    flex: 1 !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 40px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    min-width: 60px; /* Ensures the vertical tab is always visible */
}

/* 3. LOGIC: OPEN LOGIN BY DEFAULT */
.u-column1 { flex: 10 !important; z-index: 2; }
.u-column2 { flex: 1 !important; background: #f8fafc !important; cursor: pointer; z-index: 1; }

/* 4. INTERACTION FIX: Stay open on Login Hover */
.u-columns.col2-set:has(.u-column1:hover) .u-column1 {
    flex: 10 !important;
}

/* Expand Register ONLY when specifically hovered */
.u-columns.col2-set .u-column2:hover {
    flex: 10 !important;
    background: #ffffff !important;
    cursor: default;
}

/* Shrink Login ONLY when Register is hovered */
.u-columns.col2-set:has(.u-column2:hover) .u-column1 {
    flex: 1 !important;
    background: #f8fafc !important;
    opacity: 0.5;
}

/* 5. FORM VISIBILITY */
.u-column1 form, .u-column2 form {
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

/* Show Login form when Login is dominant */
.u-columns.col2-set:not(:has(.u-column2:hover)) .u-column1 form { 
    opacity: 1; 
    pointer-events: auto; 
}

/* Show Register form when Register is hovered */
.u-column2:hover form { 
    opacity: 1; 
    pointer-events: auto; 
}

/* 6. VERTICAL TEXT ROTATION */
.u-column1 h2, .u-column2 h2 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    color: #0A192F !important;
    transition: all 0.5s ease;
}

/* Collapsed State for Login */
.u-columns.col2-set:has(.u-column2:hover) .u-column1 h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    white-space: nowrap;
    opacity: 0.4;
    font-size: 18px;
}

/* Collapsed State for Register */
.u-columns.col2-set:not(:has(.u-column2:hover)) .u-column2 h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    white-space: nowrap;
    opacity: 0.4;
    font-size: 18px;
}

/* Expanded State for Titles */
.u-columns.col2-set:not(:has(.u-column2:hover)) .u-column1 h2,
.u-column2:hover h2 {
    position: static;
    transform: none;
    opacity: 1;
    text-align: left;
    font-size: 28px;
    margin-bottom: 30px !important;
}

/* 7. QUICK MOBILE STACK FIX */
@media (max-width: 768px) {
    .u-columns.col2-set { display: block !important; height: auto !important; }
    .u-column1, .u-column2 { display: block !important; width: 100% !important; margin-bottom: 20px; }
    .u-column1 h2, .u-column2 h2 { position: static !important; transform: none !important; opacity: 1 !important; }
    .u-column1 form, .u-column2 form { opacity: 1 !important; pointer-events: auto !important; }
}

/* =======INTERIOR UI POLISH - INPUTS & BUTTONS=============== */

/* 1. TYPOGRAPHY & TITLES */
.woocommerce h2 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 800 !important;
    color: #0A192F !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 2. INPUT FIELD STYLING (The "Glass" Look) */
.woocommerce-Input.input-text {
    width: 100% !important;
    padding: 14px 18px !important;
    background: #f8fafc !important; /* Soft studio grey */
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #0A192F !important;
    transition: all 0.3s ease !important;
}

.woocommerce-Input.input-text:focus {
    background: #ffffff !important;
    border-color: #5185b3 !important; /* Shamal Azure */
    box-shadow: 0 0 0 4px rgba(81, 133, 179, 0.1) !important;
    outline: none !important;
}

/* 3. FIELD LABELS */
.woocommerce-form-row label {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: #475569 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px !important;
    display: block;
}

/* 4. THE BUTTONS (Navy Pill Style) */
.woocommerce-button.button {
    display: inline-block !important;
    width: 60% !important;
    background-color: #0A192F !important; /* Shamal Navy */
    color: #ffffff !important;
    padding: 16px 0 !important;
    border-radius: 50px !important; /* Pill shape */
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 15px !important;
}

.woocommerce-button.button:hover {
    background-color: #5185b3 !important; /* Shamal Azure */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 25, 47, 0.15) !important;
}

/* 5. CHECKBOX & LINKS */
.woocommerce-form__label-for-checkbox {
    font-weight: 500 !important;
    text-transform: none !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    margin-top: 10px !important;
}

.woocommerce-form__input-checkbox {
    width: 18px !important;
    height: 18px !important;
    accent-color: #0A192F;
}

.lost_password a, 
.woocommerce-privacy-policy-link {
    color: #5185b3 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.lost_password a:hover {
    color: #0A192F !important;
    text-decoration: underline !important;
}

/* 6. HIDE EXTRA ELEMENTS */
.woocommerce-form br {
    display: none !important;
}

.password-input {
    display: block !important;
    position: relative;
}

/* Eye icon for password toggle */
.show-password-input {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}/* End custom CSS */