/**
 * Account UX/UI - Modern Single-Page Account Stylesheet
 * Scoped cleanly to prevent conflicts with any theme
 */

:root {
    --aux-primary: #0e382b;
    --aux-primary-rgb: 14, 56, 43;
    --aux-secondary: #06b6d4;
    --aux-accent: #10b981;
    --aux-accent-rgb: 16, 185, 129;
    --aux-mint: #e6f4ea;
    --aux-mint-text: #0b5c3b;
    --aux-dot-active: #f59e0b;
    --aux-text-main: #1e293b;
    --aux-text-muted: #64748b;
    --aux-border: #e2e8f0;
    --aux-bg-card: #ffffff;
    --aux-bg-subtle: #f8fafc;
    --aux-radius: 14px;
    --aux-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --aux-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --aux-font: 'Inter', 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset & Scope Isolation */
.account-ux-wrapper {
    font-family: var(--aux-font);
    color: var(--aux-text-main);
    line-height: 1.5;
    margin: 1.5rem auto;
    width: 100%;
    max-width: 1040px;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.account-ux-wrapper *,
.account-ux-wrapper *::before,
.account-ux-wrapper *::after {
    box-sizing: border-box;
}

/* Theme Isolation - Prevent WordPress Themes (e.g. Kadence, Astra) from Injecting 1.5em Heading Margins */
.account-ux-wrapper h1,
.account-ux-wrapper h2,
.account-ux-wrapper h3,
.account-ux-wrapper h4,
.account-ux-wrapper h5,
.account-ux-wrapper h6,
.single-content .account-ux-wrapper h1,
.single-content .account-ux-wrapper h2,
.single-content .account-ux-wrapper h3,
.single-content .account-ux-wrapper h4,
.single-content .account-ux-wrapper h5,
.single-content .account-ux-wrapper h6,
.aux-dashboard-container h1,
.aux-dashboard-container h2,
.aux-dashboard-container h3,
.aux-dashboard-container h4,
.aux-dashboard-container h5,
.aux-dashboard-container h6,
.single-content .aux-dashboard-container h1,
.single-content .aux-dashboard-container h2,
.single-content .aux-dashboard-container h3,
.single-content .aux-dashboard-container h4,
.single-content .aux-dashboard-container h5,
.single-content .aux-dashboard-container h6 {
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.account-ux-wrapper p,
.single-content .account-ux-wrapper p,
.aux-dashboard-container p,
.single-content .aux-dashboard-container p {
    margin-top: 0;
}

/* ==========================================================
   1. AUTH PAGE (Split View / Centered Card / Glassmorphism)
   ========================================================== */

.aux-auth-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    min-width: 0;
}

.aux-auth-box {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    background: var(--aux-bg-card);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    box-shadow: var(--aux-shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 600px;
    position: relative;
    box-sizing: border-box;
}

/* Centered Brand Header inside Card */
.aux-card-brand-header {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.aux-card-brand-logo img {
    max-height: 52px;
    max-width: 200px;
    margin: 0 auto 1.25rem auto;
    object-fit: contain;
    display: block;
}

.aux-card-brand-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--aux-primary), var(--aux-secondary));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 8px 16px rgba(var(--aux-primary-rgb), 0.25);
}

.aux-card-brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--aux-text-main);
    margin: 0 0 0.5rem 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.aux-card-brand-subtitle {
    font-size: 0.9rem;
    color: var(--aux-text-muted);
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Layout Style: Modern Centered Card */
.account-ux-wrapper[data-style="modern_card"] .aux-auth-container {
    padding: 2.5rem 1rem;
}

.account-ux-wrapper[data-style="modern_card"] .aux-auth-box {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid var(--aux-border);
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.03);
}

.account-ux-wrapper[data-style="modern_card"] .aux-auth-hero {
    display: none;
}

.account-ux-wrapper[data-style="modern_card"] .aux-card-brand-header {
    display: block;
}

.account-ux-wrapper[data-style="modern_card"] .aux-auth-forms {
    padding: 3.25rem 3rem;
}

/* Layout Style: Glassmorphism */
.account-ux-wrapper[data-style="glassmorphism"] .aux-auth-container {
    position: relative;
    padding: 3.5rem 1rem;
    background: radial-gradient(circle at 10% 20%, rgba(var(--aux-primary-rgb), 0.12) 0%, transparent 45%),
                radial-gradient(circle at 90% 80%, rgba(var(--aux-secondary-rgb, 6, 182, 212), 0.15) 0%, transparent 45%),
                #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
}

/* Ambient Glowing Aurora Blobs behind the Glass */
.account-ux-wrapper[data-style="glassmorphism"] .aux-auth-container::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, var(--aux-primary), var(--aux-secondary));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    top: 5%;
    left: 8%;
    pointer-events: none;
    z-index: 0;
    animation: auxGlassOrb1 14s ease-in-out infinite alternate;
}

.account-ux-wrapper[data-style="glassmorphism"] .aux-auth-container::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--aux-secondary), var(--aux-accent));
    border-radius: 50%;
    filter: blur(75px);
    opacity: 0.4;
    bottom: 5%;
    right: 8%;
    pointer-events: none;
    z-index: 0;
    animation: auxGlassOrb2 12s ease-in-out infinite alternate;
}

@keyframes auxGlassOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes auxGlassOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, -30px) scale(1.1); }
}

.account-ux-wrapper[data-style="glassmorphism"] .aux-auth-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.68) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 
                0 0 0 1px rgba(255, 255, 255, 0.6),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-radius: 24px;
}

