@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #151c2c;
    --bg-tertiary: #1f293d;
    --accent-gold: #d9a05b;
    --accent-gold-hover: #e5b373;
    --accent-gold-glow: rgba(217, 160, 91, 0.15);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-focus: rgba(217, 160, 91, 0.4);
    
    --status-pending: #f59e0b;
    --status-trial: #3b82f6;
    --status-completed: #10b981;
    --status-delivered: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.3), 0 8px 10px -6px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 20px rgba(217, 160, 91, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-gold-hover);
}

/* Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 10;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2.5rem;
    max-width: 1400px;
    width: calc(100% - 280px);
}

/* Sidebar Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-gold), #b37e3d);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-weight: bold;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sidebar Navigation */
.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.nav-item.active a {
    background-color: rgba(217, 160, 91, 0.08);
    color: var(--accent-gold);
    border: 1px solid rgba(217, 160, 91, 0.15);
}

.nav-item a:hover:not(.active a) {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.page-title h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.page-title p {
    color: var(--text-secondary);
}

/* Dashboard Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 160, 91, 0.2);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background-color: rgba(217, 160, 91, 0.05);
    border: 1px solid rgba(217, 160, 91, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Specific Card Highlight Decorators */
.stat-card.trial .stat-icon {
    color: var(--status-trial);
    background-color: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.1);
}
.stat-card.trial::after { background-color: var(--status-trial); }

.stat-card.delivery .stat-icon {
    color: var(--status-pending);
    background-color: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.1);
}
.stat-card.delivery::after { background-color: var(--status-pending); }

.stat-card.ready .stat-icon {
    color: var(--status-completed);
    background-color: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.1);
}
.stat-card.ready::after { background-color: var(--status-completed); }


/* Filter / Search Bar Container */
.search-filter-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
    gap: 1.25rem;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(217, 160, 91, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #c98e47);
    color: #0b0f19;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

.btn-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-danger:hover {
    background-color: #ef4444;
    color: white;
}

/* Orders Table Section */
.orders-table-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.table-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.table-header-bar h2 {
    font-size: 1.35rem;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.orders-table th {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.orders-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.95rem;
    vertical-align: middle;
}

.orders-table tbody tr {
    transition: background-color 0.2s ease;
}

.orders-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.015);
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--status-pending);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-trial {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--status-trial);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--status-completed);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-delivered {
    background-color: rgba(100, 116, 139, 0.1);
    color: var(--status-delivered);
    border: 1px solid rgba(100, 116, 139, 0.2);
}

/* Customer Search/Datalist suggestions */
.autocomplete-container {
    position: relative;
}

.autocomplete-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-muted);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Dynamic Order Form Styles */
.order-form-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Items Dynamic List styles */
.items-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.added-item-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease;
    position: relative;
}

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

