/* Stitch Design System V2 - Complete CSS */

/* Font Face Definitions */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Inter Regular'), local('Inter-Regular'),
         url('../fonts/Inter-Regular.woff2') format('woff2'),
         url('../fonts/Inter-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local('Inter Medium'), local('Inter-Medium'),
         url('../fonts/Inter-Medium.woff2') format('woff2'),
         url('../fonts/Inter-Medium.woff') format('woff');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Inter SemiBold'), local('Inter-SemiBold'),
         url('../fonts/Inter-SemiBold.woff2') format('woff2'),
         url('../fonts/Inter-SemiBold.woff') format('woff');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Inter Bold'), local('Inter-Bold'),
         url('../fonts/Inter-Bold.woff2') format('woff2'),
         url('../fonts/Inter-Bold.woff') format('woff');
}

/* CSS Variables / Design Tokens */
:root {
    --primary-color: #6267a3;
    --primary-hover: #7378b5;
    --primary-light: #8c91d6;
    --secondary-color: #e6f2fd;
    --background-color: #f8f9fa;
    --text-primary: #344054;
    --text-secondary: #667085;
    --accent-color: #98a2b3;
    --discord-color: #5865f217;
    --discord-brand: #5865f2;
    --available-time: #e9f7ef;
    --unavailable-time: #fdeaea;
    --border-color: #e5e7eb;
    --white: #ffffff;
    
    /* Priority Colors */
    --priority-high-bg: #fee2e2;
    --priority-high-text: #991b1b;
    --priority-high-badge: #dc2626;
    --priority-medium-bg: #fef3c7;
    --priority-medium-text: #92400e;
    --priority-medium-badge: #f59e0b;
    --priority-low-bg: #d1fae5;
    --priority-low-text: #065f46;
    --priority-low-badge: #10b981;
    --priority-none-bg: #f3f4f6;
    --priority-none-text: #4b5563;
    --priority-none-badge: #6b7280;
    
    --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);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;
    --transition: all 0.2s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 1.875rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* Layout Container */
.app-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    height: 64px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--white);
    padding: 0 24px;
}