.account-ux-wrapper[data-style="glassmorphism"] .aux-auth-hero {
    background: linear-gradient(135deg, rgba(var(--aux-primary-rgb), 0.82), rgba(var(--aux-secondary-rgb, 6, 182, 212), 0.78)) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.account-ux-wrapper[data-style="glassmorphism"] .aux-auth-forms {
    background: transparent !important;
}

.account-ux-wrapper[data-style="glassmorphism"] .aux-tabs-nav {
    background: rgba(255, 255, 255, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.account-ux-wrapper[data-style="glassmorphism"] .aux-tab-btn.active {
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.account-ux-wrapper[data-style="glassmorphism"] .aux-input-wrapper input {
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

.account-ux-wrapper[data-style="glassmorphism"] .aux-input-wrapper input:focus {
    background: #ffffff !important;
    border-color: var(--aux-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--aux-primary-rgb), 0.2) !important;
}

.account-ux-wrapper[data-style="glassmorphism"] .aux-social-buttons .nsl-button,
.account-ux-wrapper[data-style="glassmorphism"] .aux-social-btn {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

/* Left: Hero Banner */
.aux-auth-hero {
    background: linear-gradient(135deg, var(--aux-primary), var(--aux-secondary));
    color: #ffffff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

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

.aux-hero-logo img {
    max-height: 50px;
    margin-bottom: 2rem;
    object-fit: contain;
}

.aux-hero-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.aux-hero-title {
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #ffffff;
    line-height: 1.25;
}

.aux-hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.aux-hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.aux-feature-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
}

.aux-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Ambient Background Blobs */
.aux-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.blob-1 {
    width: 320px;
    height: 320px;
    background: #ffffff;
    top: -80px;
    right: -80px;
}

.blob-2 {
    width: 240px;
    height: 240px;
    background: var(--aux-accent);
    bottom: -60px;
    left: -40px;
}

/* Right: Form Area */
.aux-auth-forms {
    padding: 3rem 2.75rem;
    display: flex;
    flex-direction: column;
    background: var(--aux-bg-card);
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Tab Switcher Buttons */
.aux-tabs-nav {
    display: flex;
    background: var(--aux-bg-subtle);
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 2rem;
    gap: 4px;
}

.aux-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--aux-text-muted);
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aux-tab-btn:hover {
    color: var(--aux-text-main);
}

.aux-tab-btn.active {
    background: #ffffff;
    color: var(--aux-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Tab Panels */
.aux-tab-pane {
    display: none;
    animation: auxFadeIn 0.3s ease-in-out;
}

.aux-tab-pane.active {
    display: block;
}

@keyframes auxFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aux-form-header {
    margin-bottom: 1.5rem;
}

.aux-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: var(--aux-text-main);
}

.aux-form-header p {
    font-size: 0.9rem;
    color: var(--aux-text-muted);
    margin: 0;
}

/* Form Controls & Inputs */
.aux-form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.aux-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.aux-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.aux-input-group label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--aux-text-main);
}

.aux-required {
    color: #ef4444;
}

.aux-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.aux-input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.aux-input-wrapper input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-size: 0.92rem;
    border: 1px solid var(--aux-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--aux-text-main);
    transition: all 0.2s ease;
    font-family: inherit;
}

.aux-input-wrapper:has(.aux-input-icon) input {
    padding-left: 42px;
}

.aux-input-wrapper:has(.aux-toggle-pass) input {
    padding-right: 44px;
}

.aux-input-wrapper input:focus {
    outline: none;
    border-color: var(--aux-primary);
    box-shadow: 0 0 0 3px rgba(var(--aux-primary-rgb), 0.15);
}

.aux-input-wrapper input::placeholder {
    color: #94a3b8;
}

.aux-toggle-pass {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.15s ease;
}

.aux-toggle-pass:hover {
    color: var(--aux-text-main);
}

.aux-input-help {
    font-size: 0.8rem;
    color: var(--aux-text-muted);
    margin-top: 0.4rem;
    margin-bottom: 0.25rem;
    line-height: 1.45;
    display: block;
}

/* Password Strength Indicator */
.aux-pass-strength {
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.aux-strength-bars {
    display: flex;
    gap: 3px;
    flex: 1;
    max-width: 140px;
}

.aux-strength-bars .bar {
    height: 4px;
    flex: 1;
    border-radius: 2px;
    background: #e2e8f0;
    transition: background 0.3s ease;
}

.aux-strength-text {
    font-size: 0.75rem;
    color: var(--aux-text-muted);
}

.aux-pass-strength.weak .bar-1 { background: #ef4444; }
.aux-pass-strength.medium .bar-1, .aux-pass-strength.medium .bar-2 { background: #f59e0b; }
.aux-pass-strength.strong .bar-1, .aux-pass-strength.strong .bar-2, .aux-pass-strength.strong .bar-3 { background: #3b82f6; }
.aux-pass-strength.very-strong .bar { background: #10b981; }

/* Form Checkbox & Links */
.aux-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.aux-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--aux-text-main);
    user-select: none;
}

.aux-checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--aux-primary);
    cursor: pointer;
}

.aux-link {
    color: var(--aux-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.aux-link:hover {
    text-decoration: underline;
}

/* Action Buttons */
.aux-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 46px;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px !important;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    text-decoration: none;
    box-sizing: border-box !important;
}

.aux-btn-block {
    width: 100%;
}

.aux-btn-primary {
    background: var(--aux-primary);
    color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(var(--aux-primary-rgb), 0.25);
}

.aux-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(var(--aux-primary-rgb), 0.35);
}

.aux-btn-primary:active {
    transform: translateY(0);
}

.aux-btn-outline {
    background: transparent;
    border: 1px solid var(--aux-border) !important;
    border-radius: 8px !important;
    color: var(--aux-text-main);
}

.aux-btn-outline:hover {
    background: var(--aux-bg-subtle);
    border-color: #cbd5e1 !important;
}

.aux-btn-sm {
    height: 34px;
    padding: 0 0.85rem;
    font-size: 0.82rem;
    border-radius: 6px !important;
}

/* ==========================================================================
   WooCommerce Native Form Buttons & Elements Styling
   Ensures button border (border outline & border-radius: 8px) is never stripped
   by theme CSS resets (e.g. Kadence, Astra, Block themes)
   ========================================================================== */
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.woocommerce-button.button,
.woocommerce form.login .button,
.woocommerce form.register .button,
.woocommerce form.lost_reset_password .button,
.woocommerce-form-login button[type="submit"],
.woocommerce-form-register button[type="submit"],
.woocommerce form.login input[type="submit"],
.woocommerce form.register input[type="submit"],
.woocommerce button.button[name="login"],
.woocommerce button.button[name="register"],
button[name="login"],
button[name="register"],
button[name="save_address"],
button[name="save_account_details"],
.woocommerce .woocommerce-form-login .button,
.woocommerce .woocommerce-form-register .button,
.woocommerce-account button.button,
.woocommerce-account input[type="submit"].button,
.woocommerce-account button.wp-element-button,
.woocommerce-account a.button,
.woocommerce button.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce a.button.button {
    border-radius: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
    min-height: 44px !important;
    padding: 0.65rem 1.6rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.woocommerce-button.button:hover,
.woocommerce form.login .button:hover,
.woocommerce form.register .button:hover,
.woocommerce form.lost_reset_password .button:hover,
.woocommerce-form-login button[type="submit"]:hover,
.woocommerce-form-register button[type="submit"]:hover,
.woocommerce form.login input[type="submit"]:hover,
.woocommerce form.register input[type="submit"]:hover,
.woocommerce button.button[name="login"]:hover,
.woocommerce button.button[name="register"]:hover,
button[name="login"]:hover,
button[name="register"]:hover,
button[name="save_address"]:hover,
button[name="save_account_details"]:hover,
.woocommerce .woocommerce-form-login .button:hover,
.woocommerce .woocommerce-form-register .button:hover,
.woocommerce-account button.button:hover,
.woocommerce-account input[type="submit"].button:hover,
.woocommerce-account button.wp-element-button:hover,
.woocommerce-account a.button:hover,
.woocommerce button.button:hover,
.woocommerce-page button.button:hover,
.woocommerce-page input.button:hover,
.woocommerce a.button.button:hover {
    border-radius: 8px !important;
    filter: brightness(1.08) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.woocommerce-form-login__submit:active,
.woocommerce-button.button:active,
button[name="login"]:active,
button[name="register"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Better spacing & vertical alignment for Login form Submit + Remember Me */
.woocommerce-form-login .woocommerce-form-login__rememberme,
.woocommerce form.login .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: 0.85rem !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    user-select: none !important;
    vertical-align: middle !important;
}

.aux-btn-lg {
    height: 50px;
    padding: 0 2rem;
    font-size: 1rem;
}

/* Spinner inside button */
.aux-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: auxSpin 0.7s linear infinite;
}

@keyframes auxSpin {
    to { transform: rotate(360deg); }
}

.aux-form-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--aux-text-muted);
}

/* Social Login Integration */
.aux-social-login-wrapper {
    margin: 1.5rem 0 0.5rem 0;
    width: 100%;
}

.aux-social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.25rem 0;
    color: var(--aux-text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.aux-social-divider::before,
.aux-social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--aux-border);
}

.aux-social-divider span {
    padding: 0 1rem;
    background: transparent;
}

.aux-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

/* Make popular social login buttons match modern style */
.aux-social-buttons .nsl-container,
.aux-social-buttons .nsl-container-buttons {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    width: 100% !important;
}

.aux-social-buttons .nsl-button {
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    font-family: inherit !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.aux-social-buttons .nsl-button:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.aux-social-buttons .the_champ_login_container,
.aux-social-buttons .the_champ_outer_login_container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0.5rem !important;
}

/* Hide redundant internal separators from social login plugins */
.aux-social-buttons .wpgl-divider,
.aux-social-buttons [class*="wpgl-divider"],
.aux-social-buttons [class*="divider"],
.aux-social-buttons [class*="separator"],
.aux-social-buttons .nsl-separator,
.aux-social-buttons .theChampLoginDivider,
.aux-social-buttons .the_champ_login_divider,
.aux-social-buttons .heateor_ss_login_divider,
.aux-social-buttons hr {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Toast Notifications */
.aux-toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    line-height: 1.4;
    animation: auxFadeIn 0.3s ease;
}

.aux-toast.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.aux-toast.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ==========================================================
   2. LOGGED-IN MY ACCOUNT DASHBOARD
   ========================================================== */

/* ==========================================================
   2. LOGGED-IN MY ACCOUNT DASHBOARD (Modern Emerald Layout)
   ========================================================== */

.aux-dashboard-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Mobile Navigation Bar & Lightbox Drawer defaults (Hidden on Desktop) */
.aux-mobile-nav-bar,
.aux-nav-backdrop,
.aux-drawer-header {
    display: none;
}

/* Dashboard Body (Two Columns: Sidebar + Main Area) */
.aux-dashboard-body {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

/* Left Column: Sidebar */
.aux-dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 1. Standalone Profile Card (Emerald Forest Green - Horizontal Compact) */
.aux-sidebar-profile-card {
    background: #0e382b !important;
    background: linear-gradient(155deg, #0e382b 0%, #092a20 100%) !important;
    border-radius: 16px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(14, 56, 43, 0.25);
    position: relative;
    overflow: hidden;
    min-height: 80px;
    box-sizing: border-box;
    width: 100%;
}

.aux-sidebar-avatar-wrap {
    position: relative;
    flex-shrink: 0 !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.aux-sidebar-avatar,
.aux-sidebar-avatar-wrap .aux-sidebar-avatar,
.aux-sidebar-avatar-wrap img {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    display: block !important;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    background: #e6f4ea;
}

.aux-sidebar-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    min-width: 0;
    flex: 1;
    gap: 0;
}

.aux-user-role-badge {
    background: transparent;
    color: #b4c7c3;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0;
    border-radius: 0;
    margin-bottom: 2px;
    display: block;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

.aux-sidebar-user-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.aux-sidebar-user-email {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    margin-top: 3px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* 2. Standalone Nav Card (White Card) */
.aux-sidebar-nav-card {
    background: #ffffff;
    border: 1px solid var(--aux-border);
    border-radius: 16px;
    padding: 0.65rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.aux-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aux-nav-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.72rem 0.95rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease;
    text-align: left;
    position: relative;
    box-sizing: border-box;
}

.aux-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #4b5563;
    flex-shrink: 0;
    transition: color 0.18s ease;
}

.aux-nav-icon svg {
    display: block;
    stroke: currentColor;
}

.aux-nav-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aux-active-dot {
    display: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--aux-dot-active, #f59e0b);
    margin-left: auto;
    flex-shrink: 0;
    box-shadow: none;
}

.aux-nav-item:hover {
    background: #f8fafc;
    color: #111827;
}

.aux-nav-item:hover .aux-nav-icon {
    color: #111827;
}

.aux-nav-item.active {
    background: #0e382b !important;
    background: linear-gradient(155deg, #0e382b 0%, #092a20 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
}

.aux-nav-item.active .aux-nav-icon {
    color: #ffffff !important;
}

.aux-nav-item.active .aux-nav-icon svg:not(.aux-line-svg) {
    stroke: #ffffff !important;
}

.aux-nav-item.active .aux-active-dot {
    display: block;
}

/* WP LINE Connect Nav Item */
.aux-nav-item.aux-nav-line .aux-nav-icon svg,
.aux-nav-item.aux-nav-line .aux-nav-icon svg * {
    stroke: none !important;
}

.aux-nav-item.aux-nav-line .aux-line-bubble {
    fill: #4b5563;
    transition: fill 0.18s ease;
}

.aux-nav-item.aux-nav-line .aux-line-letters {
    fill: #ffffff;
    transition: fill 0.18s ease;
}

.aux-nav-item.aux-nav-line:hover .aux-line-bubble {
    fill: #111827;
}

.aux-nav-item.aux-nav-line.active .aux-line-bubble {
    fill: #ffffff !important;
}

.aux-nav-item.aux-nav-line.active .aux-line-letters {
    fill: #0e382b !important;
}

/* Logout Item */
.aux-nav-item.aux-nav-logout {
    color: #ef4444;
    margin-top: 0.35rem;
    border-top: none;
    padding-top: 0.72rem;
}

.aux-nav-item.aux-nav-logout .aux-nav-icon {
    color: #ef4444;
}

.aux-nav-item.aux-nav-logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.aux-nav-item.aux-nav-logout:hover .aux-nav-icon {
    color: #dc2626;
}

/* Right Column: Main Dashboard Area */
.aux-dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

/* Page Header Outside White Card */
.aux-page-header,
.account-ux-wrapper .aux-page-header,
.single-content .account-ux-wrapper .aux-page-header,
.aux-dashboard-container .aux-page-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0 0 0.85rem 0 !important;
}

.aux-page-breadcrumb,
.account-ux-wrapper .aux-page-breadcrumb,
.single-content .account-ux-wrapper .aux-page-breadcrumb,
.aux-dashboard-container .aux-page-breadcrumb {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--aux-text-muted);
    margin: 0 !important;
    line-height: 1.2 !important;
}

.aux-page-title-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.aux-page-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--aux-mint, #e6f4ea);
    color: var(--aux-mint-text, #0b5c3b);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aux-page-icon-badge svg {
    display: block;
    stroke: currentColor;
}

.aux-page-title-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.aux-page-main-title,
.account-ux-wrapper .aux-page-main-title,
.single-content .account-ux-wrapper .aux-page-main-title,
.single-content .account-ux-wrapper h2.aux-page-main-title,
.aux-dashboard-container .aux-page-main-title,
h2.aux-page-main-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--aux-text-main) !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.25 !important;
}

.aux-page-main-desc,
.account-ux-wrapper .aux-page-main-desc,
.single-content .account-ux-wrapper .aux-page-main-desc,
.single-content .account-ux-wrapper p.aux-page-main-desc,
.aux-dashboard-container .aux-page-main-desc,
p.aux-page-main-desc {
    font-size: 0.88rem !important;
    color: var(--aux-text-muted) !important;
    margin: 0 !important;
    margin-top: 0.2rem !important;
    line-height: 1.4 !important;
}

/* White Card Content Container */
.aux-main-content {
    background: #ffffff;
    border: 1px solid var(--aux-border);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    box-shadow: var(--aux-shadow);
    min-height: 480px;
    box-sizing: border-box;
}

.aux-panel-pane {
    display: none;
    animation: auxFadeIn 0.3s ease-in-out;
}

.aux-panel-pane.active {
    display: block;
}

.aux-panel-header {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--aux-border);
    padding-bottom: 1rem;
}

.aux-panel-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: var(--aux-text-main);
}