.item-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.75rem;
}

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.item-delete-btn {
    color: #ef4444;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.measurements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Detail view styling */
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.detail-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.detail-section-title {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meta-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.meta-info-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted var(--border-color);
    padding-bottom: 0.5rem;
}

.meta-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-value {
    font-weight: 600;
}

.order-detail-item {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-detail-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.detail-measurements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.measurement-pill {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.measurement-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.measurement-value {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

/* Alert styles */
.messages-container {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.alert-error, .alert-danger {
    background-color: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Print View Layout */
.print-container {
    background-color: white;
    color: black;
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.print-header {
    text-align: center;
    border-bottom: 2px solid black;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.print-shop-name {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.print-shop-subtitle {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.print-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.print-meta-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.print-meta-item {
    font-size: 0.95rem;
}

.print-meta-item strong {
    width: 140px;
    display: inline-block;
}

.print-item-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.print-item-table th {
    border-bottom: 2px solid black;
    padding: 0.75rem 0.5rem;
    text-align: left;
    font-weight: 700;
}

.print-item-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0.5rem;
    vertical-align: top;
}

.print-item-sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.print-size-pill {
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    text-align: center;
    background-color: #f8fafc;
}

.print-size-label {
    display: block;
    font-size: 0.7rem;
    color: #475569;
    text-transform: uppercase;
}

.print-size-val {
    font-weight: 700;
    font-size: 1rem;
}

.print-footer {
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: #4a5568;
}

.print-actions {
    max-width: 800px;
    margin: 1rem auto;
    display: flex;
    justify-content: space-between;
}

/* Interactive Garment Measurement SVG Guide & Highlight Overlay */
.garment-guide-wrapper {
    flex: 1;
    min-width: 260px;
    max-width: 360px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.garment-guide-wrapper:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(217, 160, 91, 0.15);
}

.garment-guide-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.garment-guide-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.garment-active-badge {
    background: rgba(217, 160, 91, 0.15);
    border: 1px solid var(--accent-gold);
    color: #f8fafc;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: var(--shadow-glow);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(217, 160, 91, 0.3); }
    50% { box-shadow: 0 0 15px rgba(217, 160, 91, 0.8); }
}

.garment-svg-container {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.garment-svg {
    width: 100%;
    height: 100%;
    max-height: 230px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

/* SVG Vector Styles */
.garment-outline {
    fill: #1e293b;
    stroke: #475569;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.garment-details {
    fill: none;
    stroke: #64748b;
    stroke-width: 1.5;
    stroke-dasharray: 4,4;
}

.garment-path-highlight {
    opacity: 0.2;
    transition: all 0.3s ease;
}

.garment-path-highlight.active {
    opacity: 1;
    stroke: #d9a05b !important;
    stroke-width: 3.5 !important;
    filter: drop-shadow(0 0 8px #d9a05b);
}

.garment-path-highlight.active-line {
    opacity: 1;
    stroke:rgb(255, 0, 0) !important;
    stroke-width: 3.5 !important;
    stroke-dasharray: 14,8;
    animation: dashOffset 1s linear infinite;
    filter: drop-shadow(0 0 8px #38bdf8);
}

@keyframes dashOffset {
    to { stroke-dashoffset: -18; }
}

.garment-marker-point {
    fill: #d9a05b;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.garment-marker-point.active {
    opacity: 1;
    animation: pulseMarker 1.5s infinite;
}

@keyframes pulseMarker {
    0% { r: 4; fill-opacity: 1; }
    50% { r: 7; fill-opacity: 0.5; }
    100% { r: 4; fill-opacity: 1; }
}

.garment-guide-footer-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    width: 100%;
}

/* Responsive Mobile Header Bar & Drawer Navigation */
.mobile-top-header {
    display: none;
    height: 60px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 1rem;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.mobile-nav-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.4rem;
}

.mobile-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
}

.mobile-drawer-overlay.active {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    z-index: 201;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-drawer.open {
    left: 0;
}

/* Auth Cards & Left-out Pages Styling */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: radial-gradient(circle at top right, rgba(217, 160, 91, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.08), transparent 40%),
                var(--bg-primary);
}

.auth-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-brand .brand-icon {
    margin: 0 auto 1rem auto;
    width: 54px;
    height: 54px;
    font-size: 1.75rem;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive adjust */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
        padding: 2rem 0.5rem;
        align-items: center;
    }
    .brand-name, .nav-label {
        display: none;
    }
    .main-content {
        margin-left: 80px;
        width: calc(100% - 80px);
    }
    .brand-icon {
        width: 48px;
        height: 48px;
    }
    .nav-item a {
        justify-content: center;
        padding: 0.85rem;
    }
}

@media (max-width: 768px) {
    .mobile-top-header {
        display: flex;
    }
    .sidebar {
        display: none;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 5rem 1rem 2rem 1rem;
    }
    .form-grid-2, .form-grid-3, .detail-grid {
        grid-template-columns: 1fr;
    }
    .search-form {
        grid-template-columns: 1fr;
    }
    .btn {
        width: 100%;
    }
    .garment-guide-wrapper {
        max-width: 100%;
        width: 100%;
    }
}

/* CSS Print Overrides */
@media print {
    body {
        background-color: white !important;
        color: black !important;
    }
    .app-container, .sidebar, .main-content, .print-actions, .page-header, .search-filter-card, .mobile-top-header {
        display: none !important;
    }
    .print-container {
        display: block !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

