/* ========================================
   Febrill My Account - Ultra Modern Design
   Mobile-First Responsive CSS
   ======================================== */

/* CSS Variables */
:root {
    --feb-black: #0a0a0a;
    --feb-white: #ffffff;
    --feb-gray-50: #fafafa;
    --feb-gray-100: #f5f5f5;
    --feb-gray-200: #e5e5e5;
    --feb-gray-300: #d4d4d4;
    --feb-gray-400: #a3a3a3;
    --feb-gray-500: #737373;
    --feb-gray-600: #525252;
    --feb-gray-700: #404040;
    --feb-gray-800: #262626;
    --feb-success: #10b981;
    --feb-warning: #f59e0b;
    --feb-error: #ef4444;
    --feb-info: #3b82f6;
    --feb-radius-sm: 8px;
    --feb-radius-md: 12px;
    --feb-radius-lg: 16px;
    --feb-radius-xl: 20px;
    --feb-radius-2xl: 24px;
    --feb-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --feb-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --feb-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --feb-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --feb-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
.feb-account {
    min-height: 100vh;
    background: var(--feb-gray-50);
    font-family: 'IRANSans', sans-serif;
    padding-bottom: 80px; /* Space for bottom nav */
}

body.sidebar-open {
    overflow: hidden;
}

/* ========================================
   Mobile Header (Shows on mobile only)
   ======================================== */
.feb-account__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--feb-white);
    border-bottom: 1px solid var(--feb-gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

.feb-account__mobile-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feb-account__mobile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--feb-gray-200);
}

.feb-account__mobile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feb-account__mobile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feb-account__mobile-greeting {
    font-size: 12px;
    color: var(--feb-gray-500);
}

.feb-account__mobile-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--feb-black);
}

.feb-account__menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--feb-gray-100);
    border: none;
    border-radius: var(--feb-radius-md);
    cursor: pointer;
    transition: var(--feb-transition);
}

.feb-account__menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--feb-black);
    border-radius: 2px;
    transition: var(--feb-transition);
}

.feb-account__menu-toggle:hover {
    background: var(--feb-gray-200);
}

/* ========================================
   Desktop Hero Section
   ======================================== */
.feb-account__hero {
    display: none;
    position: relative;
    background: var(--feb-black);
    padding: 50px 30px;
    overflow: hidden;
}

.feb-account__hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.feb-account__hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.feb-account__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.feb-account__breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--feb-transition);
}

.feb-account__breadcrumb a:hover {
    color: var(--feb-white);
}

.feb-account__breadcrumb svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255,255,255,0.4);
    fill: none;
    stroke-width: 2;
}

.feb-account__breadcrumb span {
    color: var(--feb-white);
    font-size: 14px;
}

.feb-account__hero-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--feb-white);
    margin: 0 0 10px;
}

.feb-account__hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ========================================
   Main Layout
   ======================================== */
.feb-account__layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* ========================================
   Sidebar
   ======================================== */
.feb-account__sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feb-account__sidebar.is-open {
    right: 0;
}

.feb-account__sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--feb-transition);
}

.feb-account__sidebar.is-open .feb-account__sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

.feb-account__sidebar-content {
    position: relative;
    height: 100%;
    background: var(--feb-white);
    overflow-y: auto;
    box-shadow: var(--feb-shadow-xl);
}

/* User Card */
.feb-account__user-card {
    padding: 30px 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--feb-black) 0%, var(--feb-gray-800) 100%);
    color: var(--feb-white);
}

.feb-account__user-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}

.feb-account__user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
}

.feb-account__user-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    background: var(--feb-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--feb-white);
}

.feb-account__user-badge svg {
    width: 12px;
    height: 12px;
    stroke: var(--feb-white);
    fill: none;
    stroke-width: 3;
}

.feb-account__user-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.feb-account__user-email {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 20px;
    direction: ltr;
}

.feb-account__user-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.feb-account__stat {
    text-align: center;
}

.feb-account__stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.feb-account__stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.feb-account__stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}

/* Navigation */
.feb-account__nav {
    padding: 16px;
}

.feb-account__nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 6px;
    border-radius: var(--feb-radius-md);
    color: var(--feb-gray-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--feb-transition);
}

.feb-account__nav-item:hover {
    background: var(--feb-gray-100);
    color: var(--feb-black);
}

.feb-account__nav-item.is-active {
    background: var(--feb-black);
    color: var(--feb-white);
}

.feb-account__nav-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feb-account__nav-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.feb-account__nav-label {
    flex: 1;
}

.feb-account__nav-badge {
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--feb-gray-200);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feb-account__nav-item.is-active .feb-account__nav-badge {
    background: rgba(255,255,255,0.2);
}

.feb-account__nav-arrow {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    opacity: 0.5;
}