.aux-panel-header p {
    font-size: 0.9rem;
    color: var(--aux-text-muted);
    margin: 0;
}

/* Overview Section */
.aux-overview-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--aux-text-main);
    margin: 0 0 1.25rem 0;
}

/* 4 Status Metric Cards Grid */
.aux-metric-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.aux-metric-card {
    background: #ffffff;
    border: 1px solid var(--aux-border);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.aux-metric-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.aux-metric-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aux-metric-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--aux-mint, #e6f4ea);
    color: var(--aux-mint-text, #0b5c3b);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aux-metric-icon svg {
    display: block;
    stroke: currentColor;
}

.aux-metric-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--aux-text-main);
    line-height: 1;
}

.aux-metric-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aux-metric-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--aux-text-muted);
}

.aux-metric-arrow {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.aux-metric-card:hover .aux-metric-arrow {
    transform: translateX(3px);
    color: var(--aux-primary, #0e382b);
}

/* Quick Action Cards Grid (Default 3 columns for 3 cards, 2x2 for 4 cards) */
.aux-action-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

/* Symmetrical 2x2 layout when 4 action cards exist */
.aux-action-cards-grid.aux-has-4-cards,
.aux-action-cards-grid:has(.aux-action-card:nth-child(4)) {
    grid-template-columns: repeat(2, 1fr);
}

.aux-action-card {
    background: #ffffff;
    border: 1px solid var(--aux-border);
    border-radius: 14px;
    padding: 1.25rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.aux-action-card:hover {
    border-color: var(--aux-primary, #0e382b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 56, 43, 0.08);
}

.aux-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--aux-mint, #e6f4ea);
    color: var(--aux-mint-text, #0b5c3b);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aux-action-icon svg {
    display: block;
    stroke: currentColor;
}

.aux-action-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.aux-action-content h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--aux-text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aux-action-content p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--aux-text-muted);
    line-height: 1.35;
}

/* Avatar Upload Card */
.aux-avatar-upload-card {
    position: relative;
    border: 1px solid var(--aux-border, #e2e8f0);
    border-radius: 14px;
    padding: 22px !important;
    background: linear-gradient(135deg, rgba(var(--aux-primary-rgb, 14, 56, 43), .065), rgba(var(--aux-primary-rgb, 14, 56, 43), .018) 58%, rgba(var(--aux-accent-rgb, 16, 185, 129), .08)) !important;
    margin: 0 0 26px !important;
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: center !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.aux-optional-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(var(--aux-primary-rgb, 14, 56, 43), 0.07);
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block !important;
    line-height: 1.4;
}

.aux-avatar-preview-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0 !important;
    flex-shrink: 0;
}

.aux-avatar-circle {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #e6f4ea;
    cursor: pointer;
}

.aux-avatar-circle .aux-avatar-img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 3.5px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    background: #e6f4ea;
}

.aux-camera-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0e382b !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.aux-avatar-circle:hover .aux-camera-badge {
    transform: scale(1.1);
}

.aux-avatar-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.aux-avatar-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b493b;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 0.25rem;
}

.aux-avatar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b493b;
    margin: 0 0 0.35rem 0;
}

.aux-avatar-hint {
    font-size: 0.84rem;
    color: #64748b;
    margin: 0 0 0.75rem 0;
    line-height: 1.45;
}

.aux-btn-avatar-choose {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.15rem;
    background: #0e382b !important;
    background: linear-gradient(155deg, #0e382b 0%, #092a20 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(14, 56, 43, 0.2) !important;
}

.aux-btn-avatar-choose svg {
    stroke: #ffffff !important;
}

.aux-btn-avatar-choose:hover {
    background: #092a20 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.aux-avatar-status {
    margin-top: 0.75rem;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.aux-status-heading {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0b493b;
}

.aux-status-sub {
    font-size: 0.82rem;
    color: #64748b;
}

/* Password Card Section in Profile */
.aux-password-card {
    background: #ffffff;
    border: 1px solid var(--aux-border);
    border-radius: 14px;
    padding: 1.5rem;
    margin-top: 1.75rem;
    margin-bottom: 1.75rem;
}

.aux-password-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.25rem 0;
}

/* LINE Overview Card in Dashboard */
.aux-line-overview-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--aux-radius);
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.aux-line-overview-card.is-linked {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.aux-line-overview-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #06c755;
    color: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: none;
    border: none;
}

.aux-line-overview-icon svg {
    display: block;
    fill: #ffffff;
}

.aux-line-overview-content {
    flex: 1;
}

.aux-line-overview-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #166534;
}

.aux-line-overview-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #15803d;
    line-height: 1.45;
}

.aux-line-overview-action {
    flex-shrink: 0;
}

.aux-btn-line {
    background: #06c755 !important;
    color: #ffffff !important;
    border: 1px solid #05ad4a !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.25) !important;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aux-btn-line:hover {
    background: #05ad4a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(6, 199, 85, 0.35) !important;
}

/* ==========================================================
   WP LINE Connect Integration Styling
   Harmonizes WP LINE Connect panels with Account UX/UI
   ========================================================== */
.aux-line-connect-content {
    width: 100%;
}

.aux-line-connect-content .wplcw-account-panel {
    margin: 0 0 1.5rem 0;
    /* border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius); */
    box-shadow: none;
    background: #ffffff;
    /* padding: clamp(1.25rem, 2.5vw, 1.75rem); */
}

.aux-line-connect-content .wplcw-account-head {
    border-bottom: 1px solid var(--aux-border);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.aux-line-connect-content .wplcw-account-head h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--aux-text-main);
}

.aux-line-connect-content .wplcw-line-profile-card {
    border: 1px solid var(--aux-border);
    border-radius: 12px;
    background: var(--aux-bg-subtle);
}

.aux-line-connect-content .wplcw-account-details > div {
    border: 1px solid var(--aux-border);
    border-radius: 10px;
    background: #ffffff;
}

.aux-line-connect-content .wplcw-account-actions .button {
    border-radius: 8px !important;
    font-weight: 600 !important;
    min-height: 42px !important;
    padding: 0.55rem 1.4rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    cursor: pointer !important;
}

.aux-line-connect-content .wplcw-account-actions .wplcw-line-green {
    background: #06c755 !important;
    color: #ffffff !important;
    border: 1px solid #05ad4a !important;
}

.aux-line-connect-content .wplcw-account-actions .wplcw-danger-link {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3 !important;
}

