/* ========================================
   MODERN MY ACCOUNT REDESIGN
   ======================================== */

/* Base styling for account pages */
.woocommerce-account {
    background: #f8fafc;
    min-height: 100vh;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: transparent;
}

/* General Account Page Reset */
.woocommerce-account .woocommerce-MyAccount-content {
    background: transparent;
    padding: 0;
}

/* Account page body styling for logged-out users */
.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content {
    background: #f8fafc;
    min-height: 100vh;
    padding: 2rem;
    margin: 0 auto;
    max-width: 100%;
}

/* Account page body styling for logged-out users - ensure full background */
.woocommerce-account:not(.logged-in) .woocommerce {
    background: #f8fafc;
    min-height: 100vh;
    padding: 0;
}

/* Remove default WooCommerce account navigation styling */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    margin: 0;
    border: none;
    background: none;
}

/* Modern Account Layout */
.woocommerce-account .woocommerce {
    background: #f8fafc;
    min-height: 100vh;
    padding: 2rem 0;
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   NAVIGATION REDESIGN
   ======================================== */

.woocommerce-MyAccount-navigation {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    padding: 0;
    overflow: hidden;
    width: 280px;
    min-width: 280px;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    width: 100%;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 1.2rem 1.5rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.woocommerce-MyAccount-navigation ul li:last-child a {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: #1f2937;
    background: #e5e7eb;
    padding-left: 2rem;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    color: #1f2937;
    background: #d1d5db;
    font-weight: 600;
    box-shadow: inset 4px 0 0 #6b7280;
    padding-left: 2rem;
}

/* Add icons to navigation items */
.woocommerce-MyAccount-navigation ul li a:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.woocommerce-MyAccount-navigation ul li:first-child a:before { content: "\f3c5"; } /* Dashboard */
.woocommerce-MyAccount-navigation ul li:nth-child(2) a:before { content: "\f570"; } /* Orders */
.woocommerce-MyAccount-navigation ul li:nth-child(3) a:before { content: "\f005"; } /* My Reviews */
.woocommerce-MyAccount-navigation ul li:nth-child(4) a:before { content: "\f007"; } /* Account details */
.woocommerce-MyAccount-navigation ul li:last-child a:before { content: "\f2f5"; } /* Logout */

/* ========================================
   CONTENT AREA REDESIGN
   ======================================== */

.woocommerce-MyAccount-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    flex: 1;
    min-height: 400px;
}

/* Page Headers */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* ========================================
   DASHBOARD STYLES
   ======================================== */

.vccsell-account-dashboard {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    padding: 0;
}

.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    text-align: center;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.dashboard-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
}

.welcome-message {
    margin: 0;
    opacity: 0.95;
    font-size: 1.1rem;
    font-weight: 400;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dashboard-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #667eea;
}

