/* ===================================
   A.B Consulting - Mobile First CSS
   =================================== */

/* Variables */
:root {
    --color-primary: #E8D5E3;
    --color-primary-dark: #D4B8C7;
    --color-primary-light: #F5EDF2;
    --color-secondary: #FFFFFF;
    --color-text: #2C2C2C;
    --color-text-light: #6B6B6B;
    --color-border: #E0E0E0;
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    --color-info: #3B82F6;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --nav-height: 70px;
    --header-height: 60px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    background: #FAFAFA;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ===================================
   Navigation Bottom (Mobile)
   =================================== */
.nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--color-secondary);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s;
    border-radius: var(--radius-md);
}

.nav-item svg {
    width: 22px;
    height: 22px;
}

.nav-item.active {
    color: var(--color-primary-dark);
}

.nav-item.active svg {
    stroke-width: 2.5;
}

/* ===================================
   Header
   =================================== */
.header {
    position: sticky;
    top: 0;
    background: var(--color-secondary);
    border-bottom: 1px solid var(--color-border);
    z-index: 900;
    height: var(--header-height);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--color-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info {
    padding: 16px;
    background: var(--color-primary-light);
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--color-text);
}

.user-email {
    display: block;
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 2px;
}

.user-divider {
    height: 1px;
    background: var(--color-border);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.user-menu-item:hover {
    background: var(--color-primary-light);
}

.user-menu-item svg {
    color: var(--color-text-light);
}

/* ===================================
   Main Content
   =================================== */
.main-content {
    padding: 16px;
    padding-bottom: calc(var(--nav-height) + 16px + env(safe-area-inset-bottom));
    max-width: 1200px;
    margin: 0 auto;
}

.main-content.with-nav {
    padding-bottom: calc(var(--nav-height) + 24px + env(safe-area-inset-bottom));
}

/* ===================================
   Flash Messages
   =================================== */
.flash-container {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: 16px;
    right: 16px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flash {
    background: var(--color-secondary);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.3s ease-out;
    border-left: 4px solid var(--color-info);
    transition: opacity 0.3s;
}

.flash-success { border-left-color: var(--color-success); }
.flash-error { border-left-color: var(--color-error); }
.flash-warning { border-left-color: var(--color-warning); }

.flash-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===================================
   Cards
   =================================== */
.card {
    background: var(--color-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

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

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.card-body {
    padding: 16px;
}

.card-footer {
    padding: 16px;
    border-top: 1px solid var(--color-border);
    background: var(--color-primary-light);
}

/* ===================================
   Stats Grid
   =================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--color-secondary);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--color-border);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 4px;
}

.stat-card.highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.stat-card.highlight .stat-value,
.stat-card.highlight .stat-label {
    color: var(--color-text);
}

.stat-card.danger {
    border-color: var(--color-error);
}

.stat-card.danger .stat-value {
    color: var(--color-error);
}

/* ===================================
   Lists
   =================================== */
.list {
    display: flex;
    flex-direction: column;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

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

.list-item:hover {
    background: var(--color-primary-light);
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-subtitle {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 2px;
}

.list-item-amount {
    font-weight: 600;
    color: var(--color-text);
    text-align: right;
}

.list-item-meta {
    font-size: 12px;
    color: var(--color-text-light);
    text-align: right;
}

/* ===================================
   Badges
   =================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.badge-gray {
    background: #F3F4F6;
    color: #6B7280;
}

.badge-blue {
    background: #DBEAFE;
    color: #1D4ED8;
}

.badge-green {
    background: #D1FAE5;
    color: #047857;
}

.badge-red {
    background: #FEE2E2;
    color: #DC2626;
}

.badge-yellow {
    background: #FEF3C7;
    color: #B45309;
}

/* ===================================
   Client Tags
   =================================== */
.client-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
}

.client-tag:hover {
    transform: scale(1.02);
}

.client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.client-tags-inline {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: 8px;
}

/* Tag avec bouton de suppression */
.client-tag-removable {
    cursor: pointer;
    padding-right: 6px;
}

.client-tag-removable .tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    font-size: 14px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s;
}

.client-tag-removable:hover .tag-remove {
    opacity: 1;
}

/* Bouton d'ajout de tag */
.tag-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--color-text-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.tag-add-btn:hover {
    border-color: var(--color-primary-dark);
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
}

.tag-add-btn svg {
    width: 14px;
    height: 14px;
}

/* Modal de sélection de tags */
.tag-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 8px 0;
}

.tag-selector-item {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
}

.tag-selector-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.tag-selector-item.selected {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--color-text);
}

/* Filtres par tag */
.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
}

.tag-filter {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.tag-filter:hover,
.tag-filter.active {
    opacity: 1;
}

.tag-filter.active {
    box-shadow: 0 0 0 2px var(--color-text);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #C9A5B8 100%);
    color: var(--color-text);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--color-primary-light);
}

.btn-success {
    background: var(--color-success);
    color: white;
}

.btn-danger {
    background: var(--color-error);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    padding: 8px 12px;
}

.btn-ghost:hover {
    background: var(--color-primary-light);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 16px;
}

/* ===================================
   Forms
   =================================== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--color-secondary);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary-dark);
    box-shadow: 0 0 0 3px rgba(212, 184, 199, 0.2);
}

.form-input::placeholder {
    color: var(--color-text-light);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 44px;
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.form-hint {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ===================================
   Empty State
   =================================== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--color-text-light);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.empty-state-text {
    font-size: 14px;
    margin-bottom: 24px;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 4px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}

.section-link {
    font-size: 14px;
    color: var(--color-primary-dark);
    text-decoration: none;
    font-weight: 500;
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    margin-bottom: 24px;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ===================================
   Tables (Mobile Friendly)
   =================================== */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--color-primary-light);
}

