/* WooCommerce My Account Styles for eSIM Modern Theme */
/* Supports both light and dark theme modes */

/* General Layout */
.woocommerce-my-account-wrapper {
    padding: 30px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    max-width: 280px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 300px;
}

/* Navigation Panel */
.woocommerce-MyAccount-navigation {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

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

.woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--glass-border);
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: var(--light-text);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    font-size: 15px;
}

.woocommerce-MyAccount-navigation li a::before {
    font-family: 'dashicons';
    margin-right: 10px;
    font-size: 18px;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "\f226";
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "\f174";
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: "\f316";
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "\f230";
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "\f110";
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "\f310";
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background: rgba(12, 224, 107, 0.1);
    color: var(--primary-green);
}

.woocommerce-MyAccount-navigation li.is-active a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-green);
}

/* Content Area - Enhanced consistency */
.woocommerce-MyAccount-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    padding: 30px;
    box-shadow: var(--shadow-medium);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.woocommerce-MyAccount-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green) 0%, transparent 100%);
    z-index: 1;
}

.woocommerce-MyAccount-content mark {
    background-color: rgba(12, 224, 107, 0.2);
    color: var(--primary-green);
    padding: 2px 5px;
    border-radius: 4px;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content legend {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.woocommerce-MyAccount-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--light-text);
}

.woocommerce-MyAccount-content a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
    transform: translateX(2px);
}

/* Welcome Message - Dashboard Area */
.woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper {
    margin-bottom: 30px;
}

/* Dashboard Welcome Message Styling */
.woocommerce-MyAccount-content p:first-of-type {
    background: linear-gradient(135deg, rgba(12, 224, 107, 0.1) 0%, rgba(12, 224, 107, 0.05) 100%);
    border: 1px solid rgba(12, 224, 107, 0.2);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(12, 224, 107, 0.1);
    position: relative;
    overflow: hidden;
    line-height: 1.8 !important;
    letter-spacing: 0.5px !important;
    word-spacing: 2px !important;
}

.woocommerce-MyAccount-content p:first-of-type::before {
    content: "👋";
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.woocommerce-MyAccount-content p:first-of-type::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-green);
    border-radius: 0 0 0 12px;
}

/* Dashboard Description Text */
.woocommerce-MyAccount-content p:nth-of-type(2) {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    border-left: 3px solid var(--primary-green);
}

/* WooCommerce Form Field Styling Override */
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
    font-family: inherit;
    font-weight: 400;
    letter-spacing: normal;
    padding: .5em;
    display: block;
    background-color: var(--wc-form-color-background, #fff);
    border: var(--wc-form-border-width) solid var(--wc-form-border-color);
    border-radius: var(--wc-form-border-radius);
    color: var(--wc-form-color-text, #000);
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    line-height: normal;
    height: auto;
}

/* Form Elements */
.woocommerce-MyAccount-content .form-row {
    margin-bottom: 20px;
}

.woocommerce-MyAccount-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light-text);
}

.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--light-text);
    font-size: 15px;
    transition: all 0.2s;
}

.woocommerce-MyAccount-content input[type="text"]:focus,
.woocommerce-MyAccount-content input[type="email"]:focus,
.woocommerce-MyAccount-content input[type="password"]:focus,
.woocommerce-MyAccount-content input[type="tel"]:focus,
.woocommerce-MyAccount-content select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2);
}

/* Buttons */
.woocommerce-MyAccount-content .button,
.woocommerce-address-fields .button,
.woocommerce-EditAccountForm .button {
    background: var(--primary-green);
    color: #000;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: var(--shadow-glow);
    margin-top: 10px;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-address-fields .button:hover,
.woocommerce-EditAccountForm .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(12, 224, 107, 0.5);
}

/* Tables - Orders & Downloads */
.woocommerce-MyAccount-content table.shop_table,
.woocommerce-MyAccount-content table.woocommerce-orders-table,
.woocommerce-MyAccount-content table.woocommerce-table--order-downloads {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.1);
}

.woocommerce-MyAccount-content table th {
    background: rgba(12, 224, 107, 0.1);
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.woocommerce-MyAccount-content table td {
    padding: 16px 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--light-text);
}