.aux-line-connect-content .wplcw-line-button,
.aux-line-connect-content .wplcw-connect-button {
    border-radius: 8px !important;
    font-weight: 700 !important;
    min-height: 46px !important;
    padding: 0.65rem 1.6rem !important;
    background: #06c755 !important;
    color: #ffffff !important;
    border: 1px solid #05ad4a !important;
    box-shadow: 0 4px 14px rgba(6, 199, 85, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.aux-line-connect-content .wplcw-line-button:hover,
.aux-line-connect-content .wplcw-connect-button:hover {
    background: #05ad4a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(6, 199, 85, 0.35) !important;
}

@media (max-width: 640px) {
    .aux-line-overview-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .aux-line-overview-action {
        width: 100%;
    }
    .aux-line-overview-action .aux-btn {
        width: 100%;
        justify-content: center;
    }
    .aux-line-connect-content .wplcw-line-profile-card {
        grid-template-columns: 60px 1fr !important;
        gap: 12px !important;
    }
    .aux-line-connect-content .wplcw-friend-status {
        grid-column: 1 / -1;
        justify-self: flex-start;
    }
    .aux-line-connect-content .wplcw-account-details {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .aux-line-connect-content .wplcw-account-actions {
        flex-direction: column;
    }
    .aux-line-connect-content .wplcw-account-actions .button {
        width: 100%;
    }
}

/* ==========================================================
   WPCN Bank Slip Upload for WooCommerce Integration
   Harmonizes bank slip upload box and badges
   ========================================================== */
.aux-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.aux-alert-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aux-alert-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.aux-alert-success svg {
    stroke: #16a34a;
}

.aux-alert-error {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.aux-alert-error svg {
    stroke: #e11d48;
}

/* Bank Slip Upload Box */
.wpcn-bank-slip-order-upload {
    margin: 1.75rem 0 !important;
    padding: 1.5rem !important;
    background: #f8fafc !important;
    border: 1px solid var(--aux-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

.wpcn-bank-slip-order-upload h2 {
    margin: 0 0 0.6rem 0 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
}

.wpcn-bank-slip-order-upload p {
    margin: 0 0 0.85rem 0 !important;
    font-size: 0.9rem !important;
    color: #475569 !important;
    line-height: 1.5 !important;
}

.wpcn-bank-slip-order-upload__status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.85rem !important;
}

.wpcn-bank-slip-order-upload__status.wpcn-bank-slip-status-awaiting {
    background: #fff7ed !important;
    color: #c2410c !important;
    border: 1px solid #ffedd5 !important;
}

.wpcn-bank-slip-order-upload__status.wpcn-bank-slip-status-pending {
    background: #fefce8 !important;
    color: #a16207 !important;
    border: 1px solid #fef08a !important;
}

.wpcn-bank-slip-order-upload__status.wpcn-bank-slip-status-approved {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

.wpcn-bank-slip-order-upload__status.wpcn-bank-slip-status-rejected {
    background: #fff1f2 !important;
    color: #be123c !important;
    border: 1px solid #fecdd3 !important;
}

.wpcn-bank-slip-order-upload__form {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-top: 0.75rem !important;
    padding: 1.25rem !important;
    background: #ffffff !important;
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 10px !important;
    transition: border-color 0.2s ease !important;
}

.wpcn-bank-slip-order-upload__form:hover {
    border-color: var(--aux-primary, #0e382b) !important;
}

.wpcn-bank-slip-order-upload__form > label {
    flex-basis: 100% !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

.wpcn-bank-slip-order-upload__form input[type="file"] {
    flex: 1 1 240px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 44px !important;
    box-sizing: border-box !important;
    padding: 0.55rem 0.85rem !important;
    font-size: 0.88rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    cursor: pointer !important;
    color: #334155 !important;
    font-family: inherit !important;
}

.wpcn-bank-slip-order-upload__form input[type="file"]:focus {
    border-color: var(--aux-primary, #0e382b) !important;
    outline: none !important;
}

.wpcn-bank-slip-order-upload__help {
    flex-basis: 100% !important;
    margin: 0.25rem 0 0 0 !important;
    font-size: 0.82rem !important;
    color: #64748b !important;
}

.wpcn-bank-slip-order-upload__form button[type="submit"],
.wpcn-bank-slip-order-upload__form .button {
    background: #0e382b !important;
    background: linear-gradient(155deg, #0e382b 0%, #092a20 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.65rem 1.4rem !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(14, 56, 43, 0.25) !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    text-decoration: none !important;
}

.wpcn-bank-slip-order-upload__form button[type="submit"]:hover,
.wpcn-bank-slip-order-upload__form .button:hover {
    background: #092a20 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(14, 56, 43, 0.35) !important;
}

@media (max-width: 600px) {
    .wpcn-bank-slip-order-upload__form {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .wpcn-bank-slip-order-upload__form input[type="file"] {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: 44px !important;
    }
    .wpcn-bank-slip-order-upload__form button[type="submit"],
    .wpcn-bank-slip-order-upload__form .button {
        width: 100% !important;
    }
}

/* Orders Table Status & Slip Badges */
.aux-cell-order-status {
    vertical-align: middle;
}

.aux-order-status-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.aux-slip-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    box-sizing: border-box;
}

.aux-slip-badge svg {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
}

.aux-slip-awaiting {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.aux-slip-pending {
    background: #fefce8;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.aux-slip-approved {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.aux-slip-rejected {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

/* Actions Column & Group in Orders Table */
.aux-cell-order-actions {
    white-space: nowrap;
    text-align: right;
}

.aux-order-actions-group {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.aux-order-actions-group .aux-btn {
    margin: 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0.35rem 0.85rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
    line-height: 1 !important;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* Quick Action button for Slip Upload in Orders Table */
.aux-btn-slip-action {
    background: #0e382b !important;
    background: linear-gradient(155deg, #0e382b 0%, #092a20 100%) !important;
    color: #ffffff !important;
    border: 1px solid #0e382b !important;
    box-shadow: 0 2px 6px rgba(14, 56, 43, 0.18) !important;
}

.aux-btn-slip-action:hover {
    background: #092a20 !important;
    border-color: #092a20 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(14, 56, 43, 0.25);
}

.aux-btn-slip-action svg {
    stroke: #ffffff;
}

/* Standard WooCommerce notices harmonized with Modern Card UI */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    margin: 0 0 1.25rem 0 !important;
    padding: 0.85rem 1.15rem !important;
    border-radius: 10px !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    list-style: none !important;
}

.woocommerce-message {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0 !important;
}

.woocommerce-error {
    background: #fff1f2 !important;
    color: #be123c !important;
    border: 1px solid #fecdd3 !important;
}

.woocommerce-info {
    background: #f0fdfa !important;
    color: #0f766e !important;
    border: 1px solid #99f6e4 !important;
}

/* Table Styles (Orders) */
.aux-orders-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.aux-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.aux-table th {
    background: var(--aux-bg-subtle);
    padding: 0.85rem 0.85rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--aux-text-muted);
    border-bottom: 1px solid var(--aux-border);
    white-space: nowrap;
}

.aux-table th:last-child {
    text-align: right;
}

.aux-table td {
    padding: 0.95rem 0.85rem;
    border-bottom: 1px solid var(--aux-border);
    color: var(--aux-text-main);
    vertical-align: middle;
}

.aux-cell-order-num {
    white-space: nowrap;
}

.aux-order-number {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--aux-primary);
    text-decoration: none;
}

.aux-order-number:hover {
    text-decoration: underline;
}

.aux-cell-order-date {
    white-space: nowrap;
    font-size: 0.85rem;
    color: #64748b;
}

.aux-cell-order-total {
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--aux-text-main);
}

.aux-mobile-date-icon,
.aux-mobile-arrow {
    display: none;
}

/* Badges for Order Statuses */
.aux-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 6px;
    white-space: nowrap;
    box-sizing: border-box;
}

.aux-status-completed { background: #ecfdf5; color: #065f46; }
.aux-status-processing { background: #eff6ff; color: #1e40af; }
.aux-status-pending { background: #fffbeb; color: #92400e; }
.aux-status-on-hold { background: #fff7ed; color: #9a3412; }
.aux-status-cancelled, .aux-status-failed { background: #fef2f2; color: #991b1b; }

/* Empty State */
.aux-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.aux-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--aux-bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.aux-empty-state h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.aux-empty-state p {
    margin: 0 0 1rem 0;
    color: var(--aux-text-muted);
    font-size: 0.9rem;
}

/* Addresses Cards */
.aux-addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.5rem;
}

.aux-address-card {
    border: 1px solid var(--aux-border);
    border-radius: 14px;
    padding: 1.5rem;
    background: var(--aux-bg-subtle);
    display: flex;
    flex-direction: column;
}

.aux-address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--aux-border);
}

.aux-address-header h3 {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--aux-text-main);
    flex: 1 1 auto;
    min-width: 0;
}

.aux-edit-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--aux-primary);
    text-decoration: none;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: rgba(var(--aux-primary-rgb), 0.08);
    border-radius: 6px;
    border: 1px solid rgba(var(--aux-primary-rgb), 0.15);
    transition: all 0.2s ease;
}

.aux-edit-link:hover {
    background: var(--aux-primary);
    color: #ffffff;
    border-color: var(--aux-primary);
}

.aux-address-content {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--aux-text-main);
}

.aux-no-address {
    color: var(--aux-text-muted);
    font-style: italic;
    margin: 0;
}

/* Profile Form Sections */
.aux-form-section {
    margin-bottom: 2.25rem;
    border-bottom: 1px solid var(--aux-border);
    padding-bottom: 2.25rem;
}

.aux-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.aux-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: var(--aux-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aux-profile-form .aux-input-row {
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.aux-profile-form .aux-input-group {
    margin-bottom: 0.95rem;
    gap: 0.4rem;
}

.aux-profile-form .aux-input-group:last-child {
    margin-bottom: 0;
}

.aux-form-submit {
    margin-top: 1.25rem;
    padding-top: 0.5rem;
}

/* ==========================================================
   3. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================== */

/* Tablet (max-width: 900px) */
@media (max-width: 900px) {
    .aux-auth-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 1.5rem 1rem !important;
        min-width: 0 !important;
        display: flex !important;
        justify-content: center !important;
    }
    .account-ux-wrapper .aux-auth-box,
    .account-ux-wrapper[data-style="modern_card"] .aux-auth-box,
    .account-ux-wrapper[data-style="glassmorphism"] .aux-auth-box {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 480px !important;
        min-width: 0 !important;
        min-height: auto !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        border-radius: 16px !important;
    }
    .aux-auth-hero {
        display: none !important;
    }
    .aux-card-brand-header {
        display: block !important;
    }
    .account-ux-wrapper .aux-auth-forms,
    .account-ux-wrapper[data-style="modern_card"] .aux-auth-forms,
    .account-ux-wrapper[data-style="glassmorphism"] .aux-auth-forms {
        padding: 2.25rem 1.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .aux-dashboard-body {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.25rem;
    }
}

/* Mobile & Small Tablet (max-width: 768px) */
@media (max-width: 768px) {
    /* Reset theme outer padding for My Account so edges are clean and not double-padded */
    .woocommerce-account .entry-content-wrap,
    .woocommerce-account .entry-content,
    .woocommerce-account .content-container,
    .woocommerce-account .site-container {
        padding-left: 8px !important;
        padding-right: 8px !important;
        padding-top: 8px !important;
    }

    /* Wrapper & Container Isolation */
    .account-ux-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0.35rem auto !important;
        overflow-x: hidden !important;
    }

    .aux-dashboard-container,
    .aux-order-detail-container,
    .aux-edit-address-container,
    .aux-auth-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 0.75rem 0.5rem 5rem 0.5rem !important;
        gap: 0.75rem !important;
        overflow-x: hidden !important;
    }

    .account-ux-wrapper .aux-auth-box,
    .account-ux-wrapper[data-style="modern_card"] .aux-auth-box,
    .account-ux-wrapper[data-style="glassmorphism"] .aux-auth-box {
        width: 100% !important;
        max-width: 440px !important;
        min-width: 0 !important;
        min-height: auto !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .account-ux-wrapper .aux-auth-forms,
    .account-ux-wrapper[data-style="modern_card"] .aux-auth-forms,
    .account-ux-wrapper[data-style="glassmorphism"] .aux-auth-forms {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 1.75rem 1.25rem !important;
    }

    .aux-dashboard-body {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* 1. Mobile Header User Banner */
    .aux-dashboard-header {
        position: relative !important;
        padding: 1rem 0.95rem !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0.75rem !important;
    }

    .aux-header-user-info {
        display: flex !important;
        align-items: flex-start !important;
        gap: 0.85rem !important;
        padding-right: 42px !important; /* reserve space for circular logout button */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .aux-avatar-wrapper {
        flex-shrink: 0 !important;
        position: relative !important;
    }

    .aux-avatar-img {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        border-width: 2px !important;
        display: block !important;
    }

    .aux-online-badge {
        width: 12px !important;
        height: 12px !important;
        bottom: 0 !important;
        right: 0 !important;
    }

    .aux-user-details {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.2rem !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .aux-user-name-row {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 0.35rem !important;
        margin-bottom: 0.15rem !important;
    }

    .aux-user-name {
        font-size: 1.12rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        color: var(--aux-text-main) !important;
        margin: 0 !important;
        word-break: break-word !important;
    }

    .aux-role-tag {
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        padding: 1px 7px !important;
        border-radius: 12px !important;
    }

    .aux-user-meta {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
        font-size: 0.78rem !important;
        color: var(--aux-text-muted) !important;
        border-top: none !important;
        padding-top: 0.15rem !important;
    }

    .aux-meta-item {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.35rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .aux-meta-item svg {
        width: 14px !important;
        height: 14px !important;
        flex-shrink: 0 !important;
    }

    .aux-header-actions {
        position: absolute !important;
        top: 0.95rem !important;
        right: 0.95rem !important;
        margin: 0 !important;
        z-index: 2 !important;
    }

    .aux-btn-logout {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #fef2f2 !important;
        border: 1px solid #fee2e2 !important;
        color: #ef4444 !important;
        transition: all 0.2s ease !important;
    }

    .aux-btn-logout:hover {
        background: #fee2e2 !important;
        color: #dc2626 !important;
    }

    .aux-btn-logout span {
        display: none !important;
    }

    /* 2. Mobile Navigation Bar (Trigger for Lightbox Drawer) */
    .aux-mobile-nav-bar {
        display: block !important;
        margin-bottom: 0.95rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .aux-mobile-nav-toggle {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #ffffff !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 14px !important;
        padding: 0.7rem 1rem !important;
        box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.03) !important;
        cursor: pointer !important;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
        font-family: inherit !important;
        text-align: left !important;
        box-sizing: border-box !important;
        outline: none !important;
        gap: 0.75rem !important;
    }

    .aux-mobile-nav-toggle:hover {
        border-color: rgba(var(--aux-primary-rgb), 0.3) !important;
        box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08) !important;
        background: #fafbfb !important;
    }

    .aux-mobile-nav-toggle:active {
        transform: scale(0.99) !important;
    }

    .aux-mobile-nav-current {
        display: flex !important;
        align-items: center !important;
        gap: 0.7rem !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .aux-mobile-nav-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        background: rgba(var(--aux-primary-rgb), 0.08) !important;
        color: var(--aux-primary) !important;
        border: 1px solid rgba(var(--aux-primary-rgb), 0.12) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        transition: all 0.2s ease !important;
    }

    .aux-mobile-nav-icon svg:not(.aux-line-svg) {
        width: 19px !important;
        height: 19px !important;
        stroke: var(--aux-primary) !important;
    }

    .aux-mobile-nav-icon svg.aux-line-svg {
        width: 19px !important;
        height: 19px !important;
        stroke: none !important;
    }

    .aux-mobile-nav-icon svg.aux-line-svg * {
        stroke: none !important;
    }

    .aux-mobile-nav-meta {
        display: flex !important;
        flex-direction: column !important;
        min-width: 0 !important;
        gap: 1px !important;
        line-height: 1.2 !important;
    }

    .aux-mobile-nav-sublabel {
        font-size: 0.68rem !important;
        font-weight: 600 !important;
        color: var(--aux-text-muted, #64748b) !important;
        letter-spacing: 0.02em !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .aux-mobile-nav-title {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        color: var(--aux-text-main, #0f172a) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.25 !important;
    }

    .aux-mobile-nav-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.45rem !important;
        padding: 0.46rem 0.95rem !important;
        background: var(--aux-primary, #064e3b) !important;
        color: #ffffff !important;
        border: 1px solid var(--aux-primary, #064e3b) !important;
        border-radius: 9999px !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 6px rgba(var(--aux-primary-rgb), 0.22) !important;
        flex-shrink: 0 !important;
        transition: all 0.2s ease !important;
    }

    .aux-mobile-nav-btn span {
        color: #ffffff !important;
        line-height: 1 !important;
        font-weight: 600 !important;
    }

    .aux-mobile-nav-btn svg {
        stroke: #ffffff !important;
        width: 15px !important;
        height: 15px !important;
        stroke-width: 2.2 !important;
        flex-shrink: 0 !important;
    }

    .aux-mobile-nav-toggle:hover .aux-mobile-nav-btn {
        background: var(--aux-primary-hover, #043d2e) !important;
        border-color: var(--aux-primary-hover, #043d2e) !important;
        box-shadow: 0 4px 10px rgba(var(--aux-primary-rgb), 0.3) !important;
        transform: translateY(-1px) !important;
    }

    /* 3. Slide Lightbox Backdrop */
    body.aux-drawer-open {
        overflow: hidden !important;
    }

    .aux-nav-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(15, 23, 42, 0.65) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 999998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s !important;
        pointer-events: none !important;
    }

    body.aux-drawer-open .aux-nav-backdrop {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* 4. Slide Lightbox Navigation Drawer */
    .aux-sidebar-nav,
    .aux-dashboard-sidebar {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 84% !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        z-index: 999999 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.22) !important;
        border-radius: 0 20px 20px 0 !important;
        padding: 0 !important;
        border: none !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
        gap: 0 !important;
    }

    body.aux-drawer-open .aux-sidebar-nav,
    body.aux-drawer-open .aux-dashboard-sidebar {
        transform: translateX(0) !important;
    }

    /* Drawer Header */
    .aux-drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 1.15rem 1.25rem !important;
        background: #ffffff !important;
        border-bottom: 1px solid var(--aux-border) !important;
        flex-shrink: 0 !important;
        gap: 0.75rem !important;
    }

    .aux-drawer-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: var(--aux-text-main) !important;
    }

    .aux-drawer-user {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        min-width: 0 !important;
    }

    .aux-drawer-user .aux-avatar-img {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
        flex-shrink: 0 !important;
        display: block !important;
    }

    .aux-drawer-user-info {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.15rem !important;
        min-width: 0 !important;
    }

    .aux-drawer-user-info strong {
        font-size: 0.95rem !important;
        color: var(--aux-text-main) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .aux-drawer-user-info .aux-role-tag {
        font-size: 0.68rem !important;
        align-self: flex-start !important;
        padding: 1px 6px !important;
    }

    .aux-drawer-close {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: var(--aux-bg-subtle) !important;
        border: 1px solid var(--aux-border) !important;
        color: var(--aux-text-muted) !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
    }

    .aux-drawer-close:hover {
        background: #fef2f2 !important;
        border-color: #fee2e2 !important;
        color: #ef4444 !important;
    }

    /* Drawer Profile & Nav Cards on Mobile */
    .aux-dashboard-sidebar .aux-sidebar-profile-card {
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 1.15rem 1rem !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.85rem !important;
    }

    .aux-dashboard-sidebar .aux-sidebar-avatar {
        width: 50px !important;
        height: 50px !important;
    }

    .aux-dashboard-sidebar .aux-sidebar-user-name {
        font-size: 0.95rem !important;
    }

    .aux-dashboard-sidebar .aux-sidebar-nav-card {
        border: none !important;
        box-shadow: none !important;
        padding: 0.5rem 0.75rem 1.5rem 0.75rem !important;
        flex: 1 1 auto !important;
    }

    /* Drawer Menu List */
    .aux-sidebar-nav .aux-nav-menu,
    .aux-dashboard-sidebar .aux-nav-menu {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        overflow-y: visible !important;
        padding: 0.5rem 0 !important;
        gap: 0.4rem !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .aux-sidebar-nav .aux-nav-item,
    .aux-dashboard-sidebar .aux-nav-item {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.85rem !important;
        padding: 0.85rem 1rem !important;
        font-size: 0.92rem !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        background: transparent !important;
        border: 1px solid transparent !important;
        color: var(--aux-text-muted) !important;
        text-decoration: none !important;
        cursor: pointer !important;
        transition: all 0.15s ease !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        text-align: left !important;
    }

    .aux-sidebar-nav .aux-nav-item:hover,
    .aux-dashboard-sidebar .aux-nav-item:hover {
        background: var(--aux-bg-subtle) !important;
        color: var(--aux-text-main) !important;
    }

    .aux-sidebar-nav .aux-nav-item.active,
    .aux-dashboard-sidebar .aux-nav-item.active {
        background: var(--aux-primary, #0e382b) !important;
        border-color: var(--aux-primary, #0e382b) !important;
        color: #ffffff !important;
        box-shadow: none !important;
        font-weight: 700 !important;
    }

    .aux-sidebar-nav .aux-nav-item.active svg:not(.aux-line-svg),
    .aux-dashboard-sidebar .aux-nav-item.active svg:not(.aux-line-svg) {
        stroke: #ffffff !important;
    }

    .aux-sidebar-nav .aux-nav-item.aux-nav-line .aux-nav-icon svg,
    .aux-dashboard-sidebar .aux-nav-item.aux-nav-line .aux-nav-icon svg,
    .aux-sidebar-nav .aux-nav-item.aux-nav-line .aux-nav-icon svg *,
    .aux-dashboard-sidebar .aux-nav-item.aux-nav-line .aux-nav-icon svg * {
        stroke: none !important;
    }

    .aux-sidebar-nav .aux-nav-item.aux-nav-line .aux-line-bubble,
    .aux-dashboard-sidebar .aux-nav-item.aux-nav-line .aux-line-bubble {
        fill: #4b5563 !important;
    }

    .aux-sidebar-nav .aux-nav-item.aux-nav-line .aux-line-letters,
    .aux-dashboard-sidebar .aux-nav-item.aux-nav-line .aux-line-letters {
        fill: #ffffff !important;
    }

    .aux-sidebar-nav .aux-nav-item.aux-nav-line.active .aux-line-bubble,
    .aux-dashboard-sidebar .aux-nav-item.aux-nav-line.active .aux-line-bubble {
        fill: #ffffff !important;
    }

    .aux-sidebar-nav .aux-nav-item.aux-nav-line.active .aux-line-letters,
    .aux-dashboard-sidebar .aux-nav-item.aux-nav-line.active .aux-line-letters {
        fill: #0e382b !important;
    }

    .aux-sidebar-nav .aux-nav-item.active .aux-active-dot,
    .aux-dashboard-sidebar .aux-nav-item.active .aux-active-dot {
        display: block !important;
    }

    .aux-sidebar-nav .aux-nav-item.active .aux-nav-badge,
    .aux-dashboard-sidebar .aux-nav-item.active .aux-nav-badge {
        background: var(--aux-primary) !important;
        color: #ffffff !important;
    }

    .aux-sidebar-nav .aux-nav-logout,
    .aux-dashboard-sidebar .aux-nav-logout {
        display: flex !important;
        margin-top: 0.35rem !important;
        color: #ef4444 !important;
        border-top: none !important;
        padding-top: 0.85rem !important;
        border-radius: 10px !important;
    }

    .aux-sidebar-nav .aux-nav-logout:hover,
    .aux-dashboard-sidebar .aux-nav-logout:hover {
        background: #fef2f2 !important;
        color: #dc2626 !important;
    }

    .aux-nav-badge {
        padding: 1px 6px !important;
        font-size: 0.68rem !important;
        margin-left: auto !important;
    }

    /* 3. Main Content Panels */
    .aux-main-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 1.25rem 1rem !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        min-height: auto !important;
    }

    .aux-panel-header {
        margin-bottom: 1.15rem !important;
        padding-bottom: 0.65rem !important;
    }

    .aux-panel-header h2 {
        font-size: 1.15rem !important;
    }

    .aux-panel-header p {
        font-size: 0.82rem !important;
    }

    .aux-welcome-banner {
        padding: 1.15rem 1rem !important;
        border-radius: 12px !important;
        margin-bottom: 1.15rem !important;
    }

    .aux-welcome-banner h2 {
        font-size: 1.15rem !important;
    }

    .aux-welcome-banner p {
        font-size: 0.84rem !important;
    }

    /* 4. Stat / Metric Cards on Mobile */
    .aux-stats-grid,
    .aux-metric-cards-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.65rem !important;
        margin-bottom: 1.25rem !important;
    }

    .aux-stat-card,
    .aux-metric-card {
        padding: 0.9rem 0.8rem !important;
        gap: 0.65rem !important;
        border-radius: 12px !important;
    }

    .aux-stat-icon,
    .aux-metric-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
    }

    .aux-stat-icon svg,
    .aux-metric-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .aux-stat-label,
    .aux-metric-text {
        font-size: 0.75rem !important;
    }

    .aux-stat-value,
    .aux-metric-val {
        font-size: 1.3rem !important;
    }

    .aux-stat-card:nth-child(3) {
        grid-column: span 2 !important;
    }

    /* 5. Shortcuts & Action Cards on Mobile */
    .aux-shortcuts-grid,
    .aux-action-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }

    .aux-action-card {
        padding: 1rem !important;
        border-radius: 12px !important;
    }

    /* 6. Profile Avatar Card on Mobile */
    .aux-avatar-upload-card {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center !important;
        padding: 1.25rem !important;
        gap: 1rem !important;
    }

    .aux-avatar-upload-card .aux-avatar-preview-wrap {
        width: auto !important;
    }

    .aux-avatar-upload-card .aux-optional-badge {
        position: static !important;
        align-self: flex-end !important;
        margin-bottom: -0.5rem !important;
    }

    .aux-avatar-upload-card .aux-btn-avatar-choose {
        align-self: center !important;
    }

    .aux-avatar-upload-card .aux-avatar-status {
        text-align: center !important;
    }

    .aux-page-main-title {
        font-size: 1.25rem !important;
    }

    .aux-page-icon-badge {
        width: 38px !important;
        height: 38px !important;
    }

    .aux-page-icon-badge svg {
        width: 18px !important;
        height: 18px !important;
    }

    .aux-shortcut-item {
        padding: 0.85rem 1rem !important;
        border-radius: 10px !important;
        position: relative !important;
    }

    .aux-shortcut-item::after {
        content: '';
        width: 7px;
        height: 7px;
        border-right: 2px solid #94a3b8;
        border-top: 2px solid #94a3b8;
        transform: rotate(45deg);
        margin-left: auto;
        opacity: 0.6;
        flex-shrink: 0;
    }

    .aux-shortcut-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
    }

    .aux-shortcut-text strong {
        font-size: 0.88rem !important;
    }

    .aux-shortcut-text span {
        font-size: 0.75rem !important;
    }

    /* 6. ORDERS TABLE TRANSFORMED TO MOBILE APP CARDS */
    .aux-orders-table-wrapper {
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .aux-orders-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

    .aux-orders-table thead {
        display: none !important;
    }

    .aux-orders-table tbody {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .aux-orders-table tr.aux-order-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: 
            "num status"
            "date total"
            "action action" !important;
        gap: 0.5rem 0.75rem !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        background: var(--aux-bg-subtle) !important;
        border: 1px solid var(--aux-border) !important;
        border-radius: 12px !important;
        padding: 0.95rem 1rem !important;
        margin-bottom: 0.75rem !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    }

    .aux-orders-table td {
        padding: 0 !important;
        border: none !important;
        box-sizing: border-box !important;
    }

    .aux-cell-order-num {
        grid-area: num !important;
        width: auto !important;
        max-width: none !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: visible !important;
    }

    .aux-cell-order-status {
        grid-area: status !important;
        text-align: right !important;
        white-space: nowrap !important;
        display: flex !important;
        justify-content: flex-end !important;
        min-width: 0 !important;
    }

    .aux-order-status-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 4px !important;
    }

    .aux-cell-order-status .aux-badge,
    .aux-cell-order-status .aux-slip-badge {
        padding: 3px 9px !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
    }

    .aux-cell-order-date {
        grid-area: date !important;
        width: auto !important;
        font-size: 0.8rem !important;
        color: var(--aux-text-muted) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        white-space: nowrap !important;
    }

    .aux-mobile-date-icon {
        display: inline-flex !important;
        align-items: center !important;
        color: var(--aux-text-muted) !important;
    }

    .aux-cell-order-total {
        grid-area: total !important;
        width: auto !important;
        text-align: right !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: var(--aux-primary) !important;
        white-space: nowrap !important;
    }

    .aux-cell-order-actions {
        grid-area: action !important;
        width: 100% !important;
        margin-top: 0.35rem !important;
        padding-top: 0.65rem !important;
        border-top: 1px dashed var(--aux-border) !important;
        min-width: 0 !important;
    }

    .aux-order-actions-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .aux-order-actions-group .aux-btn {
        width: 100% !important;
        height: 38px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.4rem !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        border: 1px solid var(--aux-border) !important;
        color: var(--aux-text-main) !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        transition: all 0.2s ease !important;
    }

    .aux-order-actions-group .aux-btn-slip-action {
        background: #0e382b !important;
        background: linear-gradient(155deg, #0e382b 0%, #092a20 100%) !important;
        color: #ffffff !important;
        border-color: #0e382b !important;
    }

    .aux-cell-order-actions .aux-btn:hover {
        background: var(--aux-bg-subtle) !important;
        border-color: var(--aux-primary) !important;
        color: var(--aux-primary) !important;
    }

    .aux-mobile-arrow {
        display: inline-block !important;
        margin-left: 2px !important;
    }

    /* 7. Addresses on Mobile */
    .aux-addresses-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .aux-address-card {
        padding: 1.15rem 1rem !important;
        border-radius: 12px !important;
    }

    .aux-address-header h3 {
        font-size: 0.9rem !important;
    }

    .aux-edit-link {
        font-size: 0.8rem !important;
        padding: 5px 12px !important;
        background: rgba(var(--aux-primary-rgb), 0.08) !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* 8. Profile Form on Mobile */
    .aux-profile-form .aux-input-row,
    .aux-input-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .aux-profile-form .aux-input-group,
    .aux-input-group {
        margin-bottom: 1.15rem !important;
        gap: 0.45rem !important;
    }

    .aux-input-group label {
        font-size: 0.85rem !important;
    }

    .aux-input-wrapper input {
        height: 46px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }

    .aux-form-submit .aux-btn {
        width: 100% !important;
        height: 46px !important;
        font-size: 0.95rem !important;
    }

    /* 9. Mobile Bottom-Sheet Quick View Modal */
    .aux-modal-backdrop {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    .aux-modal-dialog {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 88vh !important;
        border-radius: 20px 20px 0 0 !important;
        margin: 0 !important;
        position: relative !important;
        animation: auxModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .aux-modal-header {
        padding: 1.25rem 1.25rem 1rem 1.25rem !important;
        position: relative !important;
    }

    .aux-modal-header::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 36px;
        height: 4px;
        background: #cbd5e1;
        border-radius: 2px;
    }

    .aux-modal-title {
        font-size: 1.1rem !important;
    }

    .aux-modal-body {
        padding: 1rem !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* 10. Dedicated Order Details View on Mobile */
    .aux-order-header-card {
        padding: 1.15rem 1rem !important;
        border-radius: 12px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.85rem !important;
    }

    .aux-order-id-badge {
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .aux-order-id-badge h1 {
        font-size: 1.2rem !important;
    }

    .aux-order-meta-text {
        font-size: 0.8rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.3rem !important;
    }

    .aux-order-header-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.5rem !important;
    }

    .aux-order-header-actions .aux-btn {
        width: 100% !important;
        height: 42px !important;
        justify-content: center !important;
    }

    .aux-order-items-table thead {
        display: none !important;
    }

    .aux-order-items-table tr {
        display: flex !important;
        flex-direction: column !important;
        padding: 0.85rem 1rem !important;
        gap: 0.4rem !important;
        border-bottom: 1px solid var(--aux-border) !important;
    }

    .aux-order-items-table td {
        padding: 0 !important;
        border: none !important;
    }

    .aux-col-product {
        width: 100% !important;
    }

    .aux-order-items-table tr td.aux-col-price,
    .aux-order-items-table tr td.aux-col-qty,
    .aux-order-items-table tr td.aux-col-total {
        display: inline-block !important;
    }

    .aux-order-totals-wrapper {
        justify-content: stretch !important;
        padding: 1rem !important;
    }

    .aux-order-totals-table {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 11. Edit Address Form on Mobile */
    .aux-address-form-content {
        padding: 1.15rem 1rem !important;
    }

    .aux-address-form-content .woocommerce-address-fields input.input-text,
    .aux-address-form-content .woocommerce-address-fields select {
        height: 46px !important;
        font-size: 16px !important;
    }

    .aux-address-form-content button.button {
        width: 100% !important;
        height: 46px !important;
    }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .aux-header-user-info {
        gap: 0.75rem !important;
        padding-right: 40px !important;
    }

    .aux-avatar-img {
        width: 48px !important;
        height: 48px !important;
    }

    .aux-user-name {
        font-size: 1.05rem !important;
    }

    .aux-stats-grid {
        grid-template-columns: 1fr !important;
    }

    .aux-stat-card:nth-child(3) {
        grid-column: span 1 !important;
    }

    .aux-btn-logout {
        width: 34px !important;
        height: 34px !important;
    }

    /* Auth Page Extra Small Mobile Refinements */
    .aux-auth-container {
        padding: 0.5rem 0.35rem 5.5rem 0.35rem !important;
    }

    .account-ux-wrapper .aux-auth-box,
    .account-ux-wrapper[data-style="modern_card"] .aux-auth-box,
    .account-ux-wrapper[data-style="glassmorphism"] .aux-auth-box {
        max-width: 100% !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06) !important;
    }

    .account-ux-wrapper .aux-auth-forms,
    .account-ux-wrapper[data-style="modern_card"] .aux-auth-forms,
    .account-ux-wrapper[data-style="glassmorphism"] .aux-auth-forms {
        padding: 1.35rem 0.95rem !important;
    }

    .aux-tabs-nav {
        gap: 3px !important;
        padding: 3px !important;
        margin-bottom: 1.25rem !important;
    }

    .aux-tab-btn {
        padding: 0.55rem 0.4rem !important;
        font-size: 0.85rem !important;
        gap: 0.35rem !important;
        white-space: nowrap !important;
    }

    .aux-tab-btn svg {
        width: 16px !important;
        height: 16px !important;
    }

    .aux-card-brand-header {
        margin-bottom: 1.35rem !important;
    }

    .aux-card-brand-logo img {
        max-height: 44px !important;
        margin-bottom: 0.85rem !important;
    }

    .aux-card-brand-title {
        font-size: 1.25rem !important;
        margin-bottom: 0.35rem !important;
    }

    .aux-card-brand-subtitle {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .aux-form-options {
        font-size: 0.8rem !important;
        flex-wrap: wrap !important;
        gap: 0.4rem !important;
    }

    .aux-checkbox-label {
        font-size: 0.82rem !important;
    }

    .aux-checkbox-label span {
        white-space: nowrap !important;
    }

    .aux-link.aux-switch-to-forgot {
        margin-left: auto !important;
    }

    .aux-btn.aux-btn-primary {
        height: 44px !important;
        font-size: 0.92rem !important;
    }

    .aux-social-login-wrapper {
        margin: 1.25rem 0 0.25rem 0 !important;
    }
}

/* ==========================================================
   4. ORDER DETAILS VIEW & MODAL STYLES
   ========================================================== */

/* Quick View Modal */
body.aux-modal-open {
    overflow: hidden;
}

.aux-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.aux-modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: auxModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes auxModalPop {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.aux-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--aux-border);
    background: #ffffff;
    flex-shrink: 0;
}

.aux-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--aux-text-main);
}

.aux-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aux-modal-external-link,
.aux-modal-close {
    background: transparent;
    border: none;
    padding: 6px;
    border-radius: 6px;
    color: var(--aux-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    text-decoration: none;
}

.aux-modal-external-link:hover,
.aux-modal-close:hover {
    background: var(--aux-bg-subtle);
    color: var(--aux-text-main);
}

.aux-modal-body {
    padding: 1.75rem;
    overflow-y: auto;
    flex: 1;
}

.aux-modal-loading {
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--aux-text-muted);
    font-size: 0.95rem;
}

.aux-spinner-dark {
    border-color: rgba(79, 70, 229, 0.2);
    border-top-color: var(--aux-primary);
    width: 32px;
    height: 32px;
}

/* Dedicated Order Detail View */
.aux-order-detail-container,
.aux-edit-address-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.aux-order-detail-topbar {
    margin-bottom: 0.5rem;
}

.aux-back-to-orders {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--aux-primary);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(var(--aux-primary-rgb), 0.08);
    transition: all 0.15s ease;
}

.aux-back-to-orders:hover {
    background: rgba(var(--aux-primary-rgb), 0.15);
    transform: translateX(-2px);
}

.aux-order-header-card {
    background: var(--aux-bg-card);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--aux-shadow);
}

.aux-order-id-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.4rem;
}

.aux-order-id-badge h1 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
    color: var(--aux-text-main);
}

.aux-order-meta-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--aux-text-muted);
    margin: 0;
}

.aux-meta-separator {
    color: #cbd5e1;
}

.aux-order-box {
    background: var(--aux-bg-card);
    border: 1px solid var(--aux-border);
    border-radius: var(--aux-radius);
    overflow: hidden;
    box-shadow: var(--aux-shadow);
}

.aux-order-box-header {
    padding: 1.25rem 1.75rem;
    background: var(--aux-bg-subtle);
    border-bottom: 1px solid var(--aux-border);
}

.aux-order-box-header h2,
.aux-order-box-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--aux-text-main);
}

.aux-order-box-header p {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: var(--aux-text-muted);
}

.aux-table-responsive {
    overflow-x: auto;
}

.aux-order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.aux-order-items-table th {
    background: #ffffff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--aux-text-muted);
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--aux-border);
}

.aux-order-items-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--aux-border);
}

.aux-item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.aux-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--aux-bg-subtle);
    border: 1px solid var(--aux-border);
    flex-shrink: 0;
}

.aux-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aux-item-name a {
    font-weight: 600;
    color: var(--aux-text-main);
    text-decoration: none;
}

.aux-item-name a:hover {
    color: var(--aux-primary);
}

.aux-item-meta {
    font-size: 0.8rem;
    color: var(--aux-text-muted);
    margin-top: 2px;
}

.aux-qty-badge {
    display: inline-block;
    background: var(--aux-bg-subtle);
    border: 1px solid var(--aux-border);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Order Totals */
.aux-order-totals-wrapper {
    display: flex;
    justify-content: flex-end;
    padding: 1.5rem;
    background: var(--aux-bg-subtle);
    border-top: 1px solid var(--aux-border);
}

.aux-order-totals-table {
    width: 100%;
    max-width: 360px;
    border-collapse: collapse;
}

.aux-order-totals-table th {
    text-align: left;
    padding: 0.45rem 1rem;
    font-weight: 500;
    color: var(--aux-text-muted);
    font-size: 0.88rem;
}

.aux-order-totals-table td {
    text-align: right;
    padding: 0.45rem 1rem;
    color: var(--aux-text-main);
    font-size: 0.92rem;
}

.aux-order-totals-table tr.aux-total-order_total th,
.aux-order-totals-table tr.aux-total-order_total td {
    border-top: 1px solid var(--aux-border);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--aux-primary);
    padding-top: 0.85rem;
}

.aux-customer-note-content {
    padding: 1.25rem 1.75rem;
    font-size: 0.9rem;
    color: var(--aux-text-main);
}

.aux-addr-contact {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
}

/* Address Form Styling */
.aux-address-form-content {
    padding: 1.75rem;
}

.aux-address-form-content .woocommerce-address-fields input.input-text,
.aux-address-form-content .woocommerce-address-fields select {
    width: 100%;
    height: 44px;
    border: 1px solid var(--aux-border);
    border-radius: 8px;
    padding: 0 12px;
}

.aux-address-form-content button.button {
    height: 46px;
    padding: 0 2rem;
    border-radius: 8px !important;
    background: var(--aux-primary);
    color: #ffffff;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* ==========================================================
   Profile Avatar Cropper Modal Styles
   ========================================================== */
.aux-crop-modal-backdrop {
    z-index: 999999 !important;
}

.aux-crop-dialog {
    max-width: 440px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35) !important;
}

.aux-crop-header {
    padding: 1.15rem 1.5rem !important;
    border-bottom: 1px solid var(--aux-border) !important;
    background: #ffffff !important;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.aux-crop-subtitle {
    margin: 0.2rem 0 0 0 !important;
    font-size: 0.82rem !important;
    color: var(--aux-text-muted) !important;
    line-height: 1.3 !important;
}

.aux-crop-body {
    padding: 1.25rem 1.5rem !important;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
}

.aux-crop-stage-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    user-select: none;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aux-crop-stage-wrap:active {
    cursor: grabbing;
}

.aux-crop-canvas {
    width: 280px;
    height: 280px;
    display: block;
}

/* Circular Mask Overlay showing exact crop frame */
.aux-crop-circle-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.65);
    pointer-events: none;
    box-sizing: border-box;
}

/* Cropper Controls (Zoom & Rotate) */
.aux-crop-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 320px;
}

