/*
 * Modern My Account Page Styles
 * U and World Theme
 * 
 * This file contains all styles for the WooCommerce My Account page
 * including navigation, dashboard, and all account-related pages.
 */

/* ========================================
   MY ACCOUNT PAGE LAYOUT
   ======================================== */

.woocommerce-account .woocommerce {
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 0px;
}

/* Override container width restrictions for my-account page */
.woocommerce-account .container,
.woocommerce-account .site-content .container,
.woocommerce-account .site-main .container,
.woocommerce-account #primary .container {
    max-width: none !important;	
    width: 100% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

/* Ensure the main content area uses full width */
.woocommerce-account .site-main {
    max-width: none !important;
    width: 100% !important;
}

.woocommerce-account #primary {
    max-width: none !important;
    width: 100% !important;
}

.woocommerce-account:not(.woocommerce-lost-password) .entry-title {
    display: none;
}

/* Ensure lost password page elements are visible */
.woocommerce-lost-password .entry-header,
.woocommerce-lost-password .entry-title {
    display: none !important; /* Hide the entry header and title */
}

.woocommerce-lost-password .entry-content {
    display: block !important; /* Ensure content remains visible */
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure lost password container is visible */
.woocommerce-lost-password .modern-lost-password-container {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure lost password form elements are visible */
.lost-password-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.lost-password-card .modern-form,
.lost-password-card .form-field-group,
.lost-password-card .modern-input,
.lost-password-card .modern-button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.lost-password-card .form-actions {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;	
}

/* Hide search and cart on login-register pages */
.page-id-936 .header-search,
.page-id-936 .desktop-tablet-search,
.page-id-936 .search-form,
.page-id-936 .search-field,
.page-id-936 .search-input-wrapper,
.page-id-936 .header-cart,
.page-id-936 .cart-link,
.page-id-936 .cart-icon,
.page-id-936 .woocommerce-cart-link {
    display: none !important;
    visibility: hidden !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: white;
    border-radius: 5px;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    padding: 30px !important;
    margin-left: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* ========================================
   MODERN ACCOUNT NAVIGATION
   ======================================== */

.modern-account-nav {
    background: #fff;
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.account-nav-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.account-nav-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.account-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-nav-item {
    margin: 0;
    padding: 0;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #64748b;
    border-radius: 0px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.account-nav-link:hover {
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
    transform: scale(1.04);
    border-color: rgba(74, 144, 226, 0.2);
    text-decoration: none;
}

.account-nav-link[aria-current="page"] {
    background: linear-gradient(135deg, #0DCFF2 0%, #2172DD 100%) !important;
    color: white;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    border: unset;
}

.account-nav-link[aria-current="page"]:hover {
    background: linear-gradient(135deg, #0DCFF2 0%, #2172DD 100%) !important;
    color: white;
    transform: scale(1.04px);
}

.account-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.account-nav-label {
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

.account-nav-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.account-nav-link:hover .account-nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

.account-nav-link[aria-current="page"] .account-nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   ACCOUNT DASHBOARD WELCOME
   ======================================== */

.account-dashboard-welcome {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-top-left-radius: 5px;
	border-top-right-radius: 5px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.account-dashboard-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.welcome-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.welcome-user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-text {
    flex: 1;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    color: white;
}

.user-name {
    color: white;
}

.welcome-subtitle {
    font-size: 1.125rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

.welcome-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

/* ========================================
   DASHBOARD CONTENT
   ======================================== */

.account-dashboard-content {
    background: white;
    border-radius: 0px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0);
    border: 0px;
}

.dashboard-description {
    margin-bottom: 2rem;
}

.dashboard-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

.dashboard-intro a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
}

.dashboard-intro a:hover {
    background: #4A90E2;
    color: white;
    text-decoration: none;
}

/* ========================================
   ACCOUNT FORMS STYLING
   ======================================== */

.woocommerce-account .woocommerce-form {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: none;
    border: 0px !important;
	gap: 0px !important;
}

.woocommerce-account .woocommerce-form h2,
.woocommerce-account .woocommerce-form h3 {
    color: #1e293b;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.woocommerce-account .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-account .form-row label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.woocommerce-account .form-row .required {
    color: #ef4444;
}

.woocommerce-account .input-text {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.woocommerce-account .input-text:focus {
    outline: none;
    border-color: #4A90E2;
    background: white;
    box-shadow: 0;
}

.woocommerce-account .woocommerce-button {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce-account .woocommerce-button:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2c5aa0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    color: white;
    text-decoration: none;
}

.woocommerce-account .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
}

.woocommerce-account .woocommerce-form__input-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #4A90E2;
}

.woocommerce-account .lost_password a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.woocommerce-account .lost_password a:hover {
    color: #357ABD;
    text-decoration: underline;
}

.modern-login-register-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1rem 0 2rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 3rem;
}

.modern-forms-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
}

.modern-forms-wrapper.single-form {
    grid-template-columns: 1fr;
    max-width: 500px;
}

.modern-form-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px !important;
    border: 1px solid rgba(77, 137, 199, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4D89C7 0%, #357ABD 100%);
	display: none;
}

.modern-form-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

.form-card-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4D89C7 0%, #357ABD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(77, 137, 199, 0.3);
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #4D89C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field-group {
    position: relative;
}

.modern-label {
    display: block;
    font-weight: 600;
    color: #4D89C7;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.modern-label::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4D89C7 0%, #357ABD 100%);
    transition: width 0.3s ease;
}

.form-field-group:focus-within .modern-label::after {
    width: 100%;
}

.modern-label .required {
    color: #ef4444;
    margin-left: 0.25rem;
}

.input-wrapper {
    position: relative;
}

.modern-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #374151;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.modern-input:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.modern-input:focus {
    outline: none;
    border-color: #4D89C7;
    box-shadow: 0 0 0 3px rgba(77, 137, 199, 0.15), 0 4px 16px rgba(77, 137, 199, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transform: translateY(-1px);
}

.modern-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem 0 1rem 0;
}

.modern-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: #64748b;
    position: relative;
}

.modern-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #4D89C7 0%, #357ABD 100%);
    border-color: #4D89C7;
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password-link {
    color: #4D89C7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #357ABD;
    text-decoration: underline;
}

.modern-button {
    background: linear-gradient(135deg, #4D89C7 0%, #357ABD 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(77, 137, 199, 0.3);
}

.modern-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.modern-button:hover::before {
    left: 100%;
}

.modern-button:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2c5aa0 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(77, 137, 199, 0.4);
    color: white;
    text-decoration: none;
}

.modern-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(77, 137, 199, 0.3);
}

.register-button {
    background: linear-gradient(135deg, #1e293b 0%, #374151 100%);
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.3);
}

.register-button:hover {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 12px 32px rgba(30, 41, 59, 0.4);
}

.password-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(77, 137, 199, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: #4D89C7;
    font-size: 0.875rem;
    text-align: center;
    margin: 1rem 0;
}

/* Legacy support for old classes */
.u-columns {
    display: none; /* Hide old layout */
}

.u-column1,
.u-column2 {
    display: none; /* Hide old layout */
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Modern Login/Register Responsive */
@media (max-width: 1024px) {
    .modern-forms-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        padding: 0 1.5rem;
    }
    
    .modern-form-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .modern-login-register-container {
        padding: 0.5rem 0 1rem 0;
        min-height: auto;
        padding-top: 2rem;
    }
    
    .modern-forms-wrapper {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .modern-form-card {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .form-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .modern-input {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .modern-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .modern-form-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .form-subtitle {
        font-size: 0.9rem;
    }
    
    .modern-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .modern-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .modern-label {
        font-size: 0.8rem;
    }
}

@media (min-width: 1600px) {
    .woocommerce-account .woocommerce {
        max-width: 1440px;
        padding: 100px 0px;
    }
    
    .modern-orders-container {
        padding: 2.5rem;
    }
    
    .modern-orders-table thead th,
    .modern-orders-table td {
        padding: 1.5rem 2.5rem;
    }
}

@media (max-width: 1400px) {
    .woocommerce-account .woocommerce {
        padding: 0.75rem;
        max-width: 1600px;
    }
    
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 2rem;
    }
    
    .modern-account-nav {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        padding: 0.75rem;
        max-width: 100%;
    }
    
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 1.5rem;
        margin-left: 0;
		float: right !important;
    }
    
    .modern-account-nav {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .account-nav-title {
        font-size: 1.5rem;
    }
    
    .account-nav-link {
        padding: 0.875rem 1.25rem;
    }
    
    .account-nav-label {
        font-size: 0.875rem;
    }
    
    .welcome-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .welcome-user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-subtitle {
        font-size: 1rem;
    }
    
    .account-dashboard-welcome {
        padding: 2rem;
    }
    
    .account-dashboard-content {
        padding: 1.5rem;
    }
    
    .u-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .u-column1,
    .u-column2 {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .woocommerce-account .woocommerce {
        padding: 0.5rem;
        max-width: 100%;
    }
    
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 1rem;
    }
    
    .modern-account-nav {
        padding: 1rem;
    }
    
    .account-nav-title {
        font-size: 1.25rem;
    }
    
    .account-nav-link {
        padding: 0.75rem 1rem;
    }
    
    .account-nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .account-nav-label {
        font-size: 0.875rem;
    }
    
    .welcome-title {
        font-size: 1.75rem;
    }
    
    .welcome-subtitle {
        font-size: 0.875rem;
    }
    
    .account-dashboard-welcome {
        padding: 1.5rem;
    }
    
    .account-dashboard-content {
        padding: 1rem;
    }
    
    .u-column1,
    .u-column2 {
        padding: 1.5rem;
    }
    
    .woocommerce-account .woocommerce-form {
        padding: 1.5rem;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

.account-nav-link:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

.woocommerce-account .input-text:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

.woocommerce-account .woocommerce-button:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

/* ========================================
   MODERN ORDERS PAGE STYLES
   ======================================== */

.modern-orders-container {
    background: white;
    border-radius: 5px;
    padding: 0rem;
    box-shadow: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
}

.orders-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.orders-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.orders-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.orders-table-container {
    overflow-x: auto;
/*     border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); */
}

.modern-orders-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
}

.modern-orders-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.modern-orders-table thead th {
    padding: 1.5rem 2rem;
    text-align: left;
    font-weight: 700;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom:0px;
    white-space: nowrap;
}

.modern-orders-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.modern-orders-table tbody tr:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modern-orders-table tbody tr:last-child {
    border-bottom: none;
}

.modern-orders-table td {
    padding: 1.5rem 2rem;
    vertical-align: middle;
    border: none;
}

/* Order Number Cell */
.order-number-cell {
    display: flex;
    align-items: center;
}

.order-number-link {
    text-decoration: none;
    color: #4A90E2;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.order-number-link:hover {
    color: #357ABD;
    text-decoration: none;
}

.order-number {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: none;
    padding: 0.25rem 0.75rem;
    border-radius: 0px;
    font-size: 0.875rem;
}

/* Order Date Cell */
.order-date-cell {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Order Status Cell */
.order-status-cell {
    display: flex;
    align-items: center;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border-color: #fbbf24;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
    border-color: #3b82f6;
}

.status-on-hold {
    background: #f3e8ff;
    color: #7c3aed;
    border-color: #a855f7;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

.status-refunded {
    background: #f3f4f6;
    color: #374151;
    border-color: #9ca3af;
}

.status-failed {
    background: #fecaca;
    color: #7f1d1d;
    border-color: #dc2626;
}

/* Order Total Cell */
.order-total-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-total-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

.order-item-count {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Order Actions Cell */
.order-actions-cell {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.order-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.order-action-view {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

.order-action-view:hover {
    background: #e2e8f0;
    color: #374151;
    text-decoration: none;
    transform: translateY(-1px);
}

.order-action-pay {
    background: linear-gradient(135deg, rgb(13, 207, 242) 0%, rgb(33, 114, 221) 100%) !important;
    color: white;
    border-color: #4A90E2;
	border-radius: 5px;
	border: 0px;
}

.order-action-pay:hover {
    background: linear-gradient(135deg, rgb(13, 207, 242) 0%, rgb(33, 114, 221) 100%) !important;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.order-action-cancel {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.order-action-cancel:hover {
    background: #fee2e2;
    color: #b91c1c;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Pagination */
.woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.woocommerce-pagination .woocommerce-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce-pagination .woocommerce-button:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2c5aa0 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.woocommerce-pagination .woocommerce-button--previous::before {
    content: '←';
    margin-right: 0.25rem;
}

.woocommerce-pagination .woocommerce-button--next::after {
    content: '→';
    margin-left: 0.25rem;
}

/* No Orders Message */
.woocommerce-Message {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.woocommerce-Message .woocommerce-Button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 1rem;
}

.woocommerce-Message .woocommerce-Button:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2c5aa0 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Responsive Design for Orders */
@media (max-width: 768px) {
    .modern-orders-container {
        padding: 1.5rem;
    }
    
    .orders-title {
        font-size: 1.5rem;
    }
    
    .modern-orders-table thead th,
    .modern-orders-table td {
        padding: 1rem 0.75rem;
    }
    
    .modern-orders-table thead th {
        font-size: 0.75rem;
    }
    
    .order-actions-cell {
        flex-direction: column;
        gap: 0.375rem;
    }
    
    .order-action-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .woocommerce-pagination {
        flex-direction: column;
        align-items: center;
    }
    
    .woocommerce-pagination .woocommerce-button {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-orders-container {
        padding: 1rem;
    }
    
    .orders-title {
        font-size: 1.25rem;
    }
    
    .orders-subtitle {
        font-size: 0.875rem;
    }
    
    .modern-orders-table thead th,
    .modern-orders-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .order-number {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .order-status-badge {
        font-size: 0.625rem;
        padding: 0.375rem 0.75rem;
    }
    
    .order-total-amount {
        font-size: 1rem;
    }
    
    .order-item-count {
        font-size: 0.625rem;
    }
}

/* ========================================
   MODERN ADDRESS PAGES STYLES
   ======================================== */

/* Address List Page */
.modern-addresses-container {
    background: white;
    border-radius: 0px;
    padding: 2.5rem;
   box-shadow: rgba(17, 12, 46, 0) 0px 48px 100px 0px;
 
    backdrop-filter: blur(10px);
    width: 100%;
}

.addresses-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.addresses-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.addresses-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.address-card {
/*     background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); */
/*     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); */
    border-radius: 5px;
    padding: 2rem;
    border: 1px solid #eee;

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.address-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
	display: none;
}

.address-card:hover {
    transform: translateY(-4px);
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
    border-color: rgba(74, 144, 226, 0.3);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.address-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.address-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #0DCFF2 0%, #2172DD 100%);
    color: white;
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 0px;
}

.address-edit-btn:hover {
   background: linear-gradient(135deg, #0DCFF2 0%, #2172DD 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.address-card-content {
    min-height: 120px;
}

.address-details {
    font-style: normal;
    line-height: 1.6;
    color: #374151;
    font-size: 0.95rem;
    margin: 0;
}

.address-details br {
    display: block;
    margin: 0.5rem 0;
    content: "";
}

.address-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #9ca3af;
    min-height: 120px;
}

.address-empty svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.address-empty p {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Address Edit Page */
.modern-address-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
}

.address-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.address-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.address-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.modern-address-form {
    max-width: 800px;
}

.address-form-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.address-form-actions {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    flex-wrap: wrap;
}

.address-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.address-save-btn:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2c5aa0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    color: white;
    text-decoration: none;
}

.address-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.address-cancel-btn:hover {
    background: #f8fafc;
    color: #374151;
    border-color: #d1d5db;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Enhanced Form Field Styling for Address Forms */
.modern-address-form .form-row {
    margin-bottom: 0;
}

.modern-address-form .form-row label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modern-address-form .form-row .required {
    color: #ef4444;
}

.modern-address-form .form-row .input-text,
.modern-address-form .form-row select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #374151;
}

.modern-address-form .form-row .input-text:focus,
.modern-address-form .form-row select:focus {
    outline: none;
    border-color: #4A90E2;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.modern-address-form .form-row .input-text::placeholder {
    color: #9ca3af;
}

/* Responsive Design for Address Pages */
@media (max-width: 768px) {
    .modern-addresses-container,
    .modern-address-container {
        padding: 1.5rem;
    }
    
    .addresses-title,
    .address-title {
        font-size: 1.5rem;
    }
    
    .addresses-subtitle,
    .address-subtitle {
        font-size: 0.875rem;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .address-card {
        padding: 1.5rem;
    }
    
    .address-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .address-edit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .address-form-fields {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .address-form-actions {
        flex-direction: column;
    }
    
    .address-save-btn,
    .address-cancel-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-addresses-container,
    .modern-address-container {
        padding: 1rem;
    }
    
    .addresses-title,
    .address-title {
        font-size: 1.25rem;
    }
    
    .address-card {
        padding: 1rem;
    }
    
    .address-card-title {
        font-size: 1rem;
    }
    
    .address-save-btn,
    .address-cancel-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ========================================
   MODERN EDIT ACCOUNT PAGE STYLES
   ======================================== */

/* Edit Account Page */
.modern-edit-account-container {
    background: white;
    border-radius: 0px;
    padding: 2.5rem;
    box-shadow: none;
 
    width: 100%;
}

.edit-account-header {
    margin-bottom: 0rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.edit-account-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edit-account-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.modern-edit-account-form {
/*     max-width: 800px; */
}

.account-form-section {
    margin-bottom: 3rem;
    padding: 2rem 0px;
/*     background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); */
    border-radius: 0px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.account-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
	display: none;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.form-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.form-row {
    margin-bottom: 0;
}

.form-row label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.form-row label::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    transition: width 0.3s ease;
	display:none;
}

.form-row:focus-within label::after {
    width: 100%;
}

.form-row .required {
    color: #ef4444;
}

.form-row .input-text {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #374151;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.form-row .input-text:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.form-row .input-text:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15), 0 4px 16px rgba(74, 144, 226, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transform: translateY(-1px);
}

.form-row .input-text::placeholder {
    color: #9ca3af;
}

.woocommerce-form-row__description {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
/*     display: flex; */
    align-items: center;
}

.password-input-wrapper .input-text {
    padding-right: 3rem;
    background: unset;
    box-shadow: unset;
	color: #333 !important;
}

.password-input-wrapper .input-text:hover {
    border-color: #cbd5e1;
/*     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%); */
}

.password-input-wrapper .input-text:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15), 0 4px 16px rgba(74, 144, 226, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transform: translateY(-1px);
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 2px;
    color: #2172DD !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn:hover {
    background: #f1f5f9;
    color: #374151;
}

.password-toggle-btn:focus {
    outline: none;
    background: #e2e8f0;
    color: #1e293b;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    margin-top: 2rem;
}

.account-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.account-save-btn:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2c5aa0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    color: white;
    text-decoration: none;
}

.account-save-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3), 0 4px 12px rgba(74, 144, 226, 0.2);
}

.account-save-btn:active {
    transform: translateY(0);
}

/* Form Row Variations */
.form-row-first {
    grid-column: 1;
}

.form-row-last {
    grid-column: 2;
}

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

/* Responsive Design for Edit Account */
@media (max-width: 768px) {
    .modern-edit-account-container {
        padding: 1.5rem;
    }
    
    .edit-account-title {
        font-size: 1.5rem;
    }
    
    .edit-account-subtitle {
        font-size: 0.875rem;
    }
    
    .account-form-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .form-section-title {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .form-fields-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row-first,
    .form-row-last {
        grid-column: 1;
    }
    
    .form-actions {
        justify-content: center;
    }
    
    .account-save-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-edit-account-container {
        padding: 1rem;
    }
    
    .edit-account-title {
        font-size: 1.25rem;
    }
    
    .account-form-section {
        padding: 1rem;
    }
    
    .form-section-title {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .form-row .input-text {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    .password-input-wrapper .input-text {
        padding-right: 2.5rem;
    }
    
    .password-toggle-btn {
        right: 0.75rem;
        padding: 0.375rem;
    }
    
    .account-save-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

.modern-lost-password-container {
    min-height: 100vh;
    background: #fff;
    padding: 1rem 0 2rem 0;
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    padding-top: 3rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.modern-lost-password-wrapper {
    max-width: 500px;
    width: 100%;
    padding: 0 2rem;
}

.lost-password-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(77, 137, 199, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lost-password-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4D89C7 0%, #357ABD 100%);
}

.lost-password-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
}

.lost-password-card .form-card-header {
    text-align: center;
    margin-bottom: 2.5rem;
	margin-top: 2.5rem;
}

.lost-password-card .form-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow:none;
}

.lost-password-card .form-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #4D89C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lost-password-card .form-subtitle {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
}

.lost-password-card .modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lost-password-card .form-field-group {
    position: relative;
}

.lost-password-card .modern-label {
    display: block;
    font-weight: 600;
    color: #4D89C7;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.lost-password-card .modern-label::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4D89C7 0%, #357ABD 100%);
    transition: width 0.3s ease;
}

.lost-password-card .form-field-group:focus-within .modern-label::after {
    width: 100%;
}

.lost-password-card .modern-label .required {
    color: #ef4444;
    margin-left: 0.25rem;
}

.lost-password-card .input-wrapper {
    position: relative;
}

.lost-password-card .modern-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #374151;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.lost-password-card .modern-input:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.lost-password-card .modern-input:focus {
    outline: none;
    border-color: #4D89C7;
    box-shadow: 0 0 0 3px rgba(77, 137, 199, 0.15), 0 4px 16px rgba(77, 137, 199, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    transform: translateY(-1px);
}

.lost-password-card .modern-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.lost-password-card .form-actions {
    margin-top: 1rem;
}

.reset-password-button {
    background: linear-gradient(135deg, #4D89C7 0%, #357ABD 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(77, 137, 199, 0.3);
    width: 100%;
}

.reset-password-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.reset-password-button:hover::before {
    left: 100%;
}

.reset-password-button:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2c5aa0 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(77, 137, 199, 0.4);
    color: white;
    text-decoration: none;
}

.reset-password-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(77, 137, 199, 0.3);
}

.back-to-login {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4D89C7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(77, 137, 199, 0.1);
}

.back-link:hover {
    color: #357ABD;
    background: rgba(77, 137, 199, 0.2);
    text-decoration: none;
    transform: translateX(-4px);
}

/* Responsive Design for Lost Password */
@media (max-width: 768px) {
    .modern-lost-password-container {
        padding: 0.5rem 0 1rem 0;
        min-height: auto;
        padding-top: 2rem;
    }
    
    .modern-lost-password-wrapper {
        padding: 0 1rem;
    }
    
    .lost-password-card {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .lost-password-card .form-title {
        font-size: 1.75rem;
    }
    
    .lost-password-card .form-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .lost-password-card .modern-input {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .reset-password-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .lost-password-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .lost-password-card .form-title {
        font-size: 1.5rem;
    }
    
    .lost-password-card .form-subtitle {
        font-size: 0.9rem;
    }
    
    .lost-password-card .modern-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .reset-password-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .lost-password-card .modern-label {
        font-size: 0.8rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .modern-account-nav,
    .welcome-actions,
    .woocommerce-account .woocommerce-button,
    .order-actions-cell,
    .address-edit-btn,
    .address-form-actions,
    .password-toggle-btn,
    .form-actions {
        display: none;
    }
    
    .woocommerce-account .woocommerce-MyAccount-content,
    .modern-orders-container,
    .modern-addresses-container,
    .modern-address-container,
    .modern-edit-account-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