.woocommerce-MyAccount-content table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Orders - Enhanced Styling */
.woocommerce-orders-table__cell-order-actions .button {
    padding: 8px 16px;
    font-size: 12px;
    margin: 3px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.woocommerce-orders-table__cell-order-number a {
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    padding: 4px 8px;
    background: rgba(12, 224, 107, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.woocommerce-orders-table__cell-order-number a:hover {
    background: rgba(12, 224, 107, 0.2);
    transform: translateX(2px);
}

.woocommerce-orders-table__cell-order-status {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.woocommerce-orders-table__cell-order-status .status-completed {
    color: var(--primary-green);
    background: rgba(12, 224, 107, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(12, 224, 107, 0.3);
}

.woocommerce-orders-table__cell-order-status .status-processing {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.woocommerce-orders-table__cell-order-status .status-on-hold {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.woocommerce-orders-table__cell-order-status .status-cancelled {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Order Total Styling */
.woocommerce-orders-table__cell-order-total {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 15px;
}

/* Order Date Styling */
.woocommerce-orders-table__cell-order-date {
    font-size: 13px;
    color: var(--light-text);
    opacity: 0.8;
}

/* No Orders Message - Enhanced Styling */
.woocommerce-message.woocommerce-message--info {
    background: linear-gradient(135deg, rgba(12, 224, 107, 0.08) 0%, rgba(12, 224, 107, 0.03) 100%);
    border: 1px solid rgba(12, 224, 107, 0.2);
    border-radius: 16px;
    padding: 0;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(12, 224, 107, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.woocommerce-message.woocommerce-message--info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-green);
}

.no-orders-content {
    text-align: center;
    padding: 40px 30px;
    color: var(--light-text);
}

.no-orders-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.no-orders-content h3 {
    color: var(--primary-green);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-orders-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.8;
    line-height: 1.6;
}

.no-orders-content .button {
    background: var(--primary-green);
    color: #000;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(12, 224, 107, 0.3);
}

.no-orders-content .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(12, 224, 107, 0.4);
}

/* Downloads */
.woocommerce-table--order-downloads {
    margin-top: 20px;
}

.download-product a {
    font-weight: 600;
}

.download-file .button {
    padding: 8px 16px;
    font-size: 12px;
    margin: 3px;
    display: inline-flex;
    align-items: center;
}

.download-file .button::before {
    content: "\f316";
    font-family: 'dashicons';
    margin-right: 5px;
    font-size: 16px;
}

/* Addresses - Enhanced with single billing address */
.woocommerce-Addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

/* Gönderim adresini gizle - sadece fatura adresi göster */
.woocommerce-Address[data-id="shipping"],
.u-column2.col-2 {
    display: none !important;
}

/* Fatura adresini tam genişlik yap */
.woocommerce-Address[data-id="billing"],
.u-column1.col-1 {
    flex: 1;
    max-width: 100% !important;
    width: 100% !important;
}

.woocommerce-Addresses .woocommerce-Address {
    flex: 1;
    min-width: 300px;
    max-width: 600px; /* Çok geniş olmasını engelle */
    margin: 0 auto; /* Ortala */
}

.woocommerce-Address {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.woocommerce-Address:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Fatura adresi başlık hizalaması */
.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
    min-height: 40px;
}

.woocommerce-Address-title h3 {
    color: var(--primary-green);
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    flex: 1; /* Başlığın esneklik kazanması */
}

/* 'Fatura adresi ekle' butonu hizalaması */
.woocommerce-Address .edit {
    background: rgba(12, 224, 107, 0.1);
    color: var(--primary-green);
    font-size: 13px;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap; /* Butonun kırılmasını engelle */
    margin-left: 10px; /* Başlıktan biraz uzaklık */
}

.woocommerce-Address .edit:hover {
    background: rgba(12, 224, 107, 0.2);
    text-decoration: none;
    transform: translateX(2px);
}

/* Edit Address Page - Modern Design */
.address-edit-container {
    max-width: 800px;
    margin: 0 auto;
}

.address-selection-notice {
    background: linear-gradient(135deg, rgba(12, 224, 107, 0.08) 0%, rgba(12, 224, 107, 0.03) 100%);
    border: 1px solid rgba(12, 224, 107, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notice-content h3 {
    color: var(--primary-green);
    margin-bottom: 8px;
    font-size: 18px;
}

.notice-content p {
    margin: 0;
    opacity: 0.8;
}

.address-options {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.address-option-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.address-option-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.address-card-header h4 {
    color: var(--primary-green);
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.address-status {
    background: rgba(12, 224, 107, 0.2);
    color: var(--primary-green);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.address-card-content p {
    margin-bottom: 15px;
    color: var(--light-text);
    opacity: 0.8;
}

.address-edit-btn {
    background: var(--primary-green);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.address-edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(12, 224, 107, 0.3);
}

/* Address Form Styling */
.address-form-header {
    margin-bottom: 30px;
}

.form-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.form-title {
    color: var(--primary-green);
    font-size: 24px;
    margin: 0;
}

.back-to-addresses {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    background: rgba(12, 224, 107, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.back-to-addresses:hover {
    background: rgba(12, 224, 107, 0.2);
    transform: translateX(-2px);
}

.address-fields-wrapper {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
}

.fields-section-title {
    color: var(--primary-green);
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.woocommerce-Address-title h3 {
    color: var(--primary-green);
    margin-bottom: 0;
    font-size: 16px; /* Küçültüldü, önceki boyut büyüktü */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Adres başlıkları için ek stil düzeltmeleri */
.woocommerce-Addresses h2 {
    font-size: 20px; /* Ana başlığı da biraz küçülttük */
    margin-bottom: 20px;
    color: var(--primary-green);
}

.woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
    min-height: 40px; /* Minimum yükseklik */
}

.woocommerce-Address address {
    font-style: normal;
    line-height: 1.8;
    color: var(--light-text);
}

.woocommerce-Address .edit {
    background: rgba(12, 224, 107, 0.1);
    color: var(--primary-green);
    font-size: 13px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s;
}

.woocommerce-Address .edit:hover {
    background: rgba(12, 224, 107, 0.2);
    text-decoration: none;
}

/* Payment Methods */
.woocommerce-MyAccount-content .payment-methods-section {
    margin-top: 30px;
}

.payment-method-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
}

/* Account Details - Remove hand icons and enhance styling */
.woocommerce-EditAccountForm fieldset {
    margin-top: 30px;
    padding: 25px;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.1);
}

.woocommerce-EditAccountForm legend {
    padding: 0 10px;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 16px;
}

.woocommerce-EditAccountForm .button {
    margin-top: 20px;
}

/* HER TÜRLÜ İKONU KALDIRMA - EN YÜKSEK ÖNCELİK */
/* EXCLUDE mobile header icons from hiding */
.woocommerce-MyAccount-content *[class*="icon"]:not(.cart-contents):not(.mobile-customer-panel)::before,
.woocommerce-MyAccount-content *[class*="Icon"]:not(.cart-contents):not(.mobile-customer-panel)::before,
.woocommerce *:not(.cart-contents):not(.mobile-customer-panel)::before,
.woocommerce-EditAccountForm *:not(.cart-contents):not(.mobile-customer-panel)::before,
.woocommerce-MyAccount-content *:not(.cart-contents):not(.mobile-customer-panel)::before,
.form-row *:not(.cart-contents):not(.mobile-customer-panel)::before,
.woocommerce-address-fields *:not(.cart-contents):not(.mobile-customer-panel)::before,
.modern-account-form *:not(.cart-contents):not(.mobile-customer-panel)::before,
.modern-address-form *:not(.cart-contents):not(.mobile-customer-panel)::before,
.account-details-container *:not(.cart-contents):not(.mobile-customer-panel)::before,
.address-edit-container *:not(.cart-contents):not(.mobile-customer-panel)::before,
.woocommerce-form-row *:not(.cart-contents):not(.mobile-customer-panel)::before,
.edit-account *:not(.cart-contents):not(.mobile-customer-panel)::before,
label:not(.cart-contents):not(.mobile-customer-panel)::before,
label:not(.cart-contents):not(.mobile-customer-panel)::after,
.title-icon:not(.cart-contents):not(.mobile-customer-panel),
.section-icon:not(.cart-contents):not(.mobile-customer-panel),
.btn-icon:not(.cart-contents):not(.mobile-customer-panel),
.notice-icon:not(.cart-contents):not(.mobile-customer-panel) {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -1 !important;
}

/* PRESERVE mobile header icons */
.cart-contents,
.mobile-customer-panel,
.cart-contents *,
.mobile-customer-panel * {
    display: inherit !important;
    visibility: inherit !important;
    opacity: inherit !important;
}

/* ULTIMATE ICON KILLER - TARGET EVERYTHING */
.woocommerce *[class*="emoji"],
.woocommerce *[class*="hand"],
.woocommerce *[class*="palm"], 
.woocommerce *[class*="finger"],
.woocommerce *[data-emoji],
.woocommerce span[style*="emoji"],
.woocommerce i[class*="fa"],
.woocommerce i[class*="icon"],
.woocommerce .dashicons,
.woocommerce .material-icons,
/* Target WordPress emoji spans */
.woocommerce img.emoji,
.woocommerce img.wp-smiley,
.woocommerce .wp-emoji,
.woocommerce .emoji,
/* Target any element that contains only emoji characters */
.woocommerce span:empty::before,
.woocommerce span:empty::after {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
    content: "" !important;
    background: none !important;
    border: none !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -9999 !important;
}

/* NUCLEAR OPTION - HIDE ALL PSEUDO ELEMENTS IN FORMS */
/* EXCLUDE mobile header icons from hiding */
.woocommerce-MyAccount-content *:not(.cart-contents):not(.mobile-customer-panel):before,
.woocommerce-MyAccount-content *:not(.cart-contents):not(.mobile-customer-panel):after,
.woocommerce-EditAccountForm *:not(.cart-contents):not(.mobile-customer-panel):before,
.woocommerce-EditAccountForm *:not(.cart-contents):not(.mobile-customer-panel):after,
.modern-account-form *:not(.cart-contents):not(.mobile-customer-panel):before,
.modern-account-form *:not(.cart-contents):not(.mobile-customer-panel):after,
.modern-address-form *:not(.cart-contents):not(.mobile-customer-panel):before,
.modern-address-form *:not(.cart-contents):not(.mobile-customer-panel):after {
    content: "" !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -9999 !important;
}

/* FORCE CLEAN LABELS */
.woocommerce-EditAccountForm label,
.woocommerce-MyAccount-content label,
.modern-account-form label,
.modern-address-form label {
    position: relative;
    background: none !important;
    border: none !important;
}

.woocommerce-EditAccountForm label *,
.woocommerce-MyAccount-content label *,
.modern-account-form label *,
.modern-address-form label * {
    background: none !important;
    border: none !important;
}

/* HIDE ANYTHING THAT LOOKS LIKE AN EMOJI */
*[aria-label*="emoji"],
*[title*="emoji"],
*[alt*="emoji"],
*[data-emoji] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* EMOJI ve Font Icon kaldırma - EXCLUDE mobile header icons */
.woocommerce *[class*="emoji"]:not(.cart-contents):not(.mobile-customer-panel),
.woocommerce *[class*="dashicon"]:not(.cart-contents):not(.mobile-customer-panel),
.woocommerce *[class*="fa-"]:not(.cart-contents):not(.mobile-customer-panel),
.woocommerce *[data-icon]:not(.cart-contents):not(.mobile-customer-panel),
*[class*="icon-"]:not(.cart-contents):not(.mobile-customer-panel) {
    display: none !important;
}

/* BUTTON içindeki ikonları kaldır */
.modern-save-btn *,
.address-edit-btn *,
.woocommerce-Button * {
    display: none;
}

.modern-save-btn,
.address-edit-btn,
.woocommerce-Button {
    text-align: center;
}

/* Temiz label stili - İKON YOK */
.woocommerce-EditAccountForm label::before,
.woocommerce-MyAccount-content label::before,
.form-row label::before,
.woocommerce-address-fields label::before,
.modern-account-form label::before,
.modern-address-form label::before,
.account-details-container label::before,
.address-edit-container label::before,
.woocommerce-form-row label::before,
.edit-account label::before {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

/* Temiz label stili */
.clean-label,
.woocommerce-EditAccountForm .form-row label,
.woocommerce-MyAccount-content .form-row label,
.modern-account-form label,
.modern-address-form label {
    position: relative;
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 8px;
    font-weight: 500;
    display: block;
}

/* Modern input stili */
.modern-input,
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"],
.modern-address-form input[type="text"],
.modern-address-form input[type="email"],
.modern-address-form select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--light-text);
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.modern-input:focus,
.woocommerce-EditAccountForm input[type="text"]:focus,
.woocommerce-EditAccountForm input[type="email"]:focus,
.woocommerce-EditAccountForm input[type="password"]:focus,
.modern-address-form input:focus,
.modern-address-form select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2);
}

/* Account Details Container */
.account-details-container {
    max-width: 800px;
    margin: 0 auto;
}

.account-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(12, 224, 107, 0.08) 0%, rgba(12, 224, 107, 0.03) 100%);
    border: 1px solid rgba(12, 224, 107, 0.2);
    border-radius: 12px;
}

.account-form-header .form-title {
    color: var(--primary-green);
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-description {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
}

.account-info-section,
.password-section {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
}

.section-title {
    color: var(--primary-green);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

/* Form Field Layout Improvements */
.form-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Ensure all grid fields have equal width */
.form-fields-grid .woocommerce-form-row {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.form-fields-grid .form-row-first,
.form-fields-grid .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Specific fix for consistent input styling */
.form-fields-grid input[type="text"],
.form-fields-grid input[type="email"],
.form-fields-grid input[type="password"] {
    width: 100% !important;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--light-text);
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-fields-grid input[type="text"]:focus,
.form-fields-grid input[type="email"]:focus,
.form-fields-grid input[type="password"]:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2);
}

/* Full width form fields */
.form-field-full {
    grid-column: 1 / -1;
    width: 100%;
}

.form-field-full .woocommerce-form-row {
    width: 100%;
}

/* Individual form row styling */
.woocommerce-form-row {
    width: 100%;
    margin-bottom: 20px;
}

.woocommerce-form-row input[type="text"],
.woocommerce-form-row input[type="email"],
.woocommerce-form-row input[type="password"] {
    width: 100%;
    box-sizing: border-box;
}

/* Password fields container */
.password-fields {
    width: 100%;
}

.password-fields .form-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.password-fields .woocommerce-form-row--wide {
    grid-column: 1 / -1;
}

/* Force equal width for password fields */
.password-fields .form-fields-grid .woocommerce-form-row {
    width: 100% !important;
    flex: 1 !important;
    box-sizing: border-box;
}

.password-fields .form-fields-grid .woocommerce-form-row input {
    width: 100% !important;
    box-sizing: border-box;
}

/* Override WooCommerce default width classes */
.password-fields .form-fields-grid .form-row-first,
.password-fields .form-fields-grid .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Ensure labels are consistent */
.password-fields .form-fields-grid label {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--light-text);
}

/* Remove any conflicting WooCommerce form styles */
.password-fields .form-fields-grid .woocommerce-form-row::before,
.password-fields .form-fields-grid .woocommerce-form-row::after {
    display: none !important;
}

/* Clear any floats */
.password-fields .form-fields-grid::after {
    content: "";
    display: table;
    clear: both;
}

/* Address page specific improvements */
.address-edit-container {
    max-width: 800px;
    margin: 0 auto;
}

.address-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(12, 224, 107, 0.08) 0%, rgba(12, 224, 107, 0.03) 100%);
    border: 1px solid rgba(12, 224, 107, 0.2);
    border-radius: 12px;
}

.address-form-header h1 {
    color: var(--primary-green);
    font-size: 24px;
    margin-bottom: 10px;
}

/* Address type selection notice */
.address-selection-notice {
    background: rgba(12, 224, 107, 0.1);
    border: 1px solid rgba(12, 224, 107, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.address-selection-notice h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Address form fields */
.woocommerce-address-fields {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
}

.woocommerce-address-fields h3 {
    color: var(--primary-green);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

/* Mobile responsiveness for forms */
@media (max-width: 768px) {
    .form-fields-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .password-fields .form-fields-grid {
        grid-template-columns: 1fr;
    }
    
    .account-details-container,
    .address-edit-container {
        margin: 0 10px;
    }
    
    .account-form-header,
    .address-form-header {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 14px;
    }
    
    .account-info-section,
    .password-section,
    .woocommerce-address-fields {
        padding: 20px 15px;
    }
}

/* Additional WooCommerce form overrides */
.modern-account-form .woocommerce-form-row {
    margin-bottom: 20px !important;
    width: 100% !important;
}

.modern-account-form .form-row-first,
.modern-account-form .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
}

/* Specific password field fixes */
.password-section .form-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    width: 100% !important;
}

.password-section .form-fields-grid .woocommerce-form-row {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.password-section .form-fields-grid input[type="password"] {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--light-text);
}

/* Remove any WooCommerce default column styling */
.woocommerce-EditAccountForm .col2-set .col-1,
.woocommerce-EditAccountForm .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
}

/* Enhanced password field grid layout */
.password-fields .form-fields-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    align-items: start !important;
}

.password-fields .form-fields-grid > .woocommerce-form-row {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Ensure equal width calculations for password fields */
.password-fields .form-fields-grid .form-row-first,
.password-fields .form-fields-grid .form-row-last {
    width: 100% !important;
    min-width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    flex: 1 !important;
    box-sizing: border-box !important;
}

/* Address form consistency - inherit account styles */
.modern-address-form .woocommerce-address-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.modern-address-form .woocommerce-address-fields__field-wrapper .form-row {
    width: 100% !important;
    margin-bottom: 20px !important;
}

.modern-address-form .woocommerce-address-fields__field-wrapper .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light-text);
    font-size: 14px;
}

.modern-address-form .woocommerce-address-fields__field-wrapper .form-row input,
.modern-address-form .woocommerce-address-fields__field-wrapper .form-row select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--light-text);
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.modern-address-form .woocommerce-address-fields__field-wrapper .form-row input:focus,
.modern-address-form .woocommerce-address-fields__field-wrapper .form-row select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2);
}

/* Wide fields for address form */
.modern-address-form .woocommerce-address-fields__field-wrapper .form-row-wide {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .password-fields .form-fields-grid {
        grid-template-columns: 1fr !important;
    }
    
    .password-fields .form-fields-grid .form-row-first,
    .password-fields .form-fields-grid .form-row-last {
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .modern-address-form .woocommerce-address-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.form-field-full {
    grid-column: 1 / -1;
}

.description {
    font-size: 12px;
    color: var(--light-text);
    opacity: 0.6;
    margin-top: 5px;
}

.password-fields {
    display: grid;
    gap: 15px;
}

.modern-save-btn {
    background: var(--primary-green);
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(12, 224, 107, 0.3);
}

.btn-icon {
    font-size: 16px;
}

.form-actions {
    text-align: center;
    margin-top: 20px;
}

/* Light Theme Overrides */
body.light-theme .woocommerce-MyAccount-content {
    color: #1a1a1a;
}

body.light-theme .woocommerce-MyAccount-content p {
    color: #333;
}

/* Light Theme - Dashboard Welcome Message */
body.light-theme .woocommerce-MyAccount-content p:first-of-type {
    background: linear-gradient(135deg, rgba(4, 122, 58, 0.08) 0%, rgba(4, 122, 58, 0.03) 100%);
    border-color: rgba(4, 122, 58, 0.2);
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(4, 122, 58, 0.08);
}

body.light-theme .woocommerce-MyAccount-content p:nth-of-type(2) {
    background: rgba(0, 0, 0, 0.05);
    color: #555;
    border-left-color: var(--primary-green);
}

body.light-theme .woocommerce-MyAccount-content input[type="text"],
body.light-theme .woocommerce-MyAccount-content input[type="email"],
body.light-theme .woocommerce-MyAccount-content input[type="password"],
body.light-theme .woocommerce-MyAccount-content input[type="tel"],
body.light-theme .woocommerce-MyAccount-content select {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

body.light-theme .woocommerce-MyAccount-navigation li a {
    color: #1a1a1a;
}

body.light-theme .woocommerce-Address,
body.light-theme .woocommerce-EditAccountForm fieldset,
body.light-theme .woocommerce-MyAccount-content table.shop_table,
body.light-theme .woocommerce-MyAccount-content table.woocommerce-orders-table,
body.light-theme .woocommerce-MyAccount-content table.woocommerce-table--order-downloads {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .woocommerce-Address address {
    color: #333;
}

body.light-theme .woocommerce-MyAccount-content table td {
    color: #333;
}

body.light-theme .woocommerce-MyAccount-content table th {
    background: rgba(4, 122, 58, 0.1);
}

body.light-theme .woocommerce-MyAccount-content .button,
body.light-theme .woocommerce-address-fields .button,
body.light-theme .woocommerce-EditAccountForm .button {
    background: var(--primary-green);
    color: white;
}

body.light-theme .woocommerce-Address .edit {
    background: rgba(4, 122, 58, 0.1);
}

/* Light theme order status colors */
body.light-theme .woocommerce-orders-table__cell-order-status .status-completed {
    background: rgba(4, 122, 58, 0.1);
    border-color: rgba(4, 122, 58, 0.3);
}

body.light-theme .woocommerce-orders-table__cell-order-number a {
    background: rgba(4, 122, 58, 0.1);
}

body.light-theme .woocommerce-orders-table__cell-order-number a:hover {
    background: rgba(4, 122, 58, 0.2);
}

/* Light theme - No orders message */
body.light-theme .woocommerce-message.woocommerce-message--info {
    background: linear-gradient(135deg, rgba(4, 122, 58, 0.05) 0%, rgba(4, 122, 58, 0.02) 100%);
    border-color: rgba(4, 122, 58, 0.2);
    box-shadow: 0 8px 25px rgba(4, 122, 58, 0.08);
}

body.light-theme .no-orders-content {
    color: #2c3e50;
}

body.light-theme .no-orders-content h3 {
    color: #2c3e50;
}

body.light-theme .no-orders-content p {
    color: #555;
}

body.light-theme .no-orders-content .button {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 15px rgba(4, 122, 58, 0.3);
}

body.light-theme .no-orders-content .button:hover {
    box-shadow: 0 8px 25px rgba(4, 122, 58, 0.4);
}

/* Light theme - Address and Account Forms */
body.light-theme .address-selection-notice,
body.light-theme .account-form-header {
    background: linear-gradient(135deg, rgba(4, 122, 58, 0.05) 0%, rgba(4, 122, 58, 0.02) 100%);
    border-color: rgba(4, 122, 58, 0.2);
    box-shadow: 0 8px 25px rgba(4, 122, 58, 0.05);
}

body.light-theme .address-option-card,
body.light-theme .address-fields-wrapper,
body.light-theme .account-info-section,
body.light-theme .password-section {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .modern-input,
body.light-theme .modern-address-form input,
body.light-theme .modern-address-form select {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

body.light-theme .notice-content,
body.light-theme .address-card-content,
body.light-theme .form-description {
    color: #555;
}

body.light-theme .notice-content h3,
body.light-theme .address-card-header h4,
body.light-theme .form-title,
body.light-theme .section-title,
body.light-theme .fields-section-title {
    color: #2c3e50;
}

body.light-theme .modern-save-btn,
body.light-theme .address-edit-btn {
    background: var(--primary-green);
    color: white;
}

body.light-theme .address-status {
    background: rgba(4, 122, 58, 0.1);
    border-color: rgba(4, 122, 58, 0.3);
}

body.light-theme .back-to-addresses {
    background: rgba(4, 122, 58, 0.1);
}

body.light-theme .back-to-addresses:hover {
    background: rgba(4, 122, 58, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        margin-top: 0;
        flex-direction: column;
    }
    
    .woocommerce-account .woocommerce-MyAccount-navigation {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .woocommerce-MyAccount-navigation li a {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .woocommerce-MyAccount-content {
        padding: 20px;
    }
    
    .woocommerce-Addresses {
        flex-direction: column;
    }
    
    /* Dashboard welcome message mobil uyumu */
    .woocommerce-MyAccount-content p:first-of-type {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .woocommerce-MyAccount-content p:first-of-type::before {
        font-size: 20px;
    }
    
    /* Adres başlıklarını mobilde daha da küçült */
    .woocommerce-Address-title h3 {
        font-size: 14px;
    }
    
    .woocommerce-Addresses h2 {
        font-size: 18px;
    }
    
    .woocommerce-MyAccount-content table,
    .woocommerce-MyAccount-content table tbody,
    .woocommerce-MyAccount-content table tr,
    .woocommerce-MyAccount-content table td,
    .woocommerce-MyAccount-content table th {
        display: block;
    }
    
    .woocommerce-MyAccount-content table thead {
        display: none;
    }
    
    .woocommerce-MyAccount-content table td {
        position: relative;
        padding-left: 50%;
        text-align: right;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    
    .woocommerce-MyAccount-content table td::before {
        content: attr(data-title);
        position: absolute;
        left: 15px;
        top: 12px;
        font-weight: 600;
        color: var(--primary-green);
        font-size: 12px;
        text-transform: uppercase;
    }
    
    .woocommerce-MyAccount-content table tr {
        margin-bottom: 15px;
        border-bottom: 1px solid var(--glass-border);
        background: rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 5px;
    }
    
    /* Order action buttons mobil uyumu */
    .woocommerce-orders-table__cell-order-actions .button {
        width: 100%;
        margin-bottom: 5px;
        font-size: 11px;
        padding: 6px 12px;
    }
    
    /* Address and Account Forms Mobile */
    .form-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-fields-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .address-selection-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .address-option-card {
        padding: 20px;
    }
    
    .address-card-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .address-fields-wrapper,
    .account-info-section,
    .password-section {
        padding: 20px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .section-title,
    .fields-section-title {
        font-size: 14px;
    }
}

/* Tablet uyumu */
@media (max-width: 1024px) and (min-width: 769px) {
    .woocommerce-Address-title h3 {
        font-size: 15px;
    }
    
    .woocommerce-Addresses h2 {
        font-size: 19px;
    }
}

/* UNIFIED FORM INPUT STYLING - SAME AS FIRST PARAGRAPH */
body .woocommerce .woocommerce-MyAccount-content input[type="text"],
body .woocommerce .woocommerce-MyAccount-content input[type="email"],
body .woocommerce .woocommerce-MyAccount-content input[type="password"],
body .woocommerce .woocommerce-MyAccount-content input[type="tel"],
body .woocommerce .woocommerce-MyAccount-content select,
body .woocommerce .woocommerce-MyAccount-content textarea,
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"],
.modern-address-form input[type="text"],
.modern-address-form input[type="email"],
.modern-address-form input[type="tel"],
.modern-address-form select,
.modern-input,
.unified-input {
    background: linear-gradient(135deg, rgba(12, 224, 107, 0.1) 0%, rgba(12, 224, 107, 0.05) 100%) !important;
    border: 1px solid rgba(12, 224, 107, 0.2) !important;
    border-radius: 12px !important;
    padding: 20px 25px !important;
    margin-bottom: 25px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--primary-green) !important;
    box-shadow: 0 4px 15px rgba(12, 224, 107, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* Focus states for unified inputs */
body .woocommerce .woocommerce-MyAccount-content input[type="text"]:focus,
body .woocommerce .woocommerce-MyAccount-content input[type="email"]:focus,
body .woocommerce .woocommerce-MyAccount-content input[type="password"]:focus,
body .woocommerce .woocommerce-MyAccount-content input[type="tel"]:focus,
body .woocommerce .woocommerce-MyAccount-content select:focus,
body .woocommerce .woocommerce-MyAccount-content textarea:focus,
.woocommerce-EditAccountForm input:focus,
.modern-address-form input:focus,
.modern-address-form select:focus,
.modern-input:focus,
.unified-input:focus {
    background: linear-gradient(135deg, rgba(12, 224, 107, 0.15) 0%, rgba(12, 224, 107, 0.08) 100%) !important;
    border-color: rgba(12, 224, 107, 0.4) !important;
    box-shadow: 0 6px 20px rgba(12, 224, 107, 0.2) !important;
    outline: none !important;
    transform: translateY(-1px) !important;
}

/* HIGHEST PRIORITY PASSWORD FIELD FIXES */
body .woocommerce .woocommerce-MyAccount-content .modern-account-form .password-section .password-fields .form-fields-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .woocommerce .woocommerce-MyAccount-content .modern-account-form .password-section .password-fields .form-fields-grid > .woocommerce-form-row {
    flex: 1 !important;
    min-width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* Light theme overrides for unified inputs */
body.light-theme .woocommerce .woocommerce-MyAccount-content input[type="text"],
body.light-theme .woocommerce .woocommerce-MyAccount-content input[type="email"],
body.light-theme .woocommerce .woocommerce-MyAccount-content input[type="password"],
body.light-theme .woocommerce .woocommerce-MyAccount-content input[type="tel"],
body.light-theme .woocommerce .woocommerce-MyAccount-content select,
body.light-theme .woocommerce .woocommerce-MyAccount-content textarea,
body.light-theme .woocommerce-EditAccountForm input,
body.light-theme .modern-address-form input,
body.light-theme .modern-address-form select,
body.light-theme .modern-input,
body.light-theme .unified-input {
    background: linear-gradient(135deg, rgba(4, 122, 58, 0.08) 0%, rgba(4, 122, 58, 0.03) 100%) !important;
    border-color: rgba(4, 122, 58, 0.2) !important;
    color: #2c3e50 !important;
    box-shadow: 0 4px 15px rgba(4, 122, 58, 0.08) !important;
}

body.light-theme .woocommerce .woocommerce-MyAccount-content input:focus,
body.light-theme .woocommerce-EditAccountForm input:focus,
body.light-theme .modern-address-form input:focus,
body.light-theme .modern-address-form select:focus,
body.light-theme .modern-input:focus,
body.light-theme .unified-input:focus {
    background: linear-gradient(135deg, rgba(4, 122, 58, 0.12) 0%, rgba(4, 122, 58, 0.06) 100%) !important;
    border-color: rgba(4, 122, 58, 0.4) !important;
    box-shadow: 0 6px 20px rgba(4, 122, 58, 0.15) !important;
}

/* Mobile override for password fields */
@media (max-width: 768px) {
    body .woocommerce .woocommerce-MyAccount-content .modern-account-form .password-section .password-fields .form-fields-grid {
        flex-direction: column !important;
    }
    
    body .woocommerce .woocommerce-MyAccount-content .modern-account-form .password-section .password-fields .form-fields-grid > .woocommerce-form-row {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Disable any WooCommerce column styling on password fields */
body .woocommerce .woocommerce-MyAccount-content .password-fields .col2-set,
body .woocommerce .woocommerce-MyAccount-content .password-fields .col-1,
body .woocommerce .woocommerce-MyAccount-content .password-fields .col-2 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* === UNIFIED WOOCOMMERCE FORM INPUT STYLING === */
/* High specificity rules to override all WooCommerce defaults */

/* UNIFIED FORM INPUT STYLING - SAME AS FIRST PARAGRAPH */
/* All form inputs use the same green gradient style */
body .woocommerce .woocommerce-MyAccount-content input[type="text"],
body .woocommerce .woocommerce-MyAccount-content input[type="email"],
body .woocommerce .woocommerce-MyAccount-content input[type="password"],
body .woocommerce .woocommerce-MyAccount-content input[type="tel"],
body .woocommerce .woocommerce-MyAccount-content select,
body .woocommerce .woocommerce-EditAccountForm input[type="text"],
body .woocommerce .woocommerce-EditAccountForm input[type="email"],
body .woocommerce .woocommerce-EditAccountForm input[type="password"],
body .woocommerce .woocommerce-address-fields input[type="text"],
body .woocommerce .woocommerce-address-fields input[type="email"],
body .woocommerce .woocommerce-address-fields input[type="tel"],
body .woocommerce .woocommerce-address-fields select,
body .woocommerce .modern-account-form input[type="text"],
body .woocommerce .modern-account-form input[type="email"],
body .woocommerce .modern-account-form input[type="password"],
body .woocommerce .modern-address-form input[type="text"],
body .woocommerce .modern-address-form input[type="email"],
body .woocommerce .modern-address-form input[type="tel"],
body .woocommerce .modern-address-form select {
    /* SAME STYLING AS p:first-of-type */
    background: linear-gradient(135deg, rgba(12, 224, 107, 0.1) 0%, rgba(12, 224, 107, 0.05) 100%) !important;
    border: 1px solid rgba(12, 224, 107, 0.2) !important;
    border-radius: 12px !important;
    padding: 20px 25px !important;
    margin-bottom: 25px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--primary-green) !important;
    box-shadow: 0 4px 15px rgba(12, 224, 107, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    transition: all 0.2s !important;
}

/* Focus states with high specificity */
body .woocommerce .woocommerce-MyAccount-content input[type="text"]:focus,
body .woocommerce .woocommerce-MyAccount-content input[type="email"]:focus,
body .woocommerce .woocommerce-MyAccount-content input[type="password"]:focus,
body .woocommerce .woocommerce-MyAccount-content input[type="tel"]:focus,
body .woocommerce .woocommerce-MyAccount-content select:focus,
body .woocommerce .woocommerce-EditAccountForm input[type="text"]:focus,
body .woocommerce .woocommerce-EditAccountForm input[type="email"]:focus,
body .woocommerce .woocommerce-EditAccountForm input[type="password"]:focus,
body .woocommerce .woocommerce-address-fields input[type="text"]:focus,
body .woocommerce .woocommerce-address-fields input[type="email"]:focus,
body .woocommerce .woocommerce-address-fields input[type="tel"]:focus,
body .woocommerce .woocommerce-address-fields select:focus,
body .woocommerce .modern-account-form input[type="text"]:focus,
body .woocommerce .modern-account-form input[type="email"]:focus,
body .woocommerce .modern-account-form input[type="password"]:focus,
body .woocommerce .modern-address-form input[type="text"]:focus,
body .woocommerce .modern-address-form input[type="email"]:focus,
body .woocommerce .modern-address-form input[type="tel"]:focus,
body .woocommerce .modern-address-form select:focus {
    border-color: var(--primary-green) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2) !important;
    background: rgba(0, 0, 0, 0.25) !important;
}

/* Label consistency */
body .woocommerce .woocommerce-MyAccount-content label,
body .woocommerce .woocommerce-EditAccountForm label,
body .woocommerce .woocommerce-address-fields label,
body .woocommerce .modern-account-form label,
body .woocommerce .modern-address-form label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
    color: var(--light-text) !important;
    font-size: 14px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Password field specific fixes */
body .woocommerce .password-section .form-fields-grid .woocommerce-form-row input[type="password"] {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid var(--glass-border) !important;
    background: rgba(0, 0, 0, 0.2) !important;
    color: var(--light-text) !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

/* Address form field wrapper consistency */
body .woocommerce .woocommerce-address-fields__field-wrapper .form-row {
    margin-bottom: 20px !important;
}

/* Light theme overrides for unified styling */
body.light-theme .woocommerce .woocommerce-MyAccount-content input[type="text"],
body.light-theme .woocommerce .woocommerce-MyAccount-content input[type="email"],
body.light-theme .woocommerce .woocommerce-MyAccount-content input[type="password"],
body.light-theme .woocommerce .woocommerce-MyAccount-content input[type="tel"],
body.light-theme .woocommerce .woocommerce-MyAccount-content select,
body.light-theme .woocommerce .woocommerce-EditAccountForm input[type="text"],
body.light-theme .woocommerce .woocommerce-EditAccountForm input[type="email"],
body.light-theme .woocommerce .woocommerce-EditAccountForm input[type="password"],
body.light-theme .woocommerce .woocommerce-address-fields input[type="text"],
body.light-theme .woocommerce .woocommerce-address-fields input[type="email"],
body.light-theme .woocommerce .woocommerce-address-fields input[type="tel"],
body.light-theme .woocommerce .woocommerce-address-fields select,
body.light-theme .woocommerce .modern-account-form input[type="text"],
body.light-theme .woocommerce .modern-account-form input[type="email"],
body.light-theme .woocommerce .modern-account-form input[type="password"],
body.light-theme .woocommerce .modern-address-form input[type="text"],
body.light-theme .woocommerce .modern-address-form input[type="email"],
body.light-theme .woocommerce .modern-address-form input[type="tel"],
body.light-theme .woocommerce .modern-address-form select {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #1a1a1a !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    body .woocommerce .woocommerce-MyAccount-content input[type="text"],
    body .woocommerce .woocommerce-MyAccount-content input[type="email"],
    body .woocommerce .woocommerce-MyAccount-content input[type="password"],
    body .woocommerce .woocommerce-MyAccount-content input[type="tel"],
    body .woocommerce .woocommerce-MyAccount-content select,
    body .woocommerce .woocommerce-EditAccountForm input[type="text"],
    body .woocommerce .woocommerce-EditAccountForm input[type="email"],
    body .woocommerce .woocommerce-EditAccountForm input[type="password"],
    body .woocommerce .woocommerce-address-fields input[type="text"],
    body .woocommerce .woocommerce-address-fields input[type="email"],
    body .woocommerce .woocommerce-address-fields input[type="tel"],
    body .woocommerce .woocommerce-address-fields select {
        font-size: 16px !important; /* Prevent iOS zoom */
        padding: 14px 16px !important;
    }
}

/* FINAL OVERRIDE - Ultimate specificity for stubborn elements */
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .modern-account-form input[type="text"],
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .modern-account-form input[type="email"],
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .modern-account-form input[type="password"],
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .modern-address-form input[type="text"],
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .modern-address-form input[type="email"],
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .modern-address-form input[type="tel"],
body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .modern-address-form select {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid var(--glass-border) !important;
    background: rgba(0, 0, 0, 0.2) !important;
    color: var(--light-text) !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
}

/* NUCLEAR OPTION - Force styling on ALL form inputs regardless of context */
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-fields-grid input[type="text"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-fields-grid input[type="email"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-fields-grid input[type="password"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row input[type="text"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row input[type="email"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row input[type="password"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row-first input[type="text"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row-first input[type="email"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row-first input[type="password"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row-last input[type="text"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row-last input[type="email"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row-last input[type="password"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-form-row input[type="text"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-form-row input[type="email"],
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-form-row input[type="password"] {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid var(--glass-border) !important;
    background: rgba(0, 0, 0, 0.2) !important;
    color: var(--light-text) !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* FORCED FOCUS STATE - Override everything */
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content input[type="text"]:focus,
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content input[type="email"]:focus,
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content input[type="password"]:focus,
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-fields-grid input:focus,
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .form-row input:focus,
body .woocommerce-account .woocommerce .woocommerce-MyAccount-content .woocommerce-form-row input:focus {
    border-color: var(--primary-green) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2) !important;
    background: rgba(0, 0, 0, 0.25) !important;
}

/* RESET UNWANTED BORDERS AND OUTLINES */
body .woocommerce-account input,
body .woocommerce-account .woocommerce input,
body .woocommerce-account .woocommerce-MyAccount-content input {
    border: 1px solid var(--glass-border) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* FORCE REMOVE ANY FOCUS HIGHLIGHTING EXCEPT OURS */
body .woocommerce-account input:focus {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2) !important;
    outline: none !important;
}

/* SPECIFICITY WAR - Target by ID if needed */
#account_first_name,
#account_last_name,
#password_1,
#password_2 {
    width: 100% !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1px solid var(--glass-border) !important;
    background: rgba(0, 0, 0, 0.2) !important;
    color: var(--light-text) !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    outline: none !important;
}

#account_first_name:focus,
#account_last_name:focus,
#password_1:focus,
#password_2:focus {
    border-color: var(--primary-green) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(12, 224, 107, 0.2) !important;
    background: rgba(0, 0, 0, 0.25) !important;
}