.aux-crop-tool-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    padding: 0;
}

.aux-crop-tool-btn:hover {
    background: #f1f5f9;
    color: var(--aux-primary, #0e382b);
    border-color: #cbd5e1;
}

.aux-crop-rotate-btn {
    width: auto !important;
    padding: 0 8px !important;
    gap: 3px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

.aux-crop-slider-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}

.aux-crop-slider-wrap input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.aux-crop-slider-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--aux-primary, #0e382b);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(14, 56, 43, 0.3);
    border: 2px solid #ffffff;
    transition: transform 0.15s ease;
}

.aux-crop-slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.aux-crop-slider-wrap input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--aux-primary, #0e382b);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(14, 56, 43, 0.3);
    border: 2px solid #ffffff;
}

.aux-crop-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--aux-border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    background: #ffffff;
}

.aux-crop-btn-apply {
    background: #0e382b !important;
    background: linear-gradient(155deg, #0e382b 0%, #092a20 100%) !important;
    color: #ffffff !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(14, 56, 43, 0.25) !important;
    transition: all 0.18s ease !important;
}

.aux-crop-btn-apply:hover {
    background: #092a20 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 56, 43, 0.35) !important;
}

.aux-crop-btn-apply svg {
    stroke: #ffffff !important;
}

/* ==========================================================
   WPCN APPOINTMENT INTEGRATION STYLES
   ========================================================== */

/* Nav Badge & Quick Action Pill */
.aux-nav-badge.aux-appt-badge {
    margin-left: auto;
    background: rgba(16, 185, 129, 0.15);
    color: #065f46;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.aux-nav-item.active .aux-nav-badge.aux-appt-badge {
    background: #ffffff;
    color: var(--aux-primary, #0e382b);
}

.aux-action-pill {
    display: inline-flex;
    align-items: center;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    margin-left: auto;
}

.aux-appointments-content {
    width: 100%;
}

.aux-appointments-content .wpcn-my-appointments-container {
    width: 100%;
}

/* Reset headings in appointments to respect theme isolation */
.aux-appointments-content h1,
.aux-appointments-content h2,
.aux-appointments-content h3,
.aux-appointments-content h4,
.aux-appointments-content h5,
.aux-appointments-content h6,
.single-content .aux-appointments-content h1,
.single-content .aux-appointments-content h2,
.single-content .aux-appointments-content h3,
.single-content .aux-appointments-content h4,
.single-content .aux-appointments-content h5,
.single-content .aux-appointments-content h6 {
    margin: 0 !important;
    padding: 0 !important;
}

/* Section Header in Appointments */
.aux-appointments-content .wpcn-section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 1.25rem 0 1rem !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
}

.aux-appointments-content .wpcn-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.aux-appointments-content .wpcn-heading-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--aux-text-main, #1e293b) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    line-height: 1.3 !important;
}

