/* Hotel Management System - Premium CSS */
/* Supports Dark/Light Mode & RTL/LTR Layouts */

/* ========================================
   CSS VARIABLES & THEME SYSTEM
   ======================================== */
:root {
    /* Light Theme Colors */
    --color-bg-primary: #f8fafc;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #f1f5f9;
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    /* Brand Colors */
    --color-primary: #6366f1;
    --color-primary-hover: #4f46e5;
    --color-primary-light: rgba(99, 102, 241, 0.1);
    --color-secondary: #8b5cf6;
    --color-accent: #ec4899;

    /* Status Colors */
    --color-success: #10b981;
    --color-success-light: rgba(16, 185, 129, 0.1);
    --color-warning: #f59e0b;
    --color-warning-light: rgba(245, 158, 11, 0.1);
    --color-danger: #ef4444;
    --color-danger-light: rgba(239, 68, 68, 0.1);
    --color-info: #0ea5e9;
    --color-info-light: rgba(14, 165, 233, 0.1);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Rounded Corners */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
}

/* Dark Theme Variables */
.dark {
    --color-bg-primary: #0f172a;
    --color-bg-secondary: #1e293b;
    --color-bg-tertiary: #334155;
    --color-text-primary: #f8fafc;
    --color-text-secondary: #cbd5e1;
    --color-text-muted: #64748b;
    --color-border: #334155;
    --color-border-light: #1e293b;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

/* ========================================
   BASE STYLES
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Arabic Font Support */
[dir="rtl"] body,
[lang="ar"] body {
    font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ========================================
   RTL SUPPORT
   ======================================== */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .ml-auto {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .mr-auto {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .pl-4 {
    padding-right: 1rem;
    padding-left: 0;
}

[dir="rtl"] .pr-4 {
    padding-left: 1rem;
    padding-right: 0;
}

[dir="rtl"] .text-left {
    text-align: right;
}

[dir="rtl"] .text-right {
    text-align: left;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
/* Scoped to dashboard to avoid overriding Tailwind on public pages */
.dashboard-content h1,
.dashboard-content h2,
.dashboard-content h3,
.dashboard-content h4,
.dashboard-content h5,
.dashboard-content h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-primary);
}

.dashboard-content h1 {
    font-size: var(--text-3xl);
}

.dashboard-content h2 {
    font-size: var(--text-2xl);
}

.dashboard-content h3 {
    font-size: var(--text-xl);
}

.dashboard-content h4 {
    font-size: var(--text-lg);
}

.dashboard-content p {
    color: var(--color-text-secondary);
}

.dashboard-content a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.dashboard-content a:hover {
    color: var(--color-primary-hover);
}

/* ========================================
   COMMON COMPONENT CLASSES
   ======================================== */

/* Content Card - Used throughout the application */
.content-card {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.dark .content-card {
    background-color: #1f2937;
    border-color: #374151;
}

/* Card Title */
.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.dark .card-title {
    color: #fff;
}

/* Stat Card */
.stat-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.dark .stat-card {
    background-color: #1f2937;
    border-color: #374151;
}

.stat-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stat-content {
    margin-top: 1rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.dark .stat-label {
    color: #9ca3af;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 0.25rem;
}

.dark .stat-value {
    color: #fff;
}

.stat-sub {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.dark .stat-sub {
    color: #6b7280;
}

/* Section Title */
.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.dark .section-title {
    color: #fff;
}

/* Detail Items */
.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.dark .detail-label {
    color: #9ca3af;
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.dark .detail-value {
    color: #fff;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.dark .form-label {
    color: #d1d5db;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #1f2937;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.dark .form-input,
.dark .form-select,
.dark .form-textarea {
    color: #fff;
    background-color: #374151;
    border-color: #4b5563;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input.error,
.form-input.border-red-500 {
    border-color: #ef4444;
}

.form-error {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #ef4444;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

.btn:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(to right, #4f46e5, #9333ea);
    color: #fff !important;
    font-weight: 500;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #f3f4f6;
    color: #374151 !important;
    font-weight: 500;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.dark .btn-secondary {
    background-color: #374151;
    color: #e5e7eb !important;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

.dark .btn-secondary:hover {
    background-color: #4b5563;
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff !important;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff !important;
}

.btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.quick-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #4b5563;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.dark .quick-action-btn {
    color: #d1d5db;
}

.quick-action-btn:hover {
    background-color: #f3f4f6;
}

.dark .quick-action-btn:hover {
    background-color: #374151;
}

/* ========================================
   STATUS BADGES
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    line-height: 1;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.badge-info {
    background-color: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.badge-primary {
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

/* Status Badge - Used for room status, booking status, etc. */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.available {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.dark .status-badge.available {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.status-badge.occupied,
.status-badge.checked_in {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.dark .status-badge.occupied,
.dark .status-badge.checked_in {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.status-badge.maintenance {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dark .status-badge.maintenance {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.status-badge.cleaning {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.dark .status-badge.cleaning {
    background-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.status-badge.confirmed {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.dark .status-badge.confirmed {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.status-badge.checked_out {
    background-color: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.dark .status-badge.checked_out {
    background-color: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.status-badge.cancelled {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dark .status-badge.cancelled {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.status-badge.reserved {
    background-color: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.dark .status-badge.reserved {
    background-color: rgba(236, 72, 153, 0.2);
    color: #f472b6;
}

/* Type badges for inventory */
.type-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.type-badge.internal {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.dark .type-badge.internal {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.type-badge.sale {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.dark .type-badge.sale {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

/* Stock badges */
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.stock-badge.ok {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.dark .stock-badge.ok {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.stock-badge.low {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.dark .stock-badge.low {
    background-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.stock-badge.out {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.dark .stock-badge.out {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* ========================================
   TABLES
   ======================================== */
.table-container {
    overflow-x: auto;
    border-radius: 0.75rem;
    border: 1px solid #f3f4f6;
}

.dark .table-container {
    border-color: #374151;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1rem 1.25rem;
    text-align: left;
}

[dir="rtl"] .table th,
[dir="rtl"] .table td {
    text-align: right;
}

.table th,
.table-header {
    background-color: #f9fafb;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 1.25rem;
    text-align: left;
}

.dark .table th,
.dark .table-header {
    background-color: rgba(55, 65, 81, 0.5);
    color: #9ca3af;
    border-color: #374151;
}

.table td {
    background-color: #fff;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.dark .table td {
    background-color: #1f2937;
    border-color: #374151;
    color: #d1d5db;
}

.table tbody tr:hover td {
    background-color: #f9fafb;
}

.dark .table tbody tr:hover td {
    background-color: #374151;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ========================================
   ROOM TYPE OPTIONS
   ======================================== */
.room-type-option {
    cursor: pointer;
}

.room-type-option input:checked+.room-type-content {
    border-color: #6366f1;
    background-color: rgba(99, 102, 241, 0.05);
}

.dark .room-type-option input:checked+.room-type-content {
    background-color: rgba(99, 102, 241, 0.1);
}

.room-type-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: all 0.2s;
    text-align: center;
}

.dark .room-type-content {
    border-color: #4b5563;
}

.room-type-content:hover {
    border-color: #d1d5db;
}

.dark .room-type-content:hover {
    border-color: #6b7280;
}

.room-type-name {
    font-weight: 600;
    color: #1f2937;
}

.dark .room-type-name {
    color: #fff;
}

.room-type-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #6366f1;
    margin-top: 0.25rem;
}

.dark .room-type-price {
    color: #818cf8;
}

.room-type-capacity {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================
   TYPE OPTIONS (Internal/Sale)
   ======================================== */
.type-option {
    cursor: pointer;
}

.type-option input:checked+.type-option-content.internal {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
}

.dark .type-option input:checked+.type-option-content.internal {
    background-color: rgba(59, 130, 246, 0.1);
}

.type-option input:checked+.type-option-content.sale {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.05);
}

.dark .type-option input:checked+.type-option-content.sale {
    background-color: rgba(16, 185, 129, 0.1);
}

.type-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    transition: all 0.2s;
    text-align: center;
}

.dark .type-option-content {
    border-color: #4b5563;
}

.type-option-content:hover {
    border-color: #d1d5db;
}

.dark .type-option-content:hover {
    border-color: #6b7280;
}

.type-option-content.internal i {
    color: #3b82f6;
}

.type-option-content.sale i {
    color: #10b981;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 0.25rem;
}

.nav-link:hover {
    background-color: rgba(51, 65, 85, 0.5);
    color: #fff;
}

.nav-link.active {
    background: linear-gradient(to right, #4f46e5, #9333ea);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.nav-link i {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
}

/* ========================================
   MODALS
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s;
}

.dark .modal {
    background-color: #1f2937;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.dark .modal-header {
    border-color: #374151;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.dark .modal-title {
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    background-color: #f9fafb;
}

.dark .modal-footer {
    border-color: #374151;
    background-color: #111827;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.dark .pagination-link {
    color: #d1d5db;
    background-color: #1f2937;
    border-color: #374151;
}

.pagination-link:hover {
    background-color: #f9fafb;
    border-color: #6366f1;
    color: #6366f1;
}

.dark .pagination-link:hover {
    background-color: #374151;
}

.pagination-link.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    color: #fff;
}

/* ========================================
   LOADING & ANIMATIONS
   ======================================== */
.spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e5e7eb;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #fff 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background Grid Pattern */
.bg-grid-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .no-print {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}