.dashboard-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-card h3 i {
    color: #667eea;
    font-size: 1.2rem;
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Account Actions */
.account-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-primary:hover {
    background: #e5e7eb;
    color: #1f2937;
    border-color: #9ca3af;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
    border-color: #9ca3af;
}

/* Orders List */
.orders-list {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item:hover {
    background: #f8fafc;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-info strong {
    color: #374151;
    font-size: 1.1rem;
}

.order-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.order-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-processing {
    background: #fef3c7;
    color: #92400e;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fee2e2;
    color: #991b1b;
}

.status-cancelled {
    background: #f3f4f6;
    color: #6b7280;
}

.order-total {
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.review-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.review-info strong {
    color: #374151;
    font-size: 1rem;
}

.review-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.review-content {
    color: #4b5563;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.action-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #667eea;
    color: #667eea;
}

.action-item i {
    font-size: 1.5rem;
    color: #667eea;
}

.action-item span {
    font-weight: 500;
    text-align: center;
}

/* View All Links */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.view-all-link:hover {
    color: #5a67d8;
    gap: 0.75rem;
}

/* No Orders/Reviews States */
.no-orders, .no-reviews {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
}

.no-orders h3, .no-reviews h3 {
    color: #374151;
    margin-bottom: 1rem;
}

/* ========================================
   MY REVIEWS PAGE STYLES
   ======================================== */

.vccsell-my-reviews {
    background: transparent;
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.reviews-header h2 {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.reviews-description {
    margin: 0;
    opacity: 0.95;
    font-size: 1.1rem;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.reviews-stats .stat-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.reviews-stats .stat-number {
    color: white;
}

.reviews-stats .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Review Items in My Reviews Page */
.vccsell-my-reviews .review-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vccsell-my-reviews .review-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #667eea;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: #f3f4f6;
    color: #374151;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.review-type i {
    color: #667eea;
}

.review-date {
    color: #6b7280;
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating .fas.fa-star.filled {
    color: #fbbf24;
}

.review-rating .fas.fa-star.empty {
    color: #d1d5db;
}

.rating-text {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.review-content h4 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.review-content h4 a {
    color: #374151;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.review-content h4 a:hover {
    color: #667eea;
}

.review-content h4 a i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.review-text {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
    gap: 1rem;
}

.review-actions {
    display: flex;
    gap: 1rem;
}

.view-review-link, .view-product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-review-link:hover, .view-product-link:hover {
    color: #5a67d8;
}

.review-status span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-spam {
    background: #fee2e2;
    color: #991b1b;
}

/* No Reviews State */
.no-reviews {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.no-reviews-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-reviews h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-reviews p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.no-reviews-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   LOGIN/REGISTER FORMS STYLING
   ======================================== */

.vccsell-account-forms {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.account-forms-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 0;
}

.account-forms-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.account-subtitle {
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.account-forms-tabs {
    background: #f8fafc;
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    color: #64748b;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    overflow: hidden;
}

.tab-button.active {
    background: #ffffff;
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-button:hover {
    background: rgba(102, 126, 234, 0.05);
    color: #667eea;
}

.account-forms-container {
    background: #ffffff;
    padding: 0;
    overflow: hidden;
}

.form-container {
    background: transparent;
    padding: 2.5rem;
    display: none;
    overflow: hidden;
}

.form-container.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.single-form .form-container {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-header p {
    margin: 0;
    color: #6b7280;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.input-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    z-index: 2;
    pointer-events: none;
}

.vccsell-account-forms .input-text,
.vccsell-account-forms .woocommerce-Input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 1rem 0 2.8rem !important;
    margin: 0 !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    background: #ffffff !important;
    color: #374151 !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.vccsell-account-forms .input-text::placeholder,
.vccsell-account-forms .woocommerce-Input::placeholder {
    color: #9ca3af !important;
    font-size: 0.95rem !important;
}

.vccsell-account-forms .input-text:focus,
.vccsell-account-forms .woocommerce-Input:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.vccsell-account-forms .input-text:focus + .password-toggle,
.vccsell-account-forms .input-text:focus ~ .input-icon {
    color: #667eea;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 0.9rem;
    z-index: 2;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
}

.vccsell-account-forms .input-wrapper:has(.password-toggle) .input-text,
.vccsell-account-forms .input-wrapper:has(.password-toggle) .woocommerce-Input {
    padding-right: 3rem !important;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    margin: 0;
    width: 1.1rem;
    height: 1.1rem;
}

.checkbox-text {
    color: #374151;
    font-size: 0.95rem;
    user-select: none;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vccsell-account-forms .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.vccsell-account-forms .btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.forgot-password-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #5a67d8;
}

.terms-note {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.5;
}

.form-note {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-note i {
    color: #0284c7;
    margin-top: 0.1rem;
}

.form-note p {
    margin: 0;
    color: #0c4a6e;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.strength-weak {
    background: #ef4444;
}

.strength-fill.strength-medium {
    background: #f59e0b;
}

.strength-fill.strength-strong {
    background: #10b981;
}

.strength-fill.strength-very-strong {
    background: #059669;
}

.strength-text {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

/* ========================================
   LOGGED-IN ACCOUNT FORMS STYLING
   ======================================== */

.woocommerce-MyAccount-content .woocommerce-form,
.woocommerce-MyAccount-content form {
    background: #ffffff;
    padding: 0;
    border: none;
    border-radius: 0;
}

.woocommerce-MyAccount-content .woocommerce-form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content .woocommerce-form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.woocommerce-MyAccount-content .woocommerce-Input,
.woocommerce-MyAccount-content .input-text,
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.woocommerce-MyAccount-content .woocommerce-Input:focus,
.woocommerce-MyAccount-content .input-text:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.woocommerce-MyAccount-content .woocommerce-Button {
    background: #f3f4f6;
    color: #374151;
    padding: 1rem 2rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce-MyAccount-content .woocommerce-Button:hover {
    background: #e5e7eb;
    color: #1f2937;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .woocommerce-MyAccount-navigation {
        width: 100%;
        min-width: 100%;
        position: static;
        margin-bottom: 1rem;
    }
    
    .woocommerce-MyAccount-navigation ul li a {
        padding: 1rem 1.5rem;
    }
    
    .woocommerce-MyAccount-navigation ul li a:hover,
    .woocommerce-MyAccount-navigation ul li.is-active a {
        padding-left: 1.5rem;
    }
    
    .woocommerce-MyAccount-content {
        padding: 1.5rem;
    }
    
    /* Mobile Content */
    .woocommerce-MyAccount-content {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .dashboard-header {
        padding: 2rem 1.5rem;
    }
    
    .dashboard-header h2 {
        font-size: 1.8rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dashboard-card {
        padding: 1.5rem;
    }
    
    .account-stats {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .action-item {
        padding: 1rem;
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .order-status {
        width: 100%;
        justify-content: space-between;
    }
    
    .account-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
    
    /* Mobile Reviews */
    .reviews-header {
        padding: 1.5rem;
    }
    
    .reviews-header h2 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .vccsell-my-reviews .review-item {
        padding: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .no-reviews {
        padding: 2rem 1rem;
    }
    
    .no-reviews-actions {
        flex-direction: column;
    }
    
    /* Mobile Login Forms */
    .vccsell-account-forms {
        margin: 1rem;
        max-width: none;
        border-radius: 12px;
    }
    
    .account-forms-header {
        padding: 2rem 1.5rem;
    }
    
    .account-forms-header h1 {
        font-size: 1.6rem;
    }
    
    .account-subtitle {
        font-size: 1rem;
    }
    
    .account-forms-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        padding: 1rem;
        border-bottom: 1px solid #e5e7eb;
        border-right: none;
    }
    
    .tab-button:last-child {
        border-bottom: none;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.3rem;
    }
    
    .vccsell-account-forms .input-text,
    .vccsell-account-forms .woocommerce-Input {
        height: 52px !important;
        font-size: 16px !important; /* Prevent zoom on iOS */
        padding: 0 1rem 0 2.8rem !important;
    }
    
    .vccsell-account-forms .input-wrapper:has(.password-toggle) .input-text,
    .vccsell-account-forms .input-wrapper:has(.password-toggle) .woocommerce-Input {
        padding-right: 3.5rem !important;
    }
    
    .input-icon {
        left: 1rem;
        font-size: 1rem;
    }
    
    .password-toggle {
        right: 1rem;
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .dashboard-header h2 {
        font-size: 1.5rem;
    }
    
    .welcome-message {
        font-size: 1rem;
    }
    
    .account-stats {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-header h2 {
        font-size: 1.4rem;
    }
    
    /* Small Mobile Login Forms */
    .vccsell-account-forms {
        margin: 0.5rem;
        border-radius: 8px;
    }
    
    .account-forms-header {
        padding: 1.5rem 1rem;
    }
    
    .account-forms-header h1 {
        font-size: 1.4rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .form-header {
        margin-bottom: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
}

/* Enhanced Modern Light Theme */
.light-theme .vccsell-account-forms {
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.light-theme .account-forms-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.light-theme .account-forms-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.light-theme .account-forms-tabs {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.light-theme .tab-button {
    color: #64748b;
    font-weight: 500;
}

.light-theme .tab-button.active {
    background: #ffffff;
    color: #667eea;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.light-theme .tab-button:hover {
    background: rgba(102, 126, 234, 0.05);
    color: #667eea;
}

.light-theme .form-container {
    background: #ffffff;
}

.light-theme .form-header h2 {
    color: #1e293b;
    font-weight: 700;
}

.light-theme .form-header p {
    color: #64748b;
}

.light-theme .form-group label {
    color: #374151;
    font-weight: 600;
}

.light-theme .input-text,
.light-theme .woocommerce-Input {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #1e293b;
    transition: all 0.3s ease;
}

.light-theme .input-text:focus,
.light-theme .woocommerce-Input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.light-theme .input-text::placeholder,
.light-theme .woocommerce-Input::placeholder {
    color: #94a3b8;
}

.light-theme .checkbox-text {
    color: #64748b;
}

.light-theme .forgot-password-link {
    color: #667eea;
    font-weight: 500;
}

.light-theme .forgot-password-link:hover {
    color: #5a67d8;
}

.light-theme .terms-note {
    color: #64748b;
}

/* Enhanced Modern Dark Theme */
.dark-theme .vccsell-account-forms {
    background: #1e293b;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.dark-theme .account-forms-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    position: relative;
}

.dark-theme .account-forms-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="darkGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23darkGrain)"/></svg>');
    opacity: 0.2;
}

.dark-theme .account-forms-tabs {
    background: #0f172a;
    border-bottom: 1px solid #334155;
}

.dark-theme .tab-button {
    color: #94a3b8;
    font-weight: 500;
}

.dark-theme .tab-button.active {
    background: #1e293b;
    color: #667eea;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.dark-theme .tab-button:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #e2e8f0;
}

.dark-theme .form-container {
    background: #1e293b;
}

.dark-theme .form-header h2 {
    color: #f1f5f9;
    font-weight: 700;
}

.dark-theme .form-header p {
    color: #cbd5e1;
}

.dark-theme .form-group label {
    color: #e2e8f0;
    font-weight: 600;
}

.dark-theme .input-text,
.dark-theme .woocommerce-Input {
    background: #0f172a;
    border: 2px solid #334155;
    color: #f1f5f9;
    transition: all 0.3s ease;
}

.dark-theme .input-text:focus,
.dark-theme .woocommerce-Input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: #0f172a;
}

.dark-theme .input-text::placeholder,
.dark-theme .woocommerce-Input::placeholder {
    color: #64748b;
}

.dark-theme .checkbox-text {
    color: #cbd5e1;
}

.dark-theme .forgot-password-link {
    color: #818cf8;
    font-weight: 500;
}

.dark-theme .forgot-password-link:hover {
    color: #a5b4fc;
}

.dark-theme .terms-note {
    color: #94a3b8;
}

.dark-theme .btn {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.dark-theme .btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* ========================================
   ENHANCED ACCOUNT FORMS STYLING (LOGGED-OUT USERS)
   ======================================== */

.vccsell-account-forms {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.account-forms-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-bottom: 0;
}

.account-forms-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: white !important;
}

.account-subtitle {
    margin: 0;
    opacity: 0.95;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

.account-forms-container {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.form-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.tab-button {
    position: relative;
    overflow: hidden;
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    background: #ffffff;
    color: #667eea !important;
    border-bottom-color: #667eea;
    font-weight: 600;
}

.tab-button:hover:not(.active) {
    background: rgba(102, 126, 234, 0.05);
    color: #667eea !important;
}

.form-container {
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    background: #ffffff;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group .required {
    color: #dc2626;
    margin-left: 0.25rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #374151;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #fbfcfd;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: #667eea;
}

.checkbox-wrapper label {
    color: #4b5563;
    line-height: 1.5;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-wrapper label a {
    color: #667eea;
    text-decoration: none;
}

.checkbox-wrapper label a:hover {
    text-decoration: underline;
}

/* Enhanced Button Styles with Improved Text Colors */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-height: 50px;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: #f3f4f6;
    color: #374151 !important;
    border: 1px solid #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #e5e7eb;
    color: #1f2937 !important;
    border-color: #9ca3af;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151 !important;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: #1f2937 !important;
    border-color: #d1d5db;
}

.btn-full {
    width: 100%;
}

.btn i {
    font-size: 0.9rem;
}

/* Login/Register Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn {
    width: 100%;
}

.form-switch {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

.form-switch button {
    background: none;
    border: none;
    color: #667eea;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.form-switch button:hover {
    color: #5a67d8;
}

/* Forgot Password */
.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Success/Error Messages */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ========================================
   ENHANCED DASHBOARD STYLES (LOGGED-IN USERS)
   ======================================== */

.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.dashboard-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: white !important;
}

.dashboard-subtitle {
    margin: 0;
    opacity: 0.95;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9) !important;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #e5e7eb;
}

.dashboard-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-card h3 i {
    color: #667eea;
    font-size: 1.1rem;
}

/* Quick Actions Grid */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.action-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.action-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #667eea;
    color: #667eea;
}

.action-item i {
    font-size: 1.5rem;
    color: #667eea;
}

.action-item span {
    font-weight: 500;
    text-align: center;
}

/* View All Links */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.view-all-link:hover {
    color: #5a67d8 !important;
    gap: 0.75rem;
}

/* Enhanced No Orders/Reviews States */
.no-orders, .no-reviews {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.no-orders-icon, .no-reviews-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
    display: block;
}

.no-orders h3, .no-reviews h3 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.no-orders p, .no-reviews p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.no-orders-actions, .no-reviews-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.no-orders-actions .btn, .no-reviews-actions .btn {
    min-width: 150px;
}

/* WooCommerce "No order has been made yet" message enhancement */
.woocommerce-info, .woocommerce-message, .woocommerce-notice {
    /* Base card-like appearance */
    text-align: center !important;
    padding: 2rem !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e5e7eb !important;
    margin: 2rem 0 !important;
    position: relative !important;
    overflow: hidden !important;

    /* Remove WooCommerce default coloured top border and use full border instead */
    border-top: none !important;

    /* Ensure flex alignment */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.woocommerce-info::before, .woocommerce-message::before, .woocommerce-notice::before {
    content: "📦";
    /* Override WooCommerce icon font */
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
    /* Reset the absolute positioning applied by WooCommerce */
    position: static !important;
    left: auto !important;
    top: auto !important;
    /* Improved visual appearance */
    line-height: 1 !important;
    margin: 0 0 1rem 0 !important;
    display: block !important;
    text-align: center !important;
}

.woocommerce-notice::before {
    /* Override WooCommerce icon font */
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif !important;
    /* Reset the absolute positioning applied by WooCommerce */
    position: static !important;
    left: auto !important;
    top: auto !important;
    /* Improved visual appearance */
    line-height: 1 !important;
    margin: 0 0 1rem 0 !important;
    display: block !important;
    text-align: center !important;
}

.woocommerce-info .woocommerce-Button,
.woocommerce-message .woocommerce-Button,
.woocommerce-notice .woocommerce-Button {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    padding: 0.875rem 2rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.woocommerce-info .woocommerce-Button:hover,
.woocommerce-message .woocommerce-Button:hover,
.woocommerce-notice .woocommerce-Button:hover {
    background: #e5e7eb !important;
    color: #1f2937 !important;
    border-color: #9ca3af !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

/* ========================================
   ENHANCED RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .vccsell-account-forms,
    .woocommerce-EditAccountForm {
        margin: 1rem;
        border-radius: 12px;
    }
    
    .account-forms-header,
    .dashboard-header {
        padding: 2rem 1.5rem;
    }
    
    .form-container,
    .woocommerce-EditAccountForm {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .woocommerce-EditAccountForm .form-row-first,
    .woocommerce-EditAccountForm .form-row-last {
        width: 100%;
        float: none;
        margin-bottom: 1.5rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .no-orders-actions,
    .no-reviews-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .no-orders-actions .btn,
    .no-reviews-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .account-forms-header h1,
    .dashboard-header h1 {
        font-size: 1.75rem;
    }
    
    .reviews-header h2 {
        font-size: 1.75rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .form-actions .btn {
        padding: 1rem 1.5rem;
    }
    
    .woocommerce-EditAccountForm .woocommerce-Button {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   ACCOUNT DETAILS FORM ENHANCEMENT
   ======================================== */

.woocommerce-EditAccountForm {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
}

.woocommerce-EditAccountForm .woocommerce-form-row {
    margin-bottom: 2rem;
}

.woocommerce-EditAccountForm label {
    display: block;
    margin-bottom: 0.75rem;
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
}

.woocommerce-EditAccountForm .required {
    color: #dc2626;
    margin-left: 0.25rem;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #374151;
}

.woocommerce-EditAccountForm input[type="text"]:focus,
.woocommerce-EditAccountForm input[type="email"]:focus,
.woocommerce-EditAccountForm input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #fbfcfd;
}

.woocommerce-EditAccountForm fieldset {
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    background: #fafbfc;
}

.woocommerce-EditAccountForm legend {
    padding: 0 1rem;
    color: #374151;
    font-weight: 700;
    font-size: 1.1rem;
    background: #ffffff;
    border-radius: 8px;
}

.woocommerce-EditAccountForm .woocommerce-Button {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 1px solid #d1d5db !important;
    padding: 1rem 2.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-height: 50px !important;
    position: relative !important;
    overflow: hidden !important;
}

.woocommerce-EditAccountForm .woocommerce-Button:hover {
    background: #e5e7eb !important;
    color: #1f2937 !important;
    border-color: #9ca3af !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

/* Form row styling for side-by-side fields */
.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last {
    width: calc(50% - 0.5rem);
    float: left;
}

.woocommerce-EditAccountForm .form-row-last {
    float: right;
}

.woocommerce-EditAccountForm .clear {
    clear: both;
    margin-bottom: 1rem;
}

.woocommerce-EditAccountForm #account_display_name_description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* ========================================
   FIX: Account Overview contrast for Light Theme
   ======================================== */
html[data-theme="light"] .woocommerce-account .dashboard-card.account-overview .stat-item,
html[data-theme="light"] .woocommerce-account .dashboard-card.account-overview .stat-item .stat-number,
html[data-theme="light"] .woocommerce-account .dashboard-card.account-overview .stat-item .stat-label {
    color: #000 !important;
}

html[data-theme="light"] .woocommerce-account .dashboard-card.account-overview h3 i {
    color: #000 !important;
} 