.aux-appointments-content .wpcn-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ecfdf5;
    color: var(--aux-primary, #0e382b);
    border-radius: 8px;
}

.aux-appointments-content .wpcn-heading-icon svg {
    width: 18px;
    height: 18px;
}

.aux-appointments-content .wpcn-heading-sub {
    margin: 0 !important;
    font-size: 0.85rem !important;
    color: var(--aux-text-muted, #64748b) !important;
}

/* Primary Booking Button - Keep Original .wpcn-btn-new-booking Green */
.aux-appointments-content .wpcn-btn-new-booking,
.wpcn-btn-new-booking {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #06c755 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 11px 24px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.aux-appointments-content .wpcn-btn-new-booking:hover,
.wpcn-btn-new-booking:hover {
    background: #05a847 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45) !important;
    color: #ffffff !important;
}

.aux-appointments-content .wpcn-btn-new-booking:active,
.wpcn-btn-new-booking:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3) !important;
}

/* Appointment Cards List */
.aux-appointments-content .wpcn-appointments-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
}

.aux-appointments-content .wpcn-appt-item-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--aux-border, #e2e8f0);
    border-radius: var(--aux-radius, 14px);
    padding: 1.15rem 1.35rem;
    box-shadow: var(--aux-shadow);
    transition: all 0.2s ease;
}