.table td {
    font-size: 14px;
}

.table tr:hover {
    background: var(--color-primary-light);
}

/* ===================================
   Modal
   =================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--color-secondary);
    width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.modal-overlay.show .modal {
    transform: translateY(0);
}

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

.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 12px;
}

/* ===================================
   Tabs
   =================================== */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--color-primary-light);
    padding: 4px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    overflow-x: auto;
}

.tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
}

.tab.active {
    background: var(--color-secondary);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   Search
   =================================== */
.search-box {
    position: relative;
    margin-bottom: 16px;
}

.search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
    width: 20px;
    height: 20px;
}

.search-box input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 16px;
    background: var(--color-secondary);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-primary-dark);
}

/* ===================================
   FAB (Floating Action Button)
   =================================== */
.fab {
    position: fixed;
    bottom: calc(var(--nav-height) + 16px + env(safe-area-inset-bottom));
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #C9A5B8 100%);
    color: var(--color-text);
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 800;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.fab:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(212, 184, 199, 0.4);
}

.fab svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   Detail Page
   =================================== */
.detail-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-dark);
}

.detail-info {
    flex: 1;
    min-width: 0;
}

.detail-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.detail-subtitle {
    font-size: 14px;
    color: var(--color-text-light);
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--color-text-light);
    font-size: 14px;
}

.detail-value {
    font-weight: 500;
    color: var(--color-text);
    font-size: 14px;
    text-align: right;
}

/* ===================================
   Auth Pages
   =================================== */
.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, var(--color-primary-light) 0%, #FAFAFA 100%);
}

.auth-card {
    background: var(--color-secondary);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
}

.auth-logo p {
    color: var(--color-text-light);
    margin-top: 8px;
}

/* ===================================
   Responsive - Tablet & Desktop
   =================================== */
@media (min-width: 768px) {
    .nav-bottom {
        position: fixed;
        top: 0;
        bottom: auto;
        left: 0;
        width: 240px;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        padding: 24px 16px;
        border-top: none;
        border-right: 1px solid var(--color-border);
        box-shadow: none;
    }
    
    .nav-item {
        flex-direction: row;
        width: 100%;
        padding: 12px 16px;
        gap: 12px;
        font-size: 14px;
        justify-content: flex-start;
    }
    
    .nav-item svg {
        width: 20px;
        height: 20px;
    }
    
    .header {
        margin-left: 240px;
    }
    
    .main-content {
        margin-left: 240px;
        padding: 24px 32px;
        padding-bottom: 48px;
    }
    
    .main-content.with-nav {
        padding-bottom: 48px;
    }
    
    .flash-container {
        left: 256px;
        right: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 24px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .modal {
        max-width: 500px;
        border-radius: var(--radius-lg);
        margin: auto;
    }
    
    .modal-overlay {
        align-items: center;
    }
    
    .fab {
        bottom: 32px;
        right: 32px;
    }
}

@media (min-width: 1024px) {
    .nav-bottom {
        width: 280px;
    }
    
    .header {
        margin-left: 280px;
    }
    
    .main-content {
        margin-left: 280px;
        padding: 32px 48px;
    }
    
    .flash-container {
        left: 296px;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .nav-bottom,
    .header,
    .fab,
    .flash-container {
        display: none !important;
    }
    
    .main-content {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ===================================
   Utilities
   =================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-light); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-error); }
.text-warning { color: var(--color-warning); }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }

.hidden { display: none !important; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
