/* webapp/css/style.css - ОБНОВЛЕННЫЙ КОМПАКТНЫЙ ДИЗАЙН */

:root {
    --primary: #a98f71;
    --primary-dark: #8b7355;
    --primary-light: #c9b29a;
    --primary-extra-light: #f8f5f0;
    --secondary: #6c757d;
    --light: #ffffff;
    --dark: #343a40;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --border-radius: 8px;
    --box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --box-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
    background: #f8f9fa;
    color: var(--dark);
    line-height: 1.4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; /* Убрать горизонтальный скролл */
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 12px;
}

@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 0 15px;
    }
}

/* Header - Компактная версия */
.header {
    background: var(--gradient-primary);
    color: white;
    padding: 0;
    box-shadow: 0 1px 10px rgba(169, 143, 113, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-shrink: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    height: 56px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1rem;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.65rem;
    opacity: 0.9;
    font-weight: 400;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.user-avatar {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name {
    font-weight: 600;
    font-size: 0.8rem;
}

.user-webapp {
    font-size: 0.6rem;
    opacity: 0.9;
}

/* Navigation - ЦЕНТРИРОВАНО */
.nav {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 56px; /* Фиксированная позиция относительно шапки */
    z-index: 999;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center; /* Центрирование */
    gap: 2px;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    margin: 2px 0;
}

.nav-link:hover {
    background: var(--primary-extra-light);
    color: var(--primary-dark);
}

.nav-link.active {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 2px 6px rgba(139, 115, 85, 0.2);
}

.nav-link i {
    font-size: 1rem;
}

/* Main Content */
.main {
    flex: 1;
    padding: 1rem 0 1.5rem;
    width: 100%;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

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

.card-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--primary-extra-light);
    gap: 0.75rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    white-space: nowrap;
    text-align: center;
    min-height: 32px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(169, 143, 113, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(169, 143, 113, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.btn-sm {
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    min-height: 28px;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.85rem;
}

.form-control {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1.5px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(169, 143, 113, 0.1);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

/* Tables */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--border-radius);
    margin: 0 -1rem;
    width: calc(100% + 2rem);
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
    font-size: 0.85rem;
}

.table th {
    background: var(--primary-extra-light);
    font-weight: 700;
    color: var(--primary-dark);
    padding: 0.75rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--primary-light);
    position: sticky;
    top: 0;
}

.table td {
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid #e9ecef;
}

.table tbody tr:hover {
    background: rgba(169, 143, 113, 0.05);
}

/* Status badges */
.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.badge-primary {
    background: var(--primary-extra-light);
    color: var(--primary-dark);
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.loading::after {
    content: "";
    width: 25px;
    height: 25px;
    border: 2px solid var(--primary-extra-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Grid */
.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Footer - Одинаковый везде */
.footer {
    background: var(--dark);
    color: white;
    padding: 1rem 0;
    margin-top: auto;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        height: 52px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .logo-main {
        font-size: 0.9rem;
    }
    
    .user-info {
        padding: 3px 8px;
    }
    
    .user-avatar {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    
    .nav {
        top: 52px;
    }
    
    .nav-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .nav-link i {
        font-size: 1rem;
    }
    
    .card {
        padding: 0.8rem;
    }
    
    .table-container {
        margin: 0 -0.8rem;
        width: calc(100% + 1.6rem);
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
    
    .user-details {
        display: none;
    }
    
    .user-info {
        padding: 2px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        margin: 0;
        font-size: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem;
    }
}

/* Dashboard - ПЛИТКИ В ОДНУ ЛИНИЮ */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    justify-content: space-between;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 0.8rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    flex: 1;
    min-width: 100px;
    max-width: 150px;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

/* ТОЛЬКО ИКОНКИ И ЦИФРЫ */
.stat-icon {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    display: block;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0.2rem 0;
    line-height: 1;
}

.stat-label {
    display: none; /* Скрываем текст */
}

/* Deadlines list */
.deadlines-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.deadline-item {
    background: white;
    border-left: 3px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.deadline-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--box-shadow-hover);
}

.deadline-item.overdue {
    border-left-color: var(--danger);
}

.deadline-item.completed {
    border-left-color: var(--success);
    opacity: 0.8;
}

.deadline-info {
    flex: 1;
    min-width: 180px;
}

.deadline-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark);
    font-size: 0.9rem;
    line-height: 1.3;
}

.deadline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    color: var(--secondary);
    font-size: 0.75rem;
    align-items: center;
}

.deadline-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
    background: var(--primary-extra-light);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.deadline-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* Group card - УМЕНЬШЕННЫЕ ПЛИТКИ */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.group-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 0.8rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.group-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.4rem;
}

.group-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
    flex: 1;
}

.group-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: var(--secondary);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.group-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
    background: var(--primary-extra-light);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.group-description {
    margin-bottom: 0.8rem;
    color: #495057;
    line-height: 1.4;
    flex: 1;
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.group-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

.group-actions .btn {
    flex: 1;
    min-width: 80px;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
}

/* Group Page Header - УБРАНО КОРИЧНЕВОЕ ЗАЛИТИЕ */
.group-header-page {
    background: transparent;
    padding: 0.8rem 0 1rem;
    margin-bottom: 1rem;
}

.group-header-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative; /* Фиксируем позицию */
    z-index: 1;
}

.group-back-btn {
    color: var(--primary-dark);
    background: var(--primary-extra-light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 0.9rem;
}

.group-back-btn:hover {
    background: var(--primary-light);
    color: white;
}

.group-page-title {
    flex: 1;
}

.group-page-title h1 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.group-page-title p {
    color: var(--secondary);
    font-size: 0.8rem;
    line-height: 1.3;
}

.group-role-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.2rem;
    max-width: 400px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--primary-extra-light);
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--secondary);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-extra-light);
    color: var(--primary-dark);
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--primary-extra-light);
    margin-bottom: 1rem;
    gap: 0.2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 0.6rem 0.9rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.tab-btn.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
    background: var(--primary-extra-light);
}