.aux-appointments-content .wpcn-appt-item-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.aux-appointments-content .wpcn-appt-item-card.wpcn-highlight-new-card {
    border: 2px solid #06c755 !important;
    border-color: #06c755 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.3), 0 10px 28px rgba(6, 199, 85, 0.2) !important;
    animation: wpcnPulseCard 2s ease-in-out 5 !important;
    position: relative !important;
    z-index: 5 !important;
}

/* Date Block */
.aux-appointments-content .wpcn-appt-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    min-width: 90px;
    background: #f8fafc;
    border: 1px solid var(--aux-border, #e2e8f0);
    border-radius: 12px;
    padding: 0.65rem 0.5rem;
    text-align: center;
    flex-shrink: 0;
}

.aux-appointments-content .wpcn-date-day {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--aux-primary, #0e382b);
    line-height: 1;
}

.aux-appointments-content .wpcn-date-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--aux-text-muted, #64748b);
    margin-top: 2px;
}

.aux-appointments-content .wpcn-date-time-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 2px 6px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
}

.aux-appointments-content .wpcn-chip-clock-icon {
    width: 11px;
    height: 11px;
    color: #64748b;
}

/* Service Info Block */
.aux-appointments-content .wpcn-appt-info-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.aux-appointments-content .wpcn-appt-service-name {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--aux-text-main, #1e293b);
    line-height: 1.35;
}

