/* ==========================================================
   My Account - Modern Professional Design
   ========================================================== */

/* Ensure FontAwesome icons are displayed */
.fas, .far, .fab, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900;
    display: inline-block !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.far {
    font-weight: 400 !important;
}

.fab {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
}

/* Force icon display */
i[class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

i[class*="far"] {
    font-weight: 400 !important;
}

i[class*="fab"] {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
}

/* My Account Container */
.woocommerce-account .woocommerce {
    background: transparent;
    min-height: 100vh;
    padding: 0rem 0;
    position: relative;
}

/* Remove reveal-section from WooCommerce columns and addresses */
.woocommerce-columns,
.woocommerce-columns--2,
.woocommerce-columns--addresses,
.col2-set,
.addresses {
    /* Remove reveal-section and is-visible classes */
}

.woocommerce-columns.reveal-section,
.woocommerce-columns--2.reveal-section,
.woocommerce-columns--addresses.reveal-section,
.col2-set.reveal-section,
.addresses.reveal-section {
    /* Override any reveal-section styling */
}

.woocommerce-columns.is-visible,
.woocommerce-columns--2.is-visible,
.woocommerce-columns--addresses.is-visible,
.col2-set.is-visible,
.addresses.is-visible {
    /* Override any is-visible styling */
}

/* Force remove reveal-section and is-visible classes */
.woocommerce-columns.reveal-section,
.woocommerce-columns--2.reveal-section,
.woocommerce-columns--addresses.reveal-section,
.col2-set.reveal-section,
.addresses.reveal-section {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.woocommerce-columns.is-visible,
.woocommerce-columns--2.is-visible,
.woocommerce-columns--addresses.is-visible,
.col2-set.is-visible,
.addresses.is-visible {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Hide specific sections in view order page */
.woocommerce-view-order .woocommerce-order-details,
.woocommerce-view-order .woocommerce-columns--addresses {
    display: none !important;
}

/* Order Status Processing */
.order-status.processing {
    background: rgb(59 130 246);
    color: #fff;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.woocommerce-account .woocommerce::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* My Account Layout */
.woocommerce-MyAccount-navigation {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #10b981);
}

.woocommerce-MyAccount-navigation h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    overflow-x: auto;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
    flex-shrink: 0;
}

.woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    text-transform: revert;
    letter-spacing: 0.5px;
}
.woocommerce-account .site-content > h1 {
    font-size: 30px !important;
}

/* All h1.post-title within llogaria-ime (my-account) section */
.woocommerce-account h1.post-title {
    font-size: 25px !important;
}
.woocommerce-MyAccount-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.woocommerce-MyAccount-navigation a:hover::before {
    left: 100%;
}

.woocommerce-MyAccount-navigation a:hover {
    background: #063e7f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    font-weight: 600;
}

/* My Account Content */
.woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

/* Remove all bold elements */
.woocommerce-MyAccount-content * {
    font-weight: normal !important;
}

.woocommerce-MyAccount-content h1,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content h4,
.woocommerce-MyAccount-content h5,
.woocommerce-MyAccount-content h6 {
    font-weight: normal !important;
}

.woocommerce-MyAccount-content strong,
.woocommerce-MyAccount-content b {
    font-weight: normal !important;
}

.woocommerce-MyAccount-content p {
    color: white !important;
}

.woocommerce-MyAccount-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #1d4ed8);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.woocommerce-MyAccount-content h2::after,
.woocommerce-MyAccount-content h3::after {
    display: none;
}

/* Dashboard Welcome */
.dashboard-welcome {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.3);
    position: relative;
    overflow: hidden;
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.welcome-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff !important;
}

.welcome-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
    color: white !important;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Stats Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white !important;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Force all stat-card content to be white */
.stat-card * {
    color: white !important;
}

.stat-card h1,
.stat-card h2,
.stat-card h3,
.stat-card h4,
.stat-card h5,
.stat-card h6,
.stat-card p,
.stat-card span,
.stat-card div,
.stat-card a {
    color: white !important;
}

.stat-card .stat-number {
    color: white !important;
}

.stat-card .stat-label {
    color: white !important;
}

.stat-card .stat-content {
    color: white !important;
}

.stat-card .stat-content * {
    color: white !important;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
}

.stat-icon i {
    font-size: 1.2rem;
    color: #ffffff;
    display: block;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}

.stat-label {
    margin: 0;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Section Titles */
.section-title {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action Cards */
.dashboard-actions {
    margin-bottom: 2rem;
}

.dashboard-actions .action-content p {
    display: none;
}

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

.action-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white !important;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Force all action-card content to be white */
.action-card * {
    color: white !important;
}

.action-card h1,
.action-card h2,
.action-card h3,
.action-card h4,
.action-card h5,
.action-card h6,
.action-card p,
.action-card span,
.action-card div,
.action-card a {
    color: white !important;
}

.action-card .action-content {
    color: white !important;
}

.action-card .action-content * {
    color: white !important;
}

.action-card .action-arrow {
    color: white !important;
}

.action-card .action-arrow * {
    color: white !important;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
    color: inherit;
    border-color: #3b82f6;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.action-icon i {
    font-size: 1rem;
    color: #ffffff;
    display: block;
}

.action-content {
    flex: 1;
}

.action-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.action-content p {
    margin: 0;
    color: #6b7280;
    font-size: 0.8rem;
}

.action-arrow {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Recent Orders */
.recent-orders-list {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    overflow: hidden;
    position: relative;
}

.recent-orders-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.order-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(29, 78, 216, 0.08) 100%);
    transform: translateX(5px);
    border-left: 4px solid #3b82f6;
}

.order-item:last-child {
    border-bottom: none;
}

.order-info {
    flex: 1;
}

.order-number {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.order-date,
.order-total {
    margin: 0;
    color: #6b7280;
    font-size: 0.8rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.status-processing {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.status-pending {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #ffffff;
}

.view-order-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

.view-all-orders {
    padding: 1.5rem;
    text-align: center;
}

.view-all-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

/* Account Info */
.dashboard-account-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.dashboard-account-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    transition: all 0.4s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-3px);
}

.info-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.info-value {
    color: #1f2937;
    font-size: 1rem;
}

/* Forms */
.woocommerce-EditAccountForm,
.woocommerce-EditAddressForm {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.woocommerce-EditAccountForm::before,
.woocommerce-EditAddressForm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.woocommerce-EditAccountForm h3,
.woocommerce-EditAddressForm h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-row {
    margin-bottom: 1rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="password"]:focus,
.form-row input[type="tel"]:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 15px rgba(59, 130, 246, 0.1);
    outline: none;
    transform: translateY(-2px);
}

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

.woocommerce-EditAccountForm .woocommerce-Button,
.woocommerce-EditAddressForm .woocommerce-Button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.woocommerce-EditAccountForm .woocommerce-Button:hover,
.woocommerce-EditAddressForm .woocommerce-Button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

/* Orders Table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.woocommerce-orders-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.woocommerce-orders-table thead {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
}

.woocommerce-orders-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-orders-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    font-size: 0.9rem;
}

.woocommerce-orders-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(29, 78, 216, 0.08) 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

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

.woocommerce-orders-table .woocommerce-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.woocommerce-orders-table .woocommerce-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

/* Address Cards */
.woocommerce-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.woocommerce-address {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.woocommerce-address:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.woocommerce-address::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #10b981);
}

.woocommerce-address h3 {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.woocommerce-address address {
    font-style: normal;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.woocommerce-address .edit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.woocommerce-address .edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

/* Downloads Table */
.woocommerce-downloads-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.woocommerce-downloads-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.woocommerce-downloads-table thead {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.woocommerce-downloads-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-downloads-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    font-size: 0.9rem;
}

.woocommerce-downloads-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

.woocommerce-downloads-table .download-file {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.woocommerce-downloads-table .download-file:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

/* Payment Methods */
.woocommerce-PaymentMethods {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.woocommerce-PaymentMethods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.woocommerce-PaymentMethods h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

.payment_methods li {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    transition: all 0.4s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.payment_methods li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.payment_methods li:hover::before {
    left: 100%;
}

.payment_methods li:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-3px);
}

.payment_methods li label {
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    font-size: 0.9rem;
}

.payment_methods li input[type="radio"] {
    margin-right: 0.5rem;
}

/* Messages */
.woocommerce-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: none;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.woocommerce-message::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.6s ease;
}

.woocommerce-message:hover::before {
    left: 100%;
}

.woocommerce-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: none;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.woocommerce-error::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.6s ease;
}

.woocommerce-error:hover::before {
    left: 100%;
}

.woocommerce-info {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: none;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.woocommerce-info::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.6s ease;
}

.woocommerce-info:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* All text elements align left - OVERRIDE ALL CENTER ALIGNMENTS */
    * {
        text-align: left !important;
    }
    
    body, p, h1, h2, h3, h4, h5, h6, div, span, a, li, td, th, label, input, textarea, select, button, section, article, header, footer, nav, ul, ol {
        text-align: left !important;
    }
    
    /* Override all flex center alignments */
    [class*="center"], [class*="Center"], [class*="CENTER"] {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    .woocommerce-account .woocommerce {
        padding: 1rem 0;
    }
    
    .woocommerce-MyAccount-navigation {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .woocommerce-MyAccount-navigation h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .dashboard-welcome, .view-all-orders, .edit-address-header, .form-header {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .woocommerce-MyAccount-navigation a {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .woocommerce-MyAccount-content {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .action-card {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .account-info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .info-item {
        padding: 0.75rem;
        border-radius: 10px;
    }
    
    .woocommerce-orders-table {
        font-size: 0.8rem;
        overflow-x: auto;
        border-radius: 15px;
    }
    
    .woocommerce-orders-table th,
    .woocommerce-orders-table td {
        padding: 0.5rem;
        white-space: nowrap;
    }
    
    .woocommerce-addresses {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .woocommerce-address {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .woocommerce-EditAccountForm,
    .woocommerce-EditAddressForm {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .woocommerce-PaymentMethods {
        padding: 1rem;
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .woocommerce-MyAccount-navigation {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .woocommerce-MyAccount-navigation h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .woocommerce-MyAccount-navigation a {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .woocommerce-MyAccount-content {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .dashboard-welcome {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .welcome-header h2 {
        font-size: 1.25rem;
    }
    
    .welcome-subtitle {
        font-size: 0.8rem;
    }
    
    .stat-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .action-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .action-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .action-content h4 {
        font-size: 0.9rem;
    }
    
    .action-content p {
        font-size: 0.75rem;
    }
    
    .order-item {
        padding: 1rem;
    }
    
    .order-number {
        font-size: 0.9rem;
    }
    
    .order-date,
    .order-total {
        font-size: 0.75rem;
    }
    
    .status-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .view-order-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .view-all-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .info-item {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .info-value {
        font-size: 0.9rem;
    }
    
    .woocommerce-orders-table {
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    .woocommerce-orders-table th,
    .woocommerce-orders-table td {
        padding: 0.4rem;
    }
    
    .woocommerce-address {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .woocommerce-address h3 {
        font-size: 1rem;
    }
    
    .woocommerce-address address {
        font-size: 0.8rem;
    }
    
    .woocommerce-address .edit {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .woocommerce-EditAccountForm,
    .woocommerce-EditAddressForm {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .woocommerce-EditAccountForm h3,
    .woocommerce-EditAddressForm h3 {
        font-size: 1.1rem;
    }
    
    .form-row input[type="text"],
    .form-row input[type="email"],
    .form-row input[type="password"],
    .form-row input[type="tel"],
    .form-row select,
    .form-row textarea {
        padding: 0.6rem;
        font-size: 0.8rem;
        border-radius: 10px;
    }
    
    .woocommerce-EditAccountForm .woocommerce-Button,
    .woocommerce-EditAddressForm .woocommerce-Button {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
        border-radius: 10px;
    }
    
    .woocommerce-PaymentMethods {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .payment_methods li {
        padding: 0.75rem;
        border-radius: 10px;
    }
}

/* ====== WISHLIST SECTION IN MY ACCOUNT ====== */
.dashboard-wishlist {
    margin-bottom: 2rem;
}

.dashboard-wishlist .wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dashboard-wishlist .wishlist-title {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-wishlist .view-all-link {
    color: white !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dashboard-wishlist .view-all-link:hover {
    color: white !important;
}

.dashboard-wishlist .view-all-link * {
    color: white !important;
}

.dashboard-wishlist .view-all-link i {
    color: white !important;
}

.dashboard-wishlist .wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .dashboard-wishlist .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dashboard-wishlist .wishlist-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-wishlist .product-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-wishlist .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.dashboard-wishlist .product-image-wrapper {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.dashboard-wishlist .product-image-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dashboard-wishlist .product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.dashboard-wishlist .product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-wishlist .product-card:hover .product-actions {
    opacity: 1;
}

.dashboard-wishlist .action-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.dashboard-wishlist .action-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: scale(1.1);
}

.dashboard-wishlist .product-info {
    text-align: center;
}

.dashboard-wishlist .product-title {
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.dashboard-wishlist .product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dashboard-wishlist .product-title a:hover {
    color: #3b82f6;
}

.dashboard-wishlist .product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.dashboard-wishlist .stars {
    display: flex;
    gap: 0.1rem;
}

.dashboard-wishlist .star {
    color: #d1d5db;
    font-size: 0.9rem;
}

.dashboard-wishlist .star.filled {
    color: #fbbf24;
}

.dashboard-wishlist .star.half {
    color: #fbbf24;
}

.dashboard-wishlist .rating-count {
    font-size: 0.8rem;
    color: #6b7280;
}

.dashboard-wishlist .product-price {
    font-size: 1.1rem;
    color: #3b82f6;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dashboard-wishlist .product-actions-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dashboard-wishlist .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border: none;
    cursor: pointer;
}

.dashboard-wishlist .btn-primary {
    background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%) !important;
    color: #ffffff !important;
}

.dashboard-wishlist .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.dashboard-wishlist .btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.dashboard-wishlist .btn-outline:hover {
    background: #3b82f6;
    color: #ffffff;
}

.dashboard-wishlist .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

.dashboard-wishlist .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.dashboard-wishlist .btn-disabled {
    background: #6b7280;
    color: #ffffff;
    cursor: not-allowed;
}

/* ====== RESPONSIVE WISHLIST ====== */
@media (max-width: 768px) {
    .wishlist-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wishlist-product-card {
        padding: 1rem;
    }
    
    .wishlist-product-card .product-actions {
        flex-direction: column;
    }
    
    .wishlist-product-card .btn {
        width: 100%;
    }
    
    .woocommerce-message,
    .woocommerce-error,
    .woocommerce-info {
        padding: 0.75rem 1rem;
        border-radius: 10px;
        font-size: 0.8rem;
    }
}

/* ==========================================================
   Addresses Page Styling
   ========================================================== */

/* Addresses Page Header */
.woocommerce-addresses .woocommerce-MyAccount-content h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.woocommerce-addresses .woocommerce-MyAccount-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

/* Address Cards */
.woocommerce-addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.woocommerce-address {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.woocommerce-address:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.woocommerce-address::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #10b981);
}

.woocommerce-address h3 {
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.woocommerce-address h3::before {
    content: '📍';
    font-size: 1rem;
}

.woocommerce-address address {
    font-style: normal;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.woocommerce-address .edit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.woocommerce-address .edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

/* ==========================================================
   Account Details Page Styling
   ========================================================== */

/* Account Details Form */
.woocommerce-EditAccountForm {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.woocommerce-EditAccountForm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.woocommerce-EditAccountForm h3 {
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.woocommerce-EditAccountForm h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

/* Form Fields */
.woocommerce-EditAccountForm .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-EditAccountForm .form-row label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.woocommerce-EditAccountForm .form-row input[type="text"],
.woocommerce-EditAccountForm .form-row input[type="email"],
.woocommerce-EditAccountForm .form-row input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.woocommerce-EditAccountForm .form-row input[type="text"]:focus,
.woocommerce-EditAccountForm .form-row input[type="email"]:focus,
.woocommerce-EditAccountForm .form-row input[type="password"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 15px rgba(59, 130, 246, 0.1);
    outline: none;
    transform: translateY(-2px);
}

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

/* Save Button */
.woocommerce-EditAccountForm .woocommerce-Button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.woocommerce-EditAccountForm .woocommerce-Button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

/* ==========================================================
   Orders Page Styling
   ========================================================== */

/* Orders Table */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.woocommerce-orders-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.woocommerce-orders-table thead {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
}

.woocommerce-orders-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-orders-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    font-size: 0.9rem;
}

.woocommerce-orders-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(29, 78, 216, 0.08) 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

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

.woocommerce-orders-table .woocommerce-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.woocommerce-orders-table .woocommerce-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

/* ==========================================================
   Downloads Page Styling
   ========================================================== */

/* Downloads Table */
.woocommerce-downloads-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

.woocommerce-downloads-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
}

.woocommerce-downloads-table thead {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.woocommerce-downloads-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-downloads-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    font-size: 0.9rem;
}

.woocommerce-downloads-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

.woocommerce-downloads-table .download-file {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.woocommerce-downloads-table .download-file:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

/* ==========================================================
   WOOCOMMERCE EDIT ADDRESS PAGE - CUSTOM STYLING
   ========================================================== */

/* Edit Address Page Container */
.woocommerce-edit-address-page {
    background: white;
    border-radius: 20px;
    box-shadow: none;
}

/* Header Section */
.edit-address-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border-radius: 16px;
    color: white;
    position: relative;
    overflow: hidden;
}

.edit-address-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.header-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
}

.header-actions .btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header-actions .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Form Container - Styling removed */

/* Form Header */
.form-header {
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-description {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Form Content */
.form-content {
    padding: 2rem;
}

.woocommerce-address-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

/* Enhanced Form Field Styling */
.woocommerce-address-fields__field-wrapper .form-row {
    margin-bottom: 0;
}

.woocommerce-address-fields__field-wrapper .form-row label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-address-fields__field-wrapper .form-row input[type="text"],
.woocommerce-address-fields__field-wrapper .form-row input[type="email"],
.woocommerce-address-fields__field-wrapper .form-row input[type="tel"],
.woocommerce-address-fields__field-wrapper .form-row select,
.woocommerce-address-fields__field-wrapper .form-row textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    color: #1f2937;
}

.woocommerce-address-fields__field-wrapper .form-row input[type="text"]::placeholder,
.woocommerce-address-fields__field-wrapper .form-row input[type="email"]::placeholder,
.woocommerce-address-fields__field-wrapper .form-row input[type="tel"]::placeholder,
.woocommerce-address-fields__field-wrapper .form-row textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.woocommerce-address-fields__field-wrapper .form-row input[type="text"]:focus,
.woocommerce-address-fields__field-wrapper .form-row input[type="email"]:focus,
.woocommerce-address-fields__field-wrapper .form-row input[type="tel"]:focus,
.woocommerce-address-fields__field-wrapper .form-row select:focus,
.woocommerce-address-fields__field-wrapper .form-row textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(59, 130, 246, 0.15);
    outline: none;
    transform: translateY(-1px);
}

.woocommerce-address-fields__field-wrapper .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

.woocommerce-address-fields__field-wrapper .form-row .required {
    color: #ef4444;
    margin-left: 0.25rem;
    font-weight: 600;
}

/* Select dropdown styling */
.woocommerce-address-fields__field-wrapper .form-row select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

.woocommerce-address-fields__field-wrapper .form-row select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Form Actions */
.form-actions {
    padding: 1.5rem 2rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Save Button */
.save-address-btn {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.save-address-btn::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;
}

.save-address-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.save-address-btn:hover::before {
    left: 100%;
}

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

/* Cancel Button */
.btn-outline-secondary {
    background: transparent;
    color: #6b7280;
    border: 2px solid #d1d5db;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-outline-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #6b7280;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-outline-secondary:hover {
    color: white;
    border-color: #6b7280;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.btn-outline-secondary:hover::before {
    width: 100%;
}

/* Info Section */
.form-info {
    display: flex;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border-radius: 8px;
    border: 1px solid #bfdbfe;
    font-size: 0.9rem;
    color: #1e40af;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

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

.info-item:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .woocommerce-edit-address-page {
        padding: 1rem;
        margin: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .woocommerce-address-fields__field-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .header-actions {
        position: static;
        margin-top: 1rem;
    }
    
    .save-address-btn,
    .btn-outline-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .woocommerce-edit-address-page {
        padding: 0.5rem;
        margin: 0.5rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .form-header,
    .form-content,
    .form-actions {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .save-address-btn,
    .btn-outline-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .woocommerce-address-fields__field-wrapper .form-row input[type="text"],
    .woocommerce-address-fields__field-wrapper .form-row input[type="email"],
    .woocommerce-address-fields__field-wrapper .form-row input[type="tel"],
    .woocommerce-address-fields__field-wrapper .form-row select,
    .woocommerce-address-fields__field-wrapper .form-row textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* ==========================================================
   ULTRA MODERN EDIT ADDRESS PAGE - COMPLETE REDESIGN
   ========================================================== */

/* Main Container */
.modern-address-edit-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.modern-address-edit-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Hero Section */
.address-hero-section {
    position: relative;
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.breadcrumb-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.hero-title-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.title-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.title-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Form Section */
.address-form-section {
    position: relative;
    z-index: 2;
    padding: 2rem 0 4rem;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.modern-address-form {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.modern-address-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

/* Form Header */
.form-header {
    padding: 3rem 3rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.header-content {
    flex: 1;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1f2937;
}

.form-description {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Form Fields */
.form-fields-container {
    padding: 2rem 3rem;
}

.fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.field-item {
    position: relative;
}

.field-right {
    /* Additional styling for right column if needed */
}

.field-wrapper {
    position: relative;
}

/* Enhanced Form Field Styling */
.form-fields-container .form-row {
    margin-bottom: 0;
}

.form-fields-container .form-row label {
    display: block;
    margin-bottom: 0.75rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-fields-container .form-row input[type="text"],
.form-fields-container .form-row input[type="email"],
.form-fields-container .form-row input[type="tel"],
.form-fields-container .form-row select,
.form-fields-container .form-row textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: inherit;
}

.form-fields-container .form-row input[type="text"]:focus,
.form-fields-container .form-row input[type="email"]:focus,
.form-fields-container .form-row input[type="tel"]:focus,
.form-fields-container .form-row select:focus,
.form-fields-container .form-row textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 4px 20px rgba(59, 130, 246, 0.15);
    outline: none;
    transform: translateY(-2px);
}

.form-fields-container .form-row textarea {
    min-height: 120px;
    resize: vertical;
}

.form-fields-container .form-row .required {
    color: #ef4444;
    margin-left: 0.25rem;
}

/* Form Actions */
.form-actions-section {
    padding: 2rem 3rem 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #e2e8f0;
}

.actions-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

/* Save Button */
.btn-save-address {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-save-address:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.btn-save-address:active {
    transform: translateY(-1px);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-save-address:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Cancel Button */
.btn-cancel-address {
    background: transparent;
    color: #6b7280;
    border: 2px solid #d1d5db;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cancel-address:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
}

/* Info Section */
.form-info-section {
    display: flex;
    align-items: center;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 1px solid #bfdbfe;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.info-content {
    flex: 1;
}

.info-text {
    font-size: 0.9rem;
    color: #1e40af;
    font-weight: 500;
}

.required-asterisk {
    color: #ef4444;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .fields-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .actions-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .primary-actions {
        justify-content: center;
    }
    
    .form-header,
    .form-fields-container,
    .form-actions-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content,
    .form-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================
   Edit Address Page Styling
   ========================================================== */

/* Edit Address Page Container */
.woocommerce-edit-address-page {
    background: white;
    border-radius: 20px;
    box-shadow: none;
}

/* Edit Address Header */
.edit-address-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-address-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #10b981);
}

.header-content {
    flex: 1;
}

.page-title {
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

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

.header-actions .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.header-actions .btn-outline-secondary {
    color: #6b7280;
    border-color: #d1d5db;
    background: transparent;
}

.header-actions .btn-outline-secondary:hover {
    background: #6b7280;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

/* Edit Address Form Container - Styling removed */

/* Form Header */
.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-title {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Form Content */
.form-content {
    margin-bottom: 2rem;
}

/* Form Field Wrapper */
.form-field-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-field-wrapper:last-child {
    margin-bottom: 0;
}

/* Form Fields Styling */
.woocommerce-address-fields__field-wrapper .form-row {
    margin-bottom: 0;
}

.woocommerce-address-fields__field-wrapper .form-row label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
}

.woocommerce-address-fields__field-wrapper .form-row label .required {
    color: #ef4444;
    margin-left: 0.25rem;
}

.woocommerce-address-fields__field-wrapper .form-row input[type="text"],
.woocommerce-address-fields__field-wrapper .form-row input[type="email"],
.woocommerce-address-fields__field-wrapper .form-row input[type="tel"],
.woocommerce-address-fields__field-wrapper .form-row select,
.woocommerce-address-fields__field-wrapper .form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: inherit;
}

.woocommerce-address-fields__field-wrapper .form-row input[type="text"]:focus,
.woocommerce-address-fields__field-wrapper .form-row input[type="email"]:focus,
.woocommerce-address-fields__field-wrapper .form-row input[type="tel"]:focus,
.woocommerce-address-fields__field-wrapper .form-row select:focus,
.woocommerce-address-fields__field-wrapper .form-row textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 4px 15px rgba(59, 130, 246, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.woocommerce-address-fields__field-wrapper .form-row textarea {
    min-height: 100px;
    resize: vertical;
}

/* Form Actions */
.form-actions {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
    margin-top: 2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.save-address-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.save-address-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.save-address-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.action-buttons .btn-outline-secondary {
    color: #6b7280;
    border-color: #d1d5db;
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-buttons .btn-outline-secondary:hover {
    background: #6b7280;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

/* Form Info */
.form-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.8rem;
}

.info-item i {
    font-size: 0.9rem;
}

/* Form Validation Messages */
.woocommerce-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: none;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.woocommerce-error::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.6s ease;
}

.woocommerce-error:hover::before {
    left: 100%;
}

.woocommerce-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: none;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.woocommerce-message::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.6s ease;
}

.woocommerce-message:hover::before {
    left: 100%;
}

/* ==========================================================
   Responsive Design for New Pages
   ========================================================== */

@media (max-width: 768px) {
    /* Edit Address Page Mobile */
    .woocommerce-edit-address-page {
        padding: 1rem 0;
    }
    
    .edit-address-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    /* .edit-address-form-container - Responsive styling removed */
    
    .form-title {
        font-size: 1.25rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .save-address-btn,
    .action-buttons .btn-outline-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .form-info {
        justify-content: center;
    }

    .woocommerce-addresses {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .woocommerce-address {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .woocommerce-EditAccountForm {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .woocommerce-orders-table,
    .woocommerce-downloads-table {
        font-size: 0.8rem;
        overflow-x: auto;
        border-radius: 15px;
    }
    
    .woocommerce-orders-table th,
    .woocommerce-orders-table td,
    .woocommerce-downloads-table th,
    .woocommerce-downloads-table td {
        padding: 0.5rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .woocommerce-address {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .woocommerce-address h3 {
        font-size: 1rem;
    }
    
    .woocommerce-address address {
        font-size: 0.8rem;
    }
    
    .woocommerce-address .edit {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .woocommerce-EditAccountForm {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .woocommerce-EditAccountForm h3 {
        font-size: 1.1rem;
    }
    
    .woocommerce-EditAccountForm .form-row input[type="text"],
    .woocommerce-EditAccountForm .form-row input[type="email"],
    .woocommerce-EditAccountForm .form-row input[type="password"] {
        padding: 0.6rem;
        font-size: 0.8rem;
        border-radius: 10px;
    }
    
    .woocommerce-EditAccountForm .woocommerce-Button {
        padding: 0.6rem 1.25rem;
        font-size: 0.8rem;
        border-radius: 10px;
    }
    
    .woocommerce-orders-table,
    .woocommerce-downloads-table {
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    .woocommerce-orders-table th,
    .woocommerce-orders-table td,
    .woocommerce-downloads-table th,
    .woocommerce-downloads-table td {
        padding: 0.4rem;
    }
    
    /* Edit Address Page Small Mobile */
    .edit-address-header {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 1.25rem;
    }
    
    .page-subtitle {
        font-size: 0.8rem;
    }
    
    /* .edit-address-form-container - Responsive styling removed */
    
    .form-title {
        font-size: 1.1rem;
    }
    
    .form-description {
        font-size: 0.8rem;
    }
    
    .woocommerce-address-fields__field-wrapper .form-row input[type="text"],
    .woocommerce-address-fields__field-wrapper .form-row input[type="email"],
    .woocommerce-address-fields__field-wrapper .form-row input[type="tel"],
    .woocommerce-address-fields__field-wrapper .form-row select,
    .woocommerce-address-fields__field-wrapper .form-row textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .save-address-btn,
    .action-buttons .btn-outline-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .form-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* WooCommerce Dashboard Adjustments */
.woocommerce-dashboard .site-content {
    margin-top: 0px !important;
}


.woocommerce-cart .site-content {
    margin-top: 0px !important;
}

/* Post Title Styling */
.woocommerce-dashboard h1.post-title {
    font-size: 25px !important;
    font-weight: 800 !important;
    height: 70.4px !important;
    line-height: 70.4px !important;
}

/* Post Title in Cart */
.woocommerce-cart h1.post-title {
    font-size: 40px !important;
    font-weight: 800 !important;
    height: 70.4px !important;
    line-height: 70.4px !important;
}