/* ========================================
   Main Content
   ======================================== */
.feb-account__main {
    width: 100%;
}

.feb-account__content {
    background: var(--feb-white);
    border-radius: var(--feb-radius-xl);
    padding: 24px 20px;
    box-shadow: var(--feb-shadow-sm);
    min-height: 300px;
}

/* Content Typography */
.feb-account__content h2,
.feb-account__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--feb-black);
    margin: 0 0 20px;
}

.feb-account__content p {
    font-size: 14px;
    color: var(--feb-gray-600);
    line-height: 1.8;
    margin: 0 0 16px;
}

.feb-account__content a:not(.button):not(.woocommerce-Button) {
    color: var(--feb-black);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--feb-gray-300);
    transition: var(--feb-transition);
}

.feb-account__content a:not(.button):not(.woocommerce-Button):hover {
    border-color: var(--feb-black);
}

/* ========================================
   Orders Table - Card Style
   ======================================== */
.feb-account__content .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.feb-account__content .woocommerce-orders-table thead {
    display: none;
}

.feb-account__content .woocommerce-orders-table tbody tr {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    margin-bottom: 16px;
    background: var(--feb-gray-50);
    border-radius: var(--feb-radius-lg);
    border: 1px solid var(--feb-gray-200);
    transition: var(--feb-transition);
}

.feb-account__content .woocommerce-orders-table tbody tr:hover {
    border-color: var(--feb-gray-300);
    box-shadow: var(--feb-shadow-md);
}

.feb-account__content .woocommerce-orders-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border: none;
    font-size: 14px;
}

.feb-account__content .woocommerce-orders-table td::before {
    content: attr(data-title);
    font-size: 12px;
    font-weight: 600;
    color: var(--feb-gray-500);
}

.feb-account__content .woocommerce-orders-table .button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--feb-black);
    color: var(--feb-white);
    border: none;
    border-radius: var(--feb-radius-md);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--feb-transition);
}

.feb-account__content .woocommerce-orders-table .button:hover {
    background: var(--feb-gray-800);
    transform: translateY(-2px);
}

/* Order Status */
.feb-account__content mark.order-status {
    background: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.feb-account__content mark.order-status-pending { background: #fef3c7; color: #92400e; }
.feb-account__content mark.order-status-processing { background: #dbeafe; color: #1e40af; }
.feb-account__content mark.order-status-on-hold { background: #fed7aa; color: #9a3412; }
.feb-account__content mark.order-status-completed { background: #d1fae5; color: #065f46; }
.feb-account__content mark.order-status-cancelled { background: #fee2e2; color: #991b1b; }
.feb-account__content mark.order-status-refunded { background: #e5e7eb; color: #374151; }
.feb-account__content mark.order-status-failed { background: #fecaca; color: #7f1d1d; }

/* No Orders */
.feb-account__content .woocommerce-info {
    text-align: center;
    padding: 50px 20px;
    background: var(--feb-gray-50);
    border-radius: var(--feb-radius-lg);
    border: 2px dashed var(--feb-gray-300);
}

/* ========================================
   Forms
   ======================================== */
.feb-account__content .woocommerce-EditAccountForm,
.feb-account__content .woocommerce-address-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feb-account__content .form-row {
    margin: 0;
}

.feb-account__content .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--feb-gray-700);
    margin-bottom: 8px;
}

.feb-account__content .form-row input[type="text"],
.feb-account__content .form-row input[type="email"],
.feb-account__content .form-row input[type="password"],
.feb-account__content .form-row input[type="tel"],
.feb-account__content .form-row select {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-family: inherit;
    color: var(--feb-black);
    background: var(--feb-gray-50);
    border: 2px solid var(--feb-gray-200);
    border-radius: var(--feb-radius-md);
    outline: none;
    transition: var(--feb-transition);
}

.feb-account__content .form-row input:focus,
.feb-account__content .form-row select:focus {
    background: var(--feb-white);
    border-color: var(--feb-black);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.feb-account__content .woocommerce-Button,
.feb-account__content button[type="submit"],
.feb-account__content input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--feb-black);
    color: var(--feb-white);
    border: none;
    border-radius: var(--feb-radius-md);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--feb-transition);
}

.feb-account__content .woocommerce-Button:hover,
.feb-account__content button[type="submit"]:hover,
.feb-account__content input[type="submit"]:hover {
    background: var(--feb-gray-800);
    transform: translateY(-2px);
    box-shadow: var(--feb-shadow-lg);
}

/* Fieldset */
.feb-account__content fieldset {
    border: none;
    padding: 24px;
    margin: 16px 0;
    background: var(--feb-gray-50);
    border-radius: var(--feb-radius-lg);
}

.feb-account__content fieldset legend {
    font-size: 16px;
    font-weight: 700;
    color: var(--feb-black);
    margin-bottom: 20px;
}

/* ========================================
   Bottom Navigation (Mobile)
   ======================================== */
.feb-account__bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 12px 16px;
    background: var(--feb-white);
    border-top: 1px solid var(--feb-gray-200);
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.feb-account__bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--feb-gray-500);
    border-radius: var(--feb-radius-md);
    transition: var(--feb-transition);
}

.feb-account__bottom-item.is-active {
    color: var(--feb-black);
    background: var(--feb-gray-100);
}

.feb-account__bottom-icon {
    width: 24px;
    height: 24px;
}

.feb-account__bottom-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.feb-account__bottom-label {
    font-size: 11px;
    font-weight: 600;
}

/* ========================================
   Auth Section (Login/Register)
   ======================================== */
.feb-auth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--feb-gray-100) 0%, var(--feb-gray-50) 100%);
}