.aux-appointments-content .wpcn-appt-meta-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.aux-appointments-content .wpcn-code-tag-card {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.75rem;
    color: #475569;
}

.aux-appointments-content .wpcn-code-icon {
    width: 12px;
    height: 12px;
}

.aux-appointments-content .wpcn-appt-note-bubble {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

/* Action & Status Block */
.aux-appointments-content .wpcn-appt-action-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.aux-appointments-content .wpcn-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.aux-appointments-content .wpcn-status-chip .wpcn-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.aux-appointments-content .wpcn-status-chip.wpcn-status-pending {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}
.aux-appointments-content .wpcn-status-chip.wpcn-status-pending .wpcn-status-dot {
    background: #f59e0b;
}

.aux-appointments-content .wpcn-status-chip.wpcn-status-confirmed {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.aux-appointments-content .wpcn-status-chip.wpcn-status-confirmed .wpcn-status-dot {
    background: #10b981;
}

.aux-appointments-content .wpcn-status-chip.wpcn-status-completed {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.aux-appointments-content .wpcn-status-chip.wpcn-status-completed .wpcn-status-dot {
    background: #3b82f6;
}

.aux-appointments-content .wpcn-status-chip.wpcn-status-cancelled {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.aux-appointments-content .wpcn-status-chip.wpcn-status-cancelled .wpcn-status-dot {
    background: #94a3b8;
}

/* Cancel Button */
.aux-appointments-content .wpcn-btn-cancel-appt {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.aux-appointments-content .wpcn-btn-cancel-appt:hover {
    color: #ef4444;
    border-color: #fecaca;
    background: #fef2f2;
}

.aux-appointments-content .wpcn-cancel-icon {
    width: 12px;
    height: 12px;
}

/* Empty State in Appointments */
.aux-appointments-content .wpcn-empty-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--aux-border, #e2e8f0);
    border-radius: var(--aux-radius, 14px);
    background: #fafbfc;
}

.aux-appointments-content .wpcn-empty-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #ecfdf5;
    color: var(--aux-primary, #0e382b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.aux-appointments-content .wpcn-empty-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.aux-appointments-content .wpcn-empty-box h4 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--aux-text-main, #1e293b) !important;
    margin: 0 0 0.4rem !important;
}

.aux-appointments-content .wpcn-empty-box p {
    font-size: 0.88rem !important;
    color: var(--aux-text-muted, #64748b) !important;
    max-width: 420px;
    margin: 0 0 1.25rem !important;
}

/* Modal Z-Index & Overlay Perfection */
.wpcn-modal-overlay {
    z-index: 9999999 !important;
}

.wpcn-modal-container {
    border-radius: 20px !important;
    font-family: var(--aux-font) !important;
}

.wpcn-slot-btn.selected {
    background: var(--aux-primary, #0e382b) !important;
    border-color: var(--aux-primary, #0e382b) !important;
    color: #ffffff !important;
}

.wpcn-slot-btn:hover:not(.disabled) {
    border-color: var(--aux-primary, #0e382b) !important;
    color: var(--aux-primary, #0e382b) !important;
}

/* Responsive Mobile Rules for Appointments */
@media (max-width: 768px) {
    .aux-appointments-content .wpcn-appt-item-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 1rem;
    }

    .aux-appointments-content .wpcn-appt-date-block {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0.5rem 0.85rem;
        text-align: left;
    }

    .aux-appointments-content .wpcn-date-day {
        font-size: 1.25rem;
    }

    .aux-appointments-content .wpcn-date-time-chip {
        margin-top: 0;
        margin-left: auto;
    }

    .aux-appointments-content .wpcn-appt-action-block {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #f1f5f9;
        padding-top: 0.65rem;
    }

    .aux-appointments-content .wpcn-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .aux-appointments-content .wpcn-btn-new-booking {
        width: 100% !important;
    }
}