@media (max-width: 768px) {
    .header {
        padding: 0 16px;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-version {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
}

/* Navigation */
.nav-main {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .nav-main {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: #3d4170;
    font-weight: 600;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* User Profile */
.user-profile {
    position: relative;
}

.user-avatar-button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 2px solid rgb(52 9 91 / 10%);
    background: linear-gradient(135deg, #503d7915 0%, #e1a16a20 100%);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.user-avatar-button:hover {
    border-color: rgb(52 9 91 / 20%);
    transform: scale(1.05);
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
}

.user-avatar-fallback svg {
    width: 24px;
    height: 24px;
    color: #6b7280;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: none;
    z-index: 50;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-avatar-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

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

.user-email {
    font-size: 12px;
    color: var(--text-secondary);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: var(--background-color);
}

.dropdown-icon {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

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

/* Icon Buttons */
.icon-button {
    padding: 8px;
    border-radius: var(--radius-full);
    background-color: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-button:hover {
    background: linear-gradient(135deg, #503d7918 0%, #e1a16a30 100%);
    border-color: rgb(52 9 91 / 5%);
}

.icon-button-small {
    padding: 8px;
    border-radius: var(--radius-full);
    background-color: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.icon-button-small:hover {
    background: linear-gradient(135deg, #503d7918 0%, #e1a16a30 100%);
    border-color: rgb(52 9 91 / 5%);
}

.icon {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
}

.icon-small {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.mobile-menu-toggle {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Main Layout */
.main-layout {
    display: flex;
    height: calc(100vh - 64px);
    flex: 1;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    width: 320px;
    background-color: var(--background-color);
    border-right: 1px solid var(--border-color);
    padding: 16px;
    gap: 16px;
    overflow-y: auto;
}

@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }
}

/* Cards */
.card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Calendar Widget */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.calendar-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    margin-top: 16px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 0.875rem;
    margin-top: 8px;
}

.calendar-day {
    padding: 8px;
    border-radius: var(--radius-full);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.calendar-day:hover {
    background-color: #f3f4f6;
}

.calendar-day.other-month {
    color: #9ca3af;
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: white;
}

.calendar-day.today {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

/* Status Cards */
.status-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.status-card {
    padding: 16px;
}

.status-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.status-indicator-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background-color: #ef4444;
}

.status-dot.active {
    background-color: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.button-secondary-small {
    background: linear-gradient(135deg, #503d7918 0%, #e1a16a30 100%);
    color: #3d4170;
    border: 1px solid rgb(52 9 91 / 8%);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.button-secondary-small:hover {
    background: linear-gradient(135deg, #503d792e 0%, #e1a16a52 100%);
    border-color: rgb(52 9 91 / 15%);
    color: #3d4170;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }
}

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

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

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

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

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.filter-btn {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-muted);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: var(--background-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

@media (max-width: 1280px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.content-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* View Content */
.view-content {
    display: block;
}

.view-content.hidden {
    display: none;
}

/* Day View Reminders */
.reminders-day-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reminder-item-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}

.reminder-item-day:hover {
    transform: translateX(4px);
}

.reminder-item-day.high {
    background-color: var(--priority-high-bg);
}

.reminder-item-day.medium {
    background-color: var(--priority-medium-bg);
}

.reminder-item-day.low {
    background-color: var(--priority-low-bg);
}

.reminder-item-day.none {
    background-color: var(--priority-none-bg);
}

.reminder-time-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reminder-time {
    font-weight: 500;
}

.reminder-item-day.high .reminder-time {
    color: var(--priority-high-text);
}

.reminder-item-day.medium .reminder-time {
    color: var(--priority-medium-text);
}

.reminder-item-day.low .reminder-time {
    color: var(--priority-low-text);
}

.reminder-item-day.none .reminder-time {
    color: var(--priority-none-text);
}

.reminder-text {
    font-size: 0.875rem;
}

.reminder-item-day.high .reminder-text {
    color: #dc2626;
}

.reminder-item-day.medium .reminder-text {
    color: #d97706;
}

.reminder-item-day.low .reminder-text {
    color: #059669;
}

.reminder-item-day.none .reminder-text {
    color: #6b7280;
}

.priority-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    border: 1px solid transparent;
}

.priority-badge.high {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: rgba(220, 38, 38, 0.2);
}

.priority-badge.medium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.2);
}

.priority-badge.low {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.2);
}

.priority-badge.none {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #4b5563;
    border-color: rgba(107, 114, 128, 0.2);
}

.priority-badge.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-color: rgba(59, 130, 246, 0.2);
}

.priority-badge.completed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: rgba(16, 185, 129, 0.2);
}

.priority-badge.cancelled {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.2);
}

.priority-badge.recurring {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #5b21b6;
    border-color: rgba(139, 92, 246, 0.2);
}

.priority-badge.overdue {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.3);
}


/* Countdown Timer */
.countdown-timer {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e40af;
    margin-left: 8px;
}

.countdown-timer.urgent {
    color: #dc2626;
    font-weight: 600;
}

.countdown-timer.overdue {
    color: #dc2626;
    font-weight: 700;
    text-transform: uppercase;
}

/* Reminder Title Container */
.reminder-title-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    margin-left: auto;
}

/* Forms */
.reminder-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

/* Inputs */
.input {
    background-color: var(--white);
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
    width: 100%;
}

.input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(98, 103, 163, 0.1);
}

.input-select {
    background-color: var(--white);
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 36px;
}

.checkbox {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #d1d5db;
    cursor: pointer;
}

/* Buttons */
.button-primary {
    background: linear-gradient(135deg, #503d792e 0%, #e1a16a52 100%);
    color: #3d4170;
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgb(52 9 91 / 10%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-primary:hover {
    background: linear-gradient(135deg, #503d7945 0%, #e1a16a70 100%);
    transform: translateY(-1px);
    border-color: rgb(52 9 91 / 20%);
}

.button-secondary {
    background: linear-gradient(135deg, #503d7918 0%, #e1a16a30 100%);
    color: #3d4170;
    border: 1px solid rgb(52 9 91 / 8%);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.button-secondary:hover {
    background: linear-gradient(135deg, #503d792e 0%, #e1a16a52 100%);
    border-color: rgb(52 9 91 / 15%);
    color: #3d4170;
}

.full-width {
    width: 100%;
}

/* Reminders Table */
.reminders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filter-controls {
    display: flex;
    gap: 12px;
}

.reminders-table-container {
    overflow-x: auto;
    position: relative;
}

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

.reminders-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.reminders-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.reminders-table tbody tr:hover {
    background-color: var(--background-color);
}

/* Action dropdown styles */
.action-menu-button:hover {
    background-color: var(--background-secondary) !important;
    border-radius: var(--radius-sm);
}

.action-dropdown-menu {
    z-index: 99999 !important;
    position: fixed !important;
    background: var(--background-primary) !important;
}

.dropdown-item:hover {
    background-color: var(--background-secondary) !important;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.status-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.status-sent {
    background-color: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-button {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.action-button:hover {
    background-color: var(--background-color);
    color: var(--text-primary);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 300px;
    padding: 16px;
    border-radius: var(--radius-md);
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

.toast.info {
    border-left: 4px solid var(--primary-color);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.loading-overlay.show {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

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

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 5;
}

.mobile-nav-overlay.show {
    display: block;
}

.mobile-nav {
    background-color: var(--white);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background-color: var(--background-color);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 16px;
    }
    
    .content-grid {
        gap: 16px;
    }
}

/* Print styles */
@media print {
    .header,
    .sidebar,
    .mobile-nav-overlay,
    .toast-container,
    .loading-overlay {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    .main-layout {
        height: auto;
    }
}