.feb-auth__container {
    width: 100%;
    max-width: 420px;
}

.feb-auth__card {
    background: var(--feb-white);
    border-radius: var(--feb-radius-2xl);
    padding: 32px 24px;
    box-shadow: var(--feb-shadow-xl);
}

.feb-auth__logo {
    text-align: center;
    margin-bottom: 28px;
}

.feb-auth__logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--feb-black);
    border-radius: var(--feb-radius-xl);
}

.feb-auth__logo-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--feb-white);
    fill: none;
    stroke-width: 2;
}

/* Auth Tabs */
.feb-auth__tabs {
    display: flex;
    position: relative;
    background: var(--feb-gray-100);
    border-radius: var(--feb-radius-md);
    padding: 4px;
    margin-bottom: 28px;
}

.feb-auth__tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--feb-gray-600);
    cursor: pointer;
    border-radius: var(--feb-radius-sm);
    transition: var(--feb-transition);
    position: relative;
    z-index: 1;
}

.feb-auth__tab.is-active {
    color: var(--feb-black);
}

.feb-auth__tab-indicator {
    position: absolute;
    top: 4px;
    right: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--feb-white);
    border-radius: var(--feb-radius-sm);
    box-shadow: var(--feb-shadow-sm);
    transition: transform 0.3s ease;
}

/* Auth Panels */
.feb-auth__panel {
    display: none;
}

.feb-auth__panel.is-active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Auth Form */
.feb-auth__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feb-auth__field {
    position: relative;
}

.feb-auth__field input {
    width: 100%;
    padding: 18px 50px 18px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--feb-black);
    background: var(--feb-gray-50);
    border: 2px solid transparent;
    border-radius: var(--feb-radius-md);
    outline: none;
    transition: var(--feb-transition);
}

.feb-auth__field input:focus {
    background: var(--feb-white);
    border-color: var(--feb-black);
}

.feb-auth__field label {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--feb-gray-500);
    pointer-events: none;
    transition: var(--feb-transition);
}

.feb-auth__field input:focus + label,
.feb-auth__field input:not(:placeholder-shown) + label {
    top: 8px;
    transform: translateY(0);
    font-size: 11px;
    color: var(--feb-black);
    font-weight: 600;
}

.feb-auth__field-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
}

.feb-auth__field-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--feb-gray-400);
    fill: none;
    stroke-width: 2;
}

.feb-auth__toggle-pass {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.feb-auth__toggle-pass svg {
    width: 100%;
    height: 100%;
    stroke: var(--feb-gray-400);
    fill: none;
    stroke-width: 2;
}

.feb-auth__toggle-pass .eye-hide {
    display: none;
}

.feb-auth__toggle-pass.is-visible .eye-show {
    display: none;
}

.feb-auth__toggle-pass.is-visible .eye-hide {
    display: block;
}

/* Auth Options */
.feb-auth__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.feb-auth__remember {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--feb-gray-700);
    cursor: pointer;
}

.feb-auth__remember input {
    display: none;
}

.feb-auth__checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--feb-gray-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--feb-transition);
}

.feb-auth__remember input:checked + .feb-auth__checkbox {
    background: var(--feb-black);
    border-color: var(--feb-black);
}

.feb-auth__remember input:checked + .feb-auth__checkbox::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid var(--feb-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.feb-auth__forgot {
    font-size: 13px;
    color: var(--feb-gray-600);
    text-decoration: none;
}

.feb-auth__forgot:hover {
    color: var(--feb-black);
}

/* Auth Submit */
.feb-auth__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: var(--feb-black);
    color: var(--feb-white);
    border: none;
    border-radius: var(--feb-radius-md);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--feb-transition);
}

.feb-auth__submit:hover {
    background: var(--feb-gray-800);
    transform: translateY(-2px);
    box-shadow: var(--feb-shadow-lg);
}