.tab-content {
    display: none;
    animation: fadeIn 0.2s ease-out;
}

.tab-content.active {
    display: block;
}

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

.empty-state-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    opacity: 0.2;
    color: var(--primary);
}

.empty-state h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
    font-weight: 600;
}

.empty-state p {
    font-size: 0.85rem;
    max-width: 250px;
    margin: 0 auto;
}

/* Notifications */
.notification {
    position: fixed;
    top: 70px;
    right: 10px;
    padding: 0.6rem 1rem;
    color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    z-index: 2000;
    animation: slideInRight 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 300px;
    font-size: 0.85rem;
    font-weight: 500;
}

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

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

.notification.success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.95) 0%, rgba(33, 136, 56, 0.95) 100%);
}

.notification.error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(200, 35, 51, 0.95) 100%);
}

.notification.info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.95) 0%, rgba(19, 132, 150, 0.95) 100%);
}

/* Login page styles */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f5f0 0%, #e8e0d0 100%);
}

.login-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    width: 100%;
    max-width: 320px;
    box-shadow: var(--box-shadow-hover);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    animation: fadeIn 0.3s ease-out;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
}

.login-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(169, 143, 113, 0.3);
}

.login-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.login-description {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-size: 0.9rem;
}

.login-button {
    background: var(--gradient-primary);
    color: white;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 42px;
    box-shadow: 0 4px 12px rgba(169, 143, 113, 0.3);
}

.login-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(169, 143, 113, 0.4);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#login-error {
    margin-top: 1rem;
    padding: 0.7rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.1) 100%);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 6px;
    color: #dc3545;
    font-weight: 500;
    font-size: 0.85rem;
    display: none;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.4rem; }
.mt-2 { margin-top: 0.8rem; }
.mt-3 { margin-top: 1.2rem; }
.mt-4 { margin-top: 1.6rem; }
.mb-1 { margin-bottom: 0.4rem; }
.mb-2 { margin-bottom: 0.8rem; }
.mb-3 { margin-bottom: 1.2rem; }
.mb-4 { margin-bottom: 1.6rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }

.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-secondary { color: var(--secondary); }

.bg-light { background: var(--primary-extra-light); }
.bg-white { background: white; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.4rem; }
.gap-2 { gap: 0.8rem; }

.rounded { border-radius: var(--border-radius); }

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}