.feb-auth__submit svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.feb-auth__note {
    text-align: center;
    font-size: 13px;
    color: var(--feb-gray-600);
    padding: 16px;
    background: var(--feb-gray-50);
    border-radius: var(--feb-radius-md);
    margin: 0;
}

/* ========================================
   RESPONSIVE - Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
    .feb-account {
        padding-bottom: 0;
    }
    
    .feb-account__mobile-header {
        display: none;
    }
    
    .feb-account__hero {
        display: block;
    }
    
    .feb-account__layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .feb-account__sidebar {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
    }
    
    .feb-account__sidebar-overlay {
        display: none;
    }
    
    .feb-account__sidebar-content {
        position: sticky;
        top: 100px;
        border-radius: var(--feb-radius-xl);
        box-shadow: var(--feb-shadow-md);
        overflow: visible;
    }
    
    .feb-account__bottom-nav {
        display: none;
    }
    
    .feb-account__content {
        padding: 32px;
        border-radius: var(--feb-radius-2xl);
    }
    
    .feb-account__content h2,
    .feb-account__content h3 {
        font-size: 22px;
    }
    
    /* Forms Grid */
    .feb-account__content .woocommerce-EditAccountForm {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feb-account__content .form-row-wide {
        grid-column: 1 / -1;
    }
    
    .feb-account__content fieldset {
        grid-column: 1 / -1;
    }
    
    .feb-account__content .woocommerce-EditAccountForm > p:last-child {
        grid-column: 1 / -1;
    }
    
    /* Orders Table */
    .feb-account__content .woocommerce-orders-table tbody tr {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
    }
    
    .feb-account__content .woocommerce-orders-table td {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .feb-account__content .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
        margin-right: auto;
    }
    
    .feb-account__content .woocommerce-orders-table .button {
        width: auto;
    }
    
    /* Auth */
    .feb-auth__card {
        padding: 40px 36px;
    }
}

/* ========================================
   RESPONSIVE - Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    .feb-account__hero {
        padding: 60px 40px;
    }
    
    .feb-account__hero-title {
        font-size: 38px;
    }
    
    .feb-account__layout {
        grid-template-columns: 300px 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .feb-account__user-card {
        padding: 36px 28px;
    }
    
    .feb-account__user-avatar {
        width: 90px;
        height: 90px;
    }
    
    .feb-account__content {
        padding: 40px;
    }
    
    .feb-account__content .woocommerce-orders-table tbody tr {
        padding: 24px;
    }
}

/* ========================================
   RESPONSIVE - Small Mobile (max 375px)
   ======================================== */
@media (max-width: 375px) {
    .feb-account__mobile-header {
        padding: 12px 16px;
    }
    
    .feb-account__mobile-avatar {
        width: 40px;
        height: 40px;
    }
    
    .feb-account__mobile-name {
        font-size: 14px;
    }
    
    .feb-account__menu-toggle {
        width: 40px;
        height: 40px;
    }
    
    .feb-account__layout {
        padding: 16px 12px;
    }
    
    .feb-account__content {
        padding: 20px 16px;
        border-radius: var(--feb-radius-lg);
    }
    
    .feb-account__content h2,
    .feb-account__content h3 {
        font-size: 16px;
    }
    
    .feb-account__content .form-row input,
    .feb-account__content .form-row select {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .feb-account__content .woocommerce-Button,
    .feb-account__content button[type="submit"],
    .feb-account__content input[type="submit"] {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .feb-account__bottom-item {
        padding: 6px 12px;
    }
    
    .feb-account__bottom-label {
        font-size: 10px;
    }
    
    .feb-auth__card {
        padding: 24px 20px;
        border-radius: var(--feb-radius-xl);
    }
    
    .feb-auth__logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .feb-auth__field input {
        padding: 16px 44px 16px 14px;
        font-size: 14px;
    }
    
    .feb-auth__submit {
        padding: 14px;
        font-size: 14px;
    }
}

/* ========================================
   FLOATING SUPPORT - Above Bottom Nav
   ======================================== */
body.feb-myaccount-page .floating-support {
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 767.98px) {
    body.feb-myaccount-page .floating-support {
        bottom: 95px !important;
    }
}

@media (max-width: 575.98px) {
    body.feb-myaccount-page .floating-support {
        bottom: 90px !important;
        right: 16px;
    }
    
    body.feb-myaccount-page .floating-support.floating-support--bottom-left {
        right: auto;
        left: 16px;
    }
}

@media (max-width: 375px) {
    body.feb-myaccount-page .floating-support {
        bottom: 85px !important;
        right: 12px;
    }
    
    body.feb-myaccount-page .floating-support.floating-support--bottom-left {
        right: auto;
        left: 12px;
    }
}
