/* _content/RFGMasterServer/Pages/Avances.razor.rz.scp.css */
/* ===== ОСНОВНЫЕ СТИЛИ ===== */




/* Контейнер страницы */
.avances-container[b-hxh214npn4] {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Заголовок страницы */
.page-header[b-hxh214npn4] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem 1rem 1.5rem !important;
    border-bottom: 2px solid #e9ecef !important;
}

.page-header h1[b-hxh214npn4] {
    color: #333 !important;
    margin: 0 !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
}

/* Статистика */
.avances-stats[b-hxh214npn4] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem !important;
}

.stat-item[b-hxh214npn4] {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
}

.stat-item:hover[b-hxh214npn4] {
    transform: translateY(-2px) !important;
}

.stat-number[b-hxh214npn4] {
    display: block !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #4f46e5 !important;
    margin-bottom: 0.5rem !important;
}

.stat-label[b-hxh214npn4] {
    display: block !important;
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

/* Фильтры */
.avances-filters[b-hxh214npn4] {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    margin-bottom: 2rem !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.avances-filters .form-label[b-hxh214npn4] {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
}

.avances-filters .form-control[b-hxh214npn4],
.avances-filters .form-select[b-hxh214npn4] {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    transition: border-color 0.2s ease !important;
} 

.avances-filters .form-control:focus[b-hxh214npn4],
.avances-filters .form-select:focus[b-hxh214npn4] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

/* Таблица */
.table-responsive[b-hxh214npn4] {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.table[b-hxh214npn4] {
    margin-bottom: 0 !important;
}

.table th[b-hxh214npn4] {
    background-color: #f8fafc !important;
    border: none !important;
    font-weight: 600 !important;
    color: #374151 !important;
    padding: 1rem !important;
    font-size: 0.9rem !important;
}

.table td[b-hxh214npn4] {
    padding: 1rem !important;
    vertical-align: middle !important;
    border-top: 1px solid #f1f5f9 !important;
}

.table th.sortable[b-hxh214npn4] {
    cursor: pointer !important;
    user-select: none !important;
    transition: background-color 0.2s ease !important;
}

.table th.sortable:hover[b-hxh214npn4] {
    background-color: #e2e8f0 !important;
}

.sort-indicator[b-hxh214npn4] {
    margin-left: 0.5rem !important;
    font-weight: bold !important;
    color: #4f46e5 !important;
}

.table-row-clickable[b-hxh214npn4] {
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.table-row-clickable:hover[b-hxh214npn4] {
    background-color: #f8fafc !important;
}

/* Статусы */
.signature-status[b-hxh214npn4] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.badge[b-hxh214npn4] {
    font-size: 0.75rem !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

/* Мобильные карточки */
.avances-cards-container[b-hxh214npn4] {
    display: none !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem !important;
}

.avance-card[b-hxh214npn4] {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    padding: 1rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.avance-card:hover[b-hxh214npn4] {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    border-color: #4f46e5 !important;
}

.avance-info[b-hxh214npn4] {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.avance-details[b-hxh214npn4] {
    flex: 1 !important;
    min-width: 0 !important;
}

.avance-user-amount[b-hxh214npn4] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
}

.avance-user[b-hxh214npn4] {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    line-height: 1.2 !important;
}

.avance-amount[b-hxh214npn4] {
    font-size: 1.1rem !important;
    color: #28a745 !important;
    font-weight: 600 !important;
}

.avance-date-status[b-hxh214npn4] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
}

.avance-date[b-hxh214npn4] {
    font-size: 0.85rem !important;
    color: #666 !important;
    font-weight: 500 !important;
}

/* Пустое состояние */
.empty-state[b-hxh214npn4] {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon[b-hxh214npn4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: white;
}

.empty-state-icon .oi[b-hxh214npn4] {
    font-size: 2.5rem;
}

.empty-state h3[b-hxh214npn4] {
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state p[b-hxh214npn4] {
    color: #6b7280;
    margin: 0;
}

/* Загрузка */
.loading-container[b-hxh214npn4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.loading-spinner[b-hxh214npn4] {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.loading-spinner.gradient[b-hxh214npn4] {
    border-radius: 50%;
    background: conic-gradient(#0000 10%, #4f46e5);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 4px), #000 0);
    animation: spin-b-hxh214npn4 1s infinite linear;
}

@keyframes spin-b-hxh214npn4 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p[b-hxh214npn4] {
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* ===== МОБИЛЬНЫЕ СТИЛИ ===== */

@media (max-width: 768px) {
    /* Контейнер */
    .avances-container[b-hxh214npn4] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    /* Заголовок */
    .page-header[b-hxh214npn4] {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
        padding: 0 1rem 1rem 1rem !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
    }

    .page-header h1[b-hxh214npn4] {
        font-size: 1.5rem !important;
    }

    /* Статистика */
    .avances-stats[b-hxh214npn4] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
        
    }

    .stat-item[b-hxh214npn4] {
        padding: 1rem !important;
    }

    .stat-number[b-hxh214npn4] {
        font-size: 1.5rem !important;
    }

    .stat-label[b-hxh214npn4] {
        font-size: 0.8rem !important;
    }

    /* Фильтры */
    .avances-filters[b-hxh214npn4] {
        padding: 1rem !important;
        margin-bottom: 1.5rem !important;
       
    }

    .avances-filters .row[b-hxh214npn4] {
        margin: 0 !important;
    }

    .avances-filters .col-6[b-hxh214npn4],
    .avances-filters .col-12[b-hxh214npn4] {
        padding: 0.5rem 0 !important;
    }

    /* Скрываем таблицу на мобильных */
    .table-responsive[b-hxh214npn4] {
        display: none !important;
    }

    /* Показываем мобильные карточки */
    .avances-cards-container[b-hxh214npn4] {
        display: flex !important;
        
    }

    .avance-card[b-hxh214npn4] {
        padding: 1rem !important;
        
    }

    .avance-info[b-hxh214npn4] {
        gap: 0.75rem !important;
    }

    .avance-user[b-hxh214npn4] {
        font-size: 0.95rem !important;
    }

    .avance-amount[b-hxh214npn4] {
        font-size: 1rem !important;
    }

    .avance-date[b-hxh214npn4] {
        font-size: 0.8rem !important;
    }

    .avance-date-status[b-hxh214npn4] {
        gap: 0.375rem !important;
    }

    .badge[b-hxh214npn4] {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
    }
}

@media (max-width: 480px) {
    /* Контейнер */
    .avances-container[b-hxh214npn4] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    /* Заголовок */
    .page-header h1[b-hxh214npn4] {
        font-size: 1.3rem !important;
    }

    .page-header[b-hxh214npn4] {
        padding: 0 0.75rem 0.75rem 0.75rem !important;
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
    }

    /* Статистика */
    .avances-stats[b-hxh214npn4] {
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
        
        
    }

    .stat-item[b-hxh214npn4] {
        padding: 0.75rem !important;
    }

    .stat-number[b-hxh214npn4] {
        font-size: 1.25rem !important;
    }

    .stat-label[b-hxh214npn4] {
        font-size: 0.75rem !important;
    }

    /* Фильтры */
    .avances-filters[b-hxh214npn4] {
        
        margin-bottom: 1rem !important;
        
    }

    /* Карточки */
    .avances-cards-container[b-hxh214npn4] {
        gap: 0.75rem !important;
       
    }

    .avance-card[b-hxh214npn4] {
        padding: 0.75rem !important;
        
    }

    .avance-info[b-hxh214npn4] {
        gap: 0.5rem !important;
    }

    .avance-user[b-hxh214npn4] {
        font-size: 0.9rem !important;
    }

    .avance-amount[b-hxh214npn4] {
        font-size: 0.95rem !important;
    }

    .avance-date[b-hxh214npn4] {
        font-size: 0.75rem !important;
    }

    .badge[b-hxh214npn4] {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.4rem !important;
    }
}

@media (max-width: 360px) {
    /* Контейнер */
    .avances-container[b-hxh214npn4] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    /* Заголовок */
    .page-header h1[b-hxh214npn4] {
        font-size: 1.2rem !important;
    }

    .page-header[b-hxh214npn4] {
        padding: 0 0.5rem 0.5rem 0.5rem !important;
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }

    /* Статистика */
    .avances-stats[b-hxh214npn4] {
        gap: 0.5rem !important;
        
        
    }

    .stat-item[b-hxh214npn4] {
        padding: 0.625rem !important;
    }

    .stat-number[b-hxh214npn4] {
        font-size: 1.1rem !important;
    }

    .stat-label[b-hxh214npn4] {
        font-size: 0.7rem !important;
    }

    /* Фильтры */
    .avances-filters[b-hxh214npn4] {
        padding: 0.625rem !important;
       
    }

    /* Карточки */
    .avances-cards-container[b-hxh214npn4] {
        gap: 0.5rem !important;
        
        
    }

    .avance-card[b-hxh214npn4] {
        padding: 0.625rem !important;
        
    }

    .avance-user[b-hxh214npn4] {
        font-size: 0.85rem !important;
    }

    .avance-amount[b-hxh214npn4] {
        font-size: 0.9rem !important;
    }

    .avance-date[b-hxh214npn4] {
        font-size: 0.7rem !important;
    }

    .badge[b-hxh214npn4] {
        font-size: 0.6rem !important;
        padding: 0.15rem 0.3rem !important;
    }
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */

/* Оверлей */
.avance-settings-overlay[b-hxh214npn4] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    animation: fadeIn-b-hxh214npn4 0.3s ease-out;
}

/* Модальное окно */
.avance-settings-modal[b-hxh214npn4] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp-b-hxh214npn4 0.3s ease-out;
    position: relative;
}

/* Заголовок модального окна */
.avance-settings-header[b-hxh214npn4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.avance-settings-title[b-hxh214npn4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avance-settings-icon[b-hxh214npn4] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.avance-settings-icon .oi[b-hxh214npn4] {
    font-size: 1.2rem;
}

.avance-settings-title h3[b-hxh214npn4] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.avance-settings-close[b-hxh214npn4] {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.avance-settings-close:hover[b-hxh214npn4] {
    background: #e9ecef;
    color: #333;
    transform: scale(1.1);
}

/* Содержимое модального окна */
.avance-settings-content[b-hxh214npn4] {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.avance-info-card[b-hxh214npn4] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.avance-info-header[b-hxh214npn4] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.avance-user-info[b-hxh214npn4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.avance-user-avatar[b-hxh214npn4] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.avance-user-details h4[b-hxh214npn4] {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.avance-date[b-hxh214npn4] {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.avance-amount-display[b-hxh214npn4] {
    text-align: right;
}

.amount-value[b-hxh214npn4] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.avance-details-grid[b-hxh214npn4] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item[b-hxh214npn4] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.detail-label[b-hxh214npn4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    min-width: 80px;
    flex-shrink: 0;
}

.detail-label .oi[b-hxh214npn4] {
    color: #6c757d;
    font-size: 0.8rem;
}

.detail-value[b-hxh214npn4] {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* Анимации */
@keyframes fadeIn-b-hxh214npn4 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-hxh214npn4 {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
    .avance-settings-overlay[b-hxh214npn4] {
        padding: 0.5rem;
    }
    
    .avance-settings-modal[b-hxh214npn4] {
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .avance-settings-header[b-hxh214npn4] {
        padding: 1.25rem 1.25rem 1rem 1.25rem;
    }
    
    .avance-settings-title h3[b-hxh214npn4] {
        font-size: 1.1rem;
    }
    
    .avance-settings-icon[b-hxh214npn4] {
        width: 36px;
        height: 36px;
    }
    
    .avance-settings-icon .oi[b-hxh214npn4] {
        font-size: 1.1rem;
    }
    
    .avance-settings-content[b-hxh214npn4] {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }
    
    .avance-info-card[b-hxh214npn4] {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .avance-user-avatar[b-hxh214npn4] {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .avance-user-details h4[b-hxh214npn4] {
        font-size: 1rem;
    }
    
    .amount-value[b-hxh214npn4] {
        font-size: 1.3rem;
        padding: 0.4rem 0.8rem;
    }
    
    .detail-item[b-hxh214npn4] {
        padding: 0.625rem;
        border-radius: 10px;
    }
    
    .detail-label[b-hxh214npn4] {
        font-size: 0.85rem;
        min-width: 70px;
    }
    
    .detail-value[b-hxh214npn4] {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .avance-settings-overlay[b-hxh214npn4],
    .add-avance-overlay[b-hxh214npn4] {
        padding: 0.25rem;
    }
    
    .avance-settings-modal[b-hxh214npn4],
    .add-avance-modal[b-hxh214npn4] {
        border-radius: 12px;
    }
    
    .avance-settings-header[b-hxh214npn4],
    .add-avance-header[b-hxh214npn4] {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .avance-settings-title h3[b-hxh214npn4],
    .add-avance-title h3[b-hxh214npn4] {
        font-size: 1rem;
    }
    
    .avance-settings-icon[b-hxh214npn4],
    .add-avance-icon[b-hxh214npn4] {
        width: 32px;
        height: 32px;
    }
    
    .avance-settings-icon .oi[b-hxh214npn4],
    .add-avance-icon .oi[b-hxh214npn4] {
        font-size: 1rem;
    }
    
    .avance-settings-content[b-hxh214npn4],
    .add-avance-content[b-hxh214npn4] {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    .avance-info-card[b-hxh214npn4] {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .avance-user-avatar[b-hxh214npn4] {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .avance-user-details h4[b-hxh214npn4] {
        font-size: 0.95rem;
    }
    
    .amount-value[b-hxh214npn4] {
        font-size: 1.2rem;
        padding: 0.35rem 0.7rem;
    }
    
    .detail-item[b-hxh214npn4] {
        padding: 0.5rem;
        border-radius: 8px;
    }
    
    .detail-label[b-hxh214npn4] {
        font-size: 0.8rem;
        min-width: 65px;
    }
    
    .detail-value[b-hxh214npn4] {
        font-size: 0.8rem;
    }
} 

/* ===== МОДАЛЬНОЕ ОКНО ДОБАВЛЕНИЯ АВАНСА ===== */

/* Оверлей для добавления аванса */
.add-avance-overlay[b-hxh214npn4] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    animation: fadeIn-b-hxh214npn4 0.3s ease-out;
}

/* Модальное окно добавления аванса */
.add-avance-modal[b-hxh214npn4] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp-b-hxh214npn4 0.3s ease-out;
    position: relative;
}

/* Заголовок модального окна добавления */
.add-avance-header[b-hxh214npn4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.add-avance-title[b-hxh214npn4] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.add-avance-icon[b-hxh214npn4] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.add-avance-icon .oi[b-hxh214npn4] {
    font-size: 1.2rem;
}

.add-avance-title h3[b-hxh214npn4] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.add-avance-close[b-hxh214npn4] {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.add-avance-close:hover[b-hxh214npn4] {
    background: #e9ecef;
    color: #333;
    transform: scale(1.1);
}

/* Содержимое модального окна добавления */
.add-avance-content[b-hxh214npn4] {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.form-section[b-hxh214npn4] {
    margin-bottom: 1.5rem;
}

.form-section h4[b-hxh214npn4] {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h4[b-hxh214npn4]::before {
    content: "📝";
    font-size: 1rem;
}

.form-grid[b-hxh214npn4] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group[b-hxh214npn4] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label[b-hxh214npn4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.form-label .oi[b-hxh214npn4] {
    color: #6c757d;
    font-size: 0.8rem;
}

.form-select[b-hxh214npn4],
.form-control[b-hxh214npn4] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-select:focus[b-hxh214npn4],
.form-control:focus[b-hxh214npn4] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
    outline: none;
}

/* Стили для разделителя в select */
.form-select option[disabled][b-hxh214npn4] {
    background-color: #f8f9fa;
    color: #6c757d;
    font-style: italic;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem;
}

/* Стили для optgroup в select */
.form-select optgroup[b-hxh214npn4] {
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.form-select optgroup option[b-hxh214npn4] {
    font-weight: normal;
    color: #333;
    padding-left: 1rem;
}

.add-avance-actions[b-hxh214npn4] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.action-btn[b-hxh214npn4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.action-btn.cancel[b-hxh214npn4] {
    background: #f8f9fa;
    color: #6c757d;
}

.action-btn.cancel:hover[b-hxh214npn4] {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

.action-btn.add[b-hxh214npn4] {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.action-btn.add:hover[b-hxh214npn4] {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Анимации */
@keyframes fadeIn-b-hxh214npn4 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-hxh214npn4 {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
    .avance-settings-overlay[b-hxh214npn4],
    .add-avance-overlay[b-hxh214npn4] {
        padding: 0.5rem;
    }
    
    .avance-settings-modal[b-hxh214npn4],
    .add-avance-modal[b-hxh214npn4] {
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .avance-settings-header[b-hxh214npn4],
    .add-avance-header[b-hxh214npn4] {
        padding: 1.25rem 1.25rem 1rem 1.25rem;
    }
    
    .avance-settings-title h3[b-hxh214npn4],
    .add-avance-title h3[b-hxh214npn4] {
        font-size: 1.1rem;
    }
    
    .avance-settings-icon[b-hxh214npn4],
    .add-avance-icon[b-hxh214npn4] {
        width: 36px;
        height: 36px;
    }
    
    .avance-settings-icon .oi[b-hxh214npn4],
    .add-avance-icon .oi[b-hxh214npn4] {
        font-size: 1.1rem;
    }
    
    .avance-settings-content[b-hxh214npn4],
    .add-avance-content[b-hxh214npn4] {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }
    
    .avance-info-card[b-hxh214npn4] {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .avance-user-avatar[b-hxh214npn4] {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .avance-user-details h4[b-hxh214npn4] {
        font-size: 1rem;
    }
    
    .amount-value[b-hxh214npn4] {
        font-size: 1.3rem;
        padding: 0.4rem 0.8rem;
    }
    
    .detail-item[b-hxh214npn4] {
        padding: 0.625rem;
        border-radius: 10px;
    }
    
    .detail-label[b-hxh214npn4] {
        font-size: 0.85rem;
        min-width: 70px;
    }
    
    .detail-value[b-hxh214npn4] {
        font-size: 0.85rem;
    }
    
    .form-grid[b-hxh214npn4] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .form-section h4[b-hxh214npn4] {
        font-size: 1rem;
    }
    
    .form-label[b-hxh214npn4] {
        font-size: 0.85rem;
    }
    
    .form-select[b-hxh214npn4],
    .form-control[b-hxh214npn4] {
        padding: 0.625rem;
        font-size: 0.85rem;
    }
    
    .add-avance-actions[b-hxh214npn4] {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-btn[b-hxh214npn4] {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .avance-settings-overlay[b-hxh214npn4],
    .add-avance-overlay[b-hxh214npn4] {
        padding: 0.25rem;
    }
    
    .avance-settings-modal[b-hxh214npn4],
    .add-avance-modal[b-hxh214npn4] {
        border-radius: 12px;
    }
    
    .avance-settings-header[b-hxh214npn4],
    .add-avance-header[b-hxh214npn4] {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .avance-settings-title h3[b-hxh214npn4],
    .add-avance-title h3[b-hxh214npn4] {
        font-size: 1rem;
    }
    
    .avance-settings-icon[b-hxh214npn4],
    .add-avance-icon[b-hxh214npn4] {
        width: 32px;
        height: 32px;
    }
    
    .avance-settings-icon .oi[b-hxh214npn4],
    .add-avance-icon .oi[b-hxh214npn4] {
        font-size: 1rem;
    }
    
    .avance-settings-content[b-hxh214npn4],
    .add-avance-content[b-hxh214npn4] {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    .avance-info-card[b-hxh214npn4] {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .avance-user-avatar[b-hxh214npn4] {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .avance-user-details h4[b-hxh214npn4] {
        font-size: 0.95rem;
    }
    
    .amount-value[b-hxh214npn4] {
        font-size: 1.2rem;
        padding: 0.35rem 0.7rem;
    }
    
    .detail-item[b-hxh214npn4] {
        padding: 0.5rem;
        border-radius: 8px;
    }
    
    .detail-label[b-hxh214npn4] {
        font-size: 0.8rem;
        min-width: 65px;
    }
    
    .detail-value[b-hxh214npn4] {
        font-size: 0.8rem;
    }
    
    .form-section h4[b-hxh214npn4] {
        font-size: 0.95rem;
    }
    
    .form-label[b-hxh214npn4] {
        font-size: 0.8rem;
    }
    
    .form-select[b-hxh214npn4],
    .form-control[b-hxh214npn4] {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .action-btn[b-hxh214npn4] {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
} 
/* _content/RFGMasterServer/Pages/Dashboard.razor.rz.scp.css */
/* Dashboard стили - компактная версия */
.dashboard-container[b-cfxgurllke] {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.dashboard-header[b-cfxgurllke] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem 1rem 1.5rem !important;
    border-bottom: 2px solid #e9ecef !important;
}

.dashboard-header h1[b-cfxgurllke] {
    color: #333 !important;
    margin: 0 !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
}

.user-info[b-cfxgurllke] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info span[b-cfxgurllke] {
    font-size: 1.1rem;
    opacity: 0.9;
}

.welcome-text[b-cfxgurllke] {
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
}

/* Dashboard статистика - компактная */
.dashboard-stats[b-cfxgurllke],
.stats-grid[b-cfxgurllke] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem !important;
}

/* Панель активных смен - десктопная версия */
.active-sessions-panel[b-cfxgurllke] {
    margin: 0 1.5rem 2rem 1.5rem !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    border: 1px solid #e9ecef !important;
}

.panel-header[b-cfxgurllke] {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    padding: 1.5rem !important;
    border-radius: 12px 12px 0 0 !important;
}

.header-content[b-cfxgurllke] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.header-content h3[b-cfxgurllke] {
    font-size: 1.4rem !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.header-badge[b-cfxgurllke] {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.2rem !important;
}

.badge-count[b-cfxgurllke] {
    font-weight: bold !important;
    font-size: 1.2rem !important;
}

.badge-label[b-cfxgurllke] {
    font-size: 0.75rem !important;
    opacity: 0.9 !important;
}

.sessions-grid[b-cfxgurllke] {
    padding: 1.5rem !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 1.5rem !important;
}

.site-card[b-cfxgurllke] {
    background: #f8f9fa !important;
    border-radius: 10px !important;
    border: 1px solid #e9ecef !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.site-card:hover[b-cfxgurllke] {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
}

.site-card-header[b-cfxgurllke] {
    background: white !important;
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid #e9ecef !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.site-info[b-cfxgurllke] {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.site-details[b-cfxgurllke] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.site-name[b-cfxgurllke] {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #495057 !important;
}

.site-location[b-cfxgurllke] {
    font-size: 0.85rem !important;
    color: #6c757d !important;
    font-weight: 500 !important;
}

.site-stats[b-cfxgurllke] {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.workers-count[b-cfxgurllke] {
    text-align: center !important;
    background: #e9ecef !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    min-width: 80px !important;
}

.count-number[b-cfxgurllke] {
    display: block !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: #495057 !important;
}

.count-label[b-cfxgurllke] {
    font-size: 0.8rem !important;
    color: #6c757d !important;
    font-weight: 500 !important;
}

.workers-list[b-cfxgurllke] {
    padding: 1rem 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.worker-item[b-cfxgurllke] {
    background: white !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    border: 1px solid #e9ecef !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.worker-item:hover[b-cfxgurllke] {
    transform: translateX(4px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.worker-avatar[b-cfxgurllke] {
    width: 40px !important;
    height: 40px !important;
    background: #007bff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.avatar-icon[b-cfxgurllke] {
    width: 20px !important;
    height: 20px !important;
    fill: white !important;
}

.worker-details[b-cfxgurllke] {
    flex: 1 !important;
    min-width: 0 !important;
}

.worker-name[b-cfxgurllke] {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #495057 !important;
    margin-bottom: 0.25rem !important;
}

.worker-meta[b-cfxgurllke] {
    display: flex !important;
    gap: 1rem !important;
    font-size: 0.85rem !important;
    color: #6c757d !important;
    align-items: center !important;
}

.start-time[b-cfxgurllke] {
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

.shift-duration[b-cfxgurllke] {
    background: #e9ecef !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
    color: #495057 !important;
}

.worker-status[b-cfxgurllke] {
    flex-shrink: 0 !important;
}

.status-indicator.active[b-cfxgurllke] {
    width: 12px !important;
    height: 12px !important;
    background: #28a745 !important;
    border-radius: 50% !important;
    animation: pulse-green-b-cfxgurllke 2s infinite !important;
}

@keyframes pulse-green-b-cfxgurllke {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Состояние загрузки */
.loading-container[b-cfxgurllke] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem 1.5rem !important;
    color: #6c757d !important;
}

.loading-spinner[b-cfxgurllke] {
    width: 40px !important;
    height: 40px !important;
    border: 4px solid #f3f3f3 !important;
    border-top: 4px solid #007bff !important;
    border-radius: 50% !important;
    animation: spin-b-cfxgurllke 1s linear infinite !important;
    margin-bottom: 1rem !important;
}

.loading-spinner.gradient[b-cfxgurllke] {
    border: 4px solid #f3f3f3 !important;
    border-top: 4px solid transparent !important;
    background: linear-gradient(45deg, #007bff, #28a745, #ffc107, #dc3545) !important;
    background-size: 400% 400% !important;
    animation: spin-b-cfxgurllke 1s linear infinite, gradient-shift-b-cfxgurllke 3s ease infinite !important;
}

@keyframes spin-b-cfxgurllke {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gradient-shift-b-cfxgurllke {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Пустое состояние */
.empty-state[b-cfxgurllke] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem 1.5rem !important;
    text-align: center !important;
    color: #6c757d !important;
}

.empty-icon[b-cfxgurllke] {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    opacity: 0.5 !important;
}

.empty-content h4[b-cfxgurllke] {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
    color: #495057 !important;
}

.empty-content p[b-cfxgurllke] {
    font-size: 0.9rem !important;
    margin: 0 !important;
    opacity: 0.8 !important;
}

/* Карточки последних смен - десктопная версия */
.recent-activity-modern[b-cfxgurllke] {
    margin: 0 1.5rem 2rem 1.5rem !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    border: 1px solid #e9ecef !important;
}

.activity-header[b-cfxgurllke] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    padding: 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.activity-header h3[b-cfxgurllke] {
    font-size: 1.4rem !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.activity-count[b-cfxgurllke] {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.sessions-timeline[b-cfxgurllke] {
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.session-card[b-cfxgurllke] {
    background: #f8f9fa !important;
    border-radius: 10px !important;
    border: 1px solid #e9ecef !important;
    padding: 1rem 1.5rem !important;
    display: flex !important;
    gap: 1rem !important;
    align-items: flex-start !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.session-card:hover[b-cfxgurllke] {
    transform: translateX(4px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.session-indicator[b-cfxgurllke] {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.session-dot[b-cfxgurllke] {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: #28a745 !important;
}

.session-dot.completed[b-cfxgurllke] {
    background: #6c757d !important;
}

.session-line[b-cfxgurllke] {
    width: 3px !important;
    height: 30px !important;
    background: #e9ecef !important;
}

.session-content[b-cfxgurllke] {
    flex: 1 !important;
    min-width: 0 !important;
}

.session-main[b-cfxgurllke] {
    margin-bottom: 0.75rem !important;
}

.session-site[b-cfxgurllke] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

.site-icon[b-cfxgurllke] {
    font-size: 1.2rem !important;
}

.session-site strong[b-cfxgurllke] {
    font-size: 1.1rem !important;
    color: #495057 !important;
    font-weight: 600 !important;
}

.session-meta[b-cfxgurllke] {
    display: flex !important;
    gap: 1rem !important;
    font-size: 0.9rem !important;
    color: #6c757d !important;
    align-items: center !important;
}

.session-details[b-cfxgurllke] {
    display: flex !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

.detail-item[b-cfxgurllke] {
    background: white !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    border: 1px solid #e9ecef !important;
    font-weight: 500 !important;
}

.detail-item.earning[b-cfxgurllke] {
    background: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #155724 !important;
}

.detail-icon[b-cfxgurllke] {
    font-size: 1rem !important;
}

.earning-amount[b-cfxgurllke] {
    font-weight: 600 !important;
}

/* Пустое состояние для последних смен */
.empty-state-modern[b-cfxgurllke] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem 1.5rem !important;
    text-align: center !important;
    color: #6c757d !important;
}

.empty-state-modern .empty-icon[b-cfxgurllke] {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    opacity: 0.5 !important;
}

.empty-state-modern p[b-cfxgurllke] {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    color: #495057 !important;
    font-weight: 500 !important;
}

.empty-state-modern small[b-cfxgurllke] {
    font-size: 0.85rem !important;
    opacity: 0.7 !important;
}

/* Персональная статистика пользователя - десктопная версия */
.personal-stats[b-cfxgurllke] {
    margin: 0 1.5rem 2rem 1.5rem !important;
}

.personal-stats h3[b-cfxgurllke] {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #495057 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #e9ecef !important;
}

.stat-card[b-cfxgurllke] {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
    border: 1px solid #e9ecef;
}

.stat-card:hover[b-cfxgurllke] {
    transform: translateY(-2px) !important;
}

.admin-dashboard .stat-card[b-cfxgurllke] {
    background: white !important;
    border: 1px solid #e9ecef;
}

.admin-dashboard .stat-info[b-cfxgurllke] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-dashboard .stat-info h3[b-cfxgurllke] {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #495057 !important;
}

.admin-dashboard .stat-info small[b-cfxgurllke] {
    font-size: 0.85rem !important;
    color: #6c757d !important;
    font-weight: 500 !important;
}

.user-dashboard .stat-card[b-cfxgurllke] {
    background: white !important;
}

.user-dashboard .stat-info h3[b-cfxgurllke] {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #495057 !important;
}

.user-dashboard .stat-info small[b-cfxgurllke] {
    font-size: 0.85rem !important;
    color: #6c757d !important;
}

.stat-number[b-cfxgurllke] {
    display: block !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #4f46e5 !important;
    margin-bottom: 0.5rem !important;
}

.stat-label[b-cfxgurllke] {
    display: block !important;
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.stat-card[style*="background"] h3[b-cfxgurllke],
.stat-card[style*="background"] .stat-number[b-cfxgurllke] {
    color: white;
}

.stat-card[style*="background"] .stat-label[b-cfxgurllke] {
    color: rgba(255, 255, 255, 0.8);
}

/* Быстрые действия - компактные */
.quick-actions[b-cfxgurllke] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem !important;
}

.action-button[b-cfxgurllke] {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.action-button:hover[b-cfxgurllke] {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Контейнеры для разных секций */
.sites-container[b-cfxgurllke], .work-types-container[b-cfxgurllke], .avances-container[b-cfxgurllke] {
    margin-bottom: 2rem;
    padding: 0 1.5rem;
}

/* Верхняя панель режима для админов - компактная */
.top-mode-bar[b-cfxgurllke] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    margin-bottom: 1rem !important;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2) !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.mode-switcher-top[b-cfxgurllke] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

.mode-label[b-cfxgurllke] {
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

.mode-toggle-top[b-cfxgurllke] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.toggle-switch-top[b-cfxgurllke] {
    position: relative !important;
    display: inline-block !important;
    width: 50px !important;
    height: 24px !important;
}

.toggle-switch-top input[b-cfxgurllke] {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.slider-top[b-cfxgurllke] {
    position: absolute !important;
    cursor: pointer !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    transition: 0.4s !important;
    border-radius: 24px !important;
}

.slider-top[b-cfxgurllke]:before {
    position: absolute !important;
    content: "" !important;
    height: 18px !important;
    width: 18px !important;
    left: 3px !important;
    bottom: 3px !important;
    background-color: white !important;
    transition: 0.4s !important;
    border-radius: 50% !important;
}

input:checked + .toggle-switch-top .slider-top[b-cfxgurllke] {
    background-color: #fff !important;
}

input:checked + .toggle-switch-top .slider-top[b-cfxgurllke]:before {
    transform: translateX(26px) !important;
}

.mode-text-top[b-cfxgurllke] {
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    min-width: 120px !important;
    text-align: center !important;
}

/* Полоса статуса сессии - компактная */
.active-session-bar[b-cfxgurllke] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2) !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.inactive-session-bar[b-cfxgurllke] {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    color: white !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 2px 10px rgba(108, 117, 125, 0.2) !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.session-info-compact[b-cfxgurllke] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
}

.session-status[b-cfxgurllke] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex: 1 !important;
}

.status-indicator[b-cfxgurllke] {
    width: 12px !important;
    height: 12px !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    animation: pulse-white-b-cfxgurllke 2s infinite !important;
}

@keyframes pulse-white-b-cfxgurllke {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.session-details[b-cfxgurllke] {
    flex: 1 !important;
}

.session-header[b-cfxgurllke] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.session-details strong[b-cfxgurllke] {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.session-details small[b-cfxgurllke] {
    font-size: 0.85rem !important;
    opacity: 0.9 !important;
}

.session-actions-compact .btn[b-cfxgurllke] {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

.session-actions-compact .btn:hover[b-cfxgurllke] {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Неактивная сессия */
.inactive-session-bar .session-info-compact[b-cfxgurllke] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
}

.inactive-session-bar .session-status[b-cfxgurllke] {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex: 1 !important;
}

.inactive-session-bar .status-indicator.inactive[b-cfxgurllke] {
    width: 12px !important;
    height: 12px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    animation: none !important;
}

.inactive-session-bar .session-details strong[b-cfxgurllke] {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.inactive-session-bar .session-details small[b-cfxgurllke] {
    font-size: 0.85rem !important;
    opacity: 0.7 !important;
}

/* Элементы управления началом сессии */
.start-session-controls[b-cfxgurllke] {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.start-session-controls .form-select-sm[b-cfxgurllke] {
    min-width: 200px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.start-session-controls .btn-success[b-cfxgurllke] {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.start-session-controls .btn-success:hover:not(:disabled)[b-cfxgurllke] {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-1px) !important;
}

.start-session-controls .btn-success:disabled[b-cfxgurllke] {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Модальные окна */
.modal-backdrop[b-cfxgurllke] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1050 !important;
    animation: modalSlideIn-b-cfxgurllke 0.3s ease-out !important;
}

@keyframes modalSlideIn-b-cfxgurllke {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-dialog[b-cfxgurllke] {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    max-width: 500px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
}

.modal-content[b-cfxgurllke] {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.modal-header[b-cfxgurllke] {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.5rem !important;
    border-bottom: none !important;
}

.modal-title[b-cfxgurllke] {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.btn-close[b-cfxgurllke] {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 1.5rem !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.btn-close:hover[b-cfxgurllke] {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.btn-close[b-cfxgurllke]::before {
    content: "×" !important;
}

.modal-body[b-cfxgurllke] {
    padding: 1.5rem !important;
}

.modal-body p[b-cfxgurllke] {
    margin-bottom: 1rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

.modal-footer[b-cfxgurllke] {
    padding: 1rem 1.5rem 1.5rem !important;
    border-top: 1px solid #dee2e6 !important;
    display: flex !important;
    gap: 0.75rem !important;
    justify-content: flex-end !important;
}

.modal-footer .btn[b-cfxgurllke] {
    padding: 0.5rem 1.5rem !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .dashboard-container[b-cfxgurllke] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    .dashboard-header[b-cfxgurllke] {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: flex-start !important;
        padding: 0 1rem 1rem 1rem !important;
    }

    .dashboard-header h1[b-cfxgurllke] {
        font-size: 1.5rem !important;
    }

    .user-info[b-cfxgurllke] {
        width: 100% !important;
    }

    .welcome-text[b-cfxgurllke] {
        font-size: 1rem !important;
    }

    /* Карточки статистики в сетке 2x2 */
    .dashboard-stats[b-cfxgurllke],
    .stats-grid[b-cfxgurllke] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 1rem !important;
    }

    .stat-card[b-cfxgurllke] {
        padding: 0.75rem !important;
        min-height: 120px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .stat-number[b-cfxgurllke] {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stat-label[b-cfxgurllke] {
        font-size: 0.7rem !important;
    }

    .admin-dashboard .stat-info h3[b-cfxgurllke],
    .user-dashboard .stat-info h3[b-cfxgurllke] {
        font-size: 1.1rem !important;
        margin-bottom: 0.25rem !important;
    }

    .admin-dashboard .stat-info small[b-cfxgurllke],
    .user-dashboard .stat-info small[b-cfxgurllke] {
        font-size: 0.7rem !important;
    }

    /* Карточки активных смен - компактные */
    .active-sessions-panel[b-cfxgurllke] {
        margin: 1rem !important;
        background: white !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: hidden !important;
    }

    .panel-header[b-cfxgurllke] {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
        color: white !important;
        padding: 1rem !important;
        border-radius: 8px 8px 0 0 !important;
    }

    .header-content[b-cfxgurllke] {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .header-content h3[b-cfxgurllke] {
        font-size: 1.1rem !important;
        margin: 0 !important;
        font-weight: 600 !important;
    }

    .header-badge[b-cfxgurllke] {
        background: rgba(255, 255, 255, 0.2) !important;
        padding: 0.25rem 0.5rem !important;
        border-radius: 12px !important;
        font-size: 0.8rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.1rem !important;
    }

    .badge-count[b-cfxgurllke] {
        font-weight: bold !important;
        font-size: 1rem !important;
    }

    .badge-label[b-cfxgurllke] {
        font-size: 0.6rem !important;
        opacity: 0.9 !important;
    }

    .sessions-grid[b-cfxgurllke] {
        padding: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .site-card[b-cfxgurllke] {
        background: #f8f9fa !important;
        border-radius: 8px !important;
        border: 1px solid #e9ecef !important;
        overflow: hidden !important;
    }

    .site-card-header[b-cfxgurllke] {
        background: white !important;
        padding: 0.75rem !important;
        border-bottom: 1px solid #e9ecef !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .site-name[b-cfxgurllke] {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin: 0 !important;
        color: #495057 !important;
    }

    .site-location[b-cfxgurllke] {
        font-size: 0.7rem !important;
        color: #6c757d !important;
    }

    .workers-count[b-cfxgurllke] {
        text-align: center !important;
        background: #e9ecef !important;
        padding: 0.5rem !important;
        border-radius: 6px !important;
        min-width: 60px !important;
    }

    .count-number[b-cfxgurllke] {
        display: block !important;
        font-size: 1.2rem !important;
        font-weight: bold !important;
        color: #495057 !important;
    }

    .count-label[b-cfxgurllke] {
        font-size: 0.6rem !important;
        color: #6c757d !important;
    }

    .workers-list[b-cfxgurllke] {
        padding: 0.75rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .worker-item[b-cfxgurllke] {
        background: white !important;
        padding: 0.5rem !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        border: 1px solid #e9ecef !important;
    }

    .worker-avatar[b-cfxgurllke] {
        width: 32px !important;
        height: 32px !important;
        background: #007bff !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .avatar-icon[b-cfxgurllke] {
        width: 16px !important;
        height: 16px !important;
        fill: white !important;
    }

    .worker-details[b-cfxgurllke] {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .worker-name[b-cfxgurllke] {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: #495057 !important;
        margin-bottom: 0.1rem !important;
    }

    .worker-meta[b-cfxgurllke] {
        display: flex !important;
        gap: 0.5rem !important;
        font-size: 0.7rem !important;
        color: #6c757d !important;
    }

    .shift-duration[b-cfxgurllke] {
        background: #e9ecef !important;
        padding: 0.1rem 0.3rem !important;
        border-radius: 3px !important;
        font-weight: 500 !important;
    }

    .worker-status[b-cfxgurllke] {
        flex-shrink: 0 !important;
    }

    .status-indicator.active[b-cfxgurllke] {
        width: 8px !important;
        height: 8px !important;
        background: #28a745 !important;
        border-radius: 50% !important;
        animation: pulse-green-b-cfxgurllke 2s infinite !important;
    }

    @keyframes pulse-green-b-cfxgurllke {
        0% { opacity: 1; }
        50% { opacity: 0.5; }
        100% { opacity: 1; }
    }

    /* Карточки последних смен - компактные */
    .recent-activity-modern[b-cfxgurllke] {
        margin: 1rem !important;
        background: white !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        overflow: hidden !important;
    }

    .activity-header[b-cfxgurllke] {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
        color: white !important;
        padding: 1rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .activity-header h3[b-cfxgurllke] {
        font-size: 1.1rem !important;
        margin: 0 !important;
        font-weight: 600 !important;
    }

    .activity-count[b-cfxgurllke] {
        background: rgba(255, 255, 255, 0.2) !important;
        padding: 0.25rem 0.5rem !important;
        border-radius: 12px !important;
        font-size: 0.8rem !important;
        font-weight: 500 !important;
    }

    .sessions-timeline[b-cfxgurllke] {
        padding: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .session-card[b-cfxgurllke] {
        background: #f8f9fa !important;
        border-radius: 8px !important;
        border: 1px solid #e9ecef !important;
        padding: 0.75rem !important;
        display: flex !important;
        gap: 0.75rem !important;
        align-items: flex-start !important;
    }

    .session-indicator[b-cfxgurllke] {
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.25rem !important;
    }

    .session-dot[b-cfxgurllke] {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        background: #28a745 !important;
    }

    .session-dot.completed[b-cfxgurllke] {
        background: #6c757d !important;
    }

    .session-line[b-cfxgurllke] {
        width: 2px !important;
        height: 20px !important;
        background: #e9ecef !important;
    }

    .session-content[b-cfxgurllke] {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .session-main[b-cfxgurllke] {
        margin-bottom: 0.5rem !important;
    }

    .session-site[b-cfxgurllke] {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        margin-bottom: 0.25rem !important;
    }

    .site-icon[b-cfxgurllke] {
        font-size: 1rem !important;
    }

    .session-site strong[b-cfxgurllke] {
        font-size: 0.9rem !important;
        color: #495057 !important;
    }

    .session-meta[b-cfxgurllke] {
        display: flex !important;
        gap: 0.5rem !important;
        font-size: 0.7rem !important;
        color: #6c757d !important;
    }

    .session-details[b-cfxgurllke] {
        display: flex !important;
        gap: 0.5rem !important;
        flex-wrap: wrap !important;
    }

    .detail-item[b-cfxgurllke] {
        background: white !important;
        padding: 0.25rem 0.5rem !important;
        border-radius: 4px !important;
        font-size: 0.7rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
        border: 1px solid #e9ecef !important;
    }

    .detail-item.earning[b-cfxgurllke] {
        background: #d4edda !important;
        border-color: #c3e6cb !important;
        color: #155724 !important;
    }

    .detail-icon[b-cfxgurllke] {
        font-size: 0.8rem !important;
    }

    .earning-amount[b-cfxgurllke] {
        font-weight: 600 !important;
    }

    .start-session-controls[b-cfxgurllke] {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .start-session-controls .form-select-sm[b-cfxgurllke] {
        min-width: auto !important;
    }

    .start-session-controls .btn-success[b-cfxgurllke] {
        width: 100% !important;
    }

    .inactive-session-bar .session-info-compact[b-cfxgurllke] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .top-mode-bar[b-cfxgurllke] {
        padding: 0.5rem !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .mode-switcher-top[b-cfxgurllke] {
        gap: 0.5rem !important;
    }

    .mode-label[b-cfxgurllke] {
        font-size: 0.85rem !important;
    }

    .mode-text-top[b-cfxgurllke] {
        font-size: 0.8rem !important;
        min-width: auto !important;
    }

    .active-session-bar[b-cfxgurllke],
    .inactive-session-bar[b-cfxgurllke] {
        padding: 0.75rem !important;
        margin-bottom: 1rem !important;
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    .session-info-compact[b-cfxgurllke] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .session-status[b-cfxgurllke] {
        gap: 0.5rem !important;
    }

    .session-header[b-cfxgurllke] {
        gap: 0.2rem !important;
    }

    .session-details strong[b-cfxgurllke] {
        font-size: 1rem !important;
    }

    .session-details small[b-cfxgurllke] {
        font-size: 0.8rem !important;
    }

    .session-actions-compact[b-cfxgurllke] {
        display: flex !important;
        gap: 0.5rem !important;
    }

    .session-actions-compact .btn[b-cfxgurllke] {
        flex: 1 !important;
        padding: 0.5rem !important;
        font-size: 0.85rem !important;
    }

    .modal-dialog[b-cfxgurllke] {
        width: 95% !important;
        margin: 1rem !important;
    }

    .modal-header[b-cfxgurllke],
    .modal-body[b-cfxgurllke] {
        padding: 1rem !important;
    }

    .modal-title[b-cfxgurllke] {
        font-size: 1.1rem !important;
    }

    .quick-actions[b-cfxgurllke] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
    }

    .sites-container[b-cfxgurllke], .work-types-container[b-cfxgurllke], .avances-container[b-cfxgurllke] {
        padding: 0 1rem !important;
    }
}

@media (max-width: 480px) {
    .main-content[b-cfxgurllke] {
        margin-left: 0 !important;
    }

    /* Сохраняем сетку 2x2 для карточек статистики */
    .dashboard-stats[b-cfxgurllke],
    .stats-grid[b-cfxgurllke] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0 0.75rem !important;
    }

    .stat-card[b-cfxgurllke] {
        padding: 0.5rem !important;
        min-height: 100px !important;
    }

    .stat-number[b-cfxgurllke] {
        font-size: 1.3rem !important;
        margin-bottom: 0.2rem !important;
    }

    .stat-label[b-cfxgurllke] {
        font-size: 0.65rem !important;
    }

    .admin-dashboard .stat-info h3[b-cfxgurllke],
    .user-dashboard .stat-info h3[b-cfxgurllke] {
        font-size: 1rem !important;
        margin-bottom: 0.2rem !important;
    }

    .admin-dashboard .stat-info small[b-cfxgurllke],
    .user-dashboard .stat-info small[b-cfxgurllke] {
        font-size: 0.65rem !important;
    }

    /* Компактные карточки активных смен */
    .active-sessions-panel[b-cfxgurllke] {
        margin: 0.75rem !important;
    }

    .panel-header[b-cfxgurllke] {
        padding: 0.75rem !important;
    }

    .header-content h3[b-cfxgurllke] {
        font-size: 1rem !important;
    }

    .header-badge[b-cfxgurllke] {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.7rem !important;
    }

    .badge-count[b-cfxgurllke] {
        font-size: 0.9rem !important;
    }

    .badge-label[b-cfxgurllke] {
        font-size: 0.55rem !important;
    }

    .sessions-grid[b-cfxgurllke] {
        padding: 0.75rem !important;
        gap: 0.75rem !important;
    }

    .site-card-header[b-cfxgurllke] {
        padding: 0.5rem !important;
    }

    .site-name[b-cfxgurllke] {
        font-size: 0.9rem !important;
    }

    .site-location[b-cfxgurllke] {
        font-size: 0.65rem !important;
    }

    .workers-count[b-cfxgurllke] {
        padding: 0.4rem !important;
        min-width: 50px !important;
    }

    .count-number[b-cfxgurllke] {
        font-size: 1rem !important;
    }

    .count-label[b-cfxgurllke] {
        font-size: 0.55rem !important;
    }

    .workers-list[b-cfxgurllke] {
        padding: 0.5rem !important;
        gap: 0.4rem !important;
    }

    .worker-item[b-cfxgurllke] {
        padding: 0.4rem !important;
        gap: 0.4rem !important;
    }

    .worker-avatar[b-cfxgurllke] {
        width: 28px !important;
        height: 28px !important;
    }

    .avatar-icon[b-cfxgurllke] {
        width: 14px !important;
        height: 14px !important;
    }

    .worker-name[b-cfxgurllke] {
        font-size: 0.8rem !important;
    }

    .worker-meta[b-cfxgurllke] {
        gap: 0.4rem !important;
        font-size: 0.65rem !important;
    }

    .shift-duration[b-cfxgurllke] {
        padding: 0.1rem 0.2rem !important;
        font-size: 0.6rem !important;
    }

    .status-indicator.active[b-cfxgurllke] {
        width: 6px !important;
        height: 6px !important;
    }

    /* Компактные карточки последних смен */
    .recent-activity-modern[b-cfxgurllke] {
        margin: 0.75rem !important;
    }

    .activity-header[b-cfxgurllke] {
        padding: 0.75rem !important;
    }

    .activity-header h3[b-cfxgurllke] {
        font-size: 1rem !important;
    }

    .activity-count[b-cfxgurllke] {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.7rem !important;
    }

    .sessions-timeline[b-cfxgurllke] {
        padding: 0.75rem !important;
        gap: 0.5rem !important;
    }

    .session-card[b-cfxgurllke] {
        padding: 0.5rem !important;
        gap: 0.5rem !important;
    }

    .session-dot[b-cfxgurllke] {
        width: 10px !important;
        height: 10px !important;
    }

    .session-line[b-cfxgurllke] {
        width: 2px !important;
        height: 16px !important;
    }

    .session-site[b-cfxgurllke] {
        gap: 0.4rem !important;
        margin-bottom: 0.2rem !important;
    }

    .site-icon[b-cfxgurllke] {
        font-size: 0.9rem !important;
    }

    .session-site strong[b-cfxgurllke] {
        font-size: 0.8rem !important;
    }

    .session-meta[b-cfxgurllke] {
        gap: 0.4rem !important;
        font-size: 0.65rem !important;
    }

    .session-details[b-cfxgurllke] {
        gap: 0.4rem !important;
    }

    .detail-item[b-cfxgurllke] {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.65rem !important;
        gap: 0.2rem !important;
    }

    .detail-icon[b-cfxgurllke] {
        font-size: 0.7rem !important;
    }

    .top-mode-bar[b-cfxgurllke] {
        padding: 0.4rem !important;
        margin-left: 0.75rem !important;
        margin-right: 0.75rem !important;
    }

    .mode-switcher-top[b-cfxgurllke] {
        gap: 0.4rem !important;
    }

    .mode-label[b-cfxgurllke] {
        font-size: 0.8rem !important;
    }

    .mode-text-top[b-cfxgurllke] {
        font-size: 0.75rem !important;
    }

    .dashboard-header h1[b-cfxgurllke] {
        font-size: 1.8rem !important;
    }

    .welcome-text[b-cfxgurllke] {
        font-size: 0.9rem !important;
    }

    .active-session-bar[b-cfxgurllke],
    .inactive-session-bar[b-cfxgurllke] {
        padding: 0.6rem !important;
        margin-bottom: 0.75rem !important;
        margin-left: 0.75rem !important;
        margin-right: 0.75rem !important;
    }

    .session-header[b-cfxgurllke] {
        gap: 0.15rem !important;
    }

    .session-details strong[b-cfxgurllke] {
        font-size: 0.95rem !important;
    }

    .session-details small[b-cfxgurllke] {
        font-size: 0.75rem !important;
    }

    .modal-dialog[b-cfxgurllke] {
        width: 98% !important;
        margin: 0.5rem !important;
    }

    .modal-header[b-cfxgurllke],
    .modal-body[b-cfxgurllke] {
        padding: 0.75rem !important;
    }

    .modal-title[b-cfxgurllke] {
        font-size: 1rem !important;
    }

    .quick-actions[b-cfxgurllke] {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
    }

    .sites-container[b-cfxgurllke], .work-types-container[b-cfxgurllke], .avances-container[b-cfxgurllke] {
        padding: 0 0.75rem !important;
    }
}

@media (max-width: 360px) {
    .main-content[b-cfxgurllke] {
        margin-left: 0 !important;
        padding: 0.25rem !important;
    }

    /* Сохраняем сетку 2x2 для карточек статистики */
    .dashboard-stats[b-cfxgurllke],
    .stats-grid[b-cfxgurllke] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem !important;
        padding: 0 0.5rem !important;
    }

    .stat-card[b-cfxgurllke] {
        padding: 0.4rem !important;
        min-height: 90px !important;
    }

    .stat-number[b-cfxgurllke] {
        font-size: 1.1rem !important;
        margin-bottom: 0.15rem !important;
    }

    .stat-label[b-cfxgurllke] {
        font-size: 0.6rem !important;
    }

    .admin-dashboard .stat-info h3[b-cfxgurllke],
    .user-dashboard .stat-info h3[b-cfxgurllke] {
        font-size: 0.9rem !important;
        margin-bottom: 0.15rem !important;
    }

    .admin-dashboard .stat-info small[b-cfxgurllke],
    .user-dashboard .stat-info small[b-cfxgurllke] {
        font-size: 0.6rem !important;
    }

    /* Компактные карточки активных смен */
    .active-sessions-panel[b-cfxgurllke] {
        margin: 0.5rem !important;
    }

    .panel-header[b-cfxgurllke] {
        padding: 0.5rem !important;
    }

    .header-content h3[b-cfxgurllke] {
        font-size: 0.9rem !important;
    }

    .header-badge[b-cfxgurllke] {
        padding: 0.15rem 0.3rem !important;
        font-size: 0.6rem !important;
    }

    .badge-count[b-cfxgurllke] {
        font-size: 0.8rem !important;
    }

    .badge-label[b-cfxgurllke] {
        font-size: 0.5rem !important;
    }

    .sessions-grid[b-cfxgurllke] {
        padding: 0.5rem !important;
        gap: 0.5rem !important;
    }

    .site-card-header[b-cfxgurllke] {
        padding: 0.4rem !important;
    }

    .site-name[b-cfxgurllke] {
        font-size: 0.8rem !important;
    }

    .site-location[b-cfxgurllke] {
        font-size: 0.6rem !important;
    }

    .workers-count[b-cfxgurllke] {
        padding: 0.3rem !important;
        min-width: 45px !important;
    }

    .count-number[b-cfxgurllke] {
        font-size: 0.9rem !important;
    }

    .count-label[b-cfxgurllke] {
        font-size: 0.5rem !important;
    }

    .workers-list[b-cfxgurllke] {
        padding: 0.4rem !important;
        gap: 0.3rem !important;
    }

    .worker-item[b-cfxgurllke] {
        padding: 0.3rem !important;
        gap: 0.3rem !important;
    }

    .worker-avatar[b-cfxgurllke] {
        width: 24px !important;
        height: 24px !important;
    }

    .avatar-icon[b-cfxgurllke] {
        width: 12px !important;
        height: 12px !important;
    }

    .worker-name[b-cfxgurllke] {
        font-size: 0.7rem !important;
    }

    .worker-meta[b-cfxgurllke] {
        gap: 0.3rem !important;
        font-size: 0.6rem !important;
    }

    .shift-duration[b-cfxgurllke] {
        padding: 0.1rem 0.15rem !important;
        font-size: 0.55rem !important;
    }

    .status-indicator.active[b-cfxgurllke] {
        width: 5px !important;
        height: 5px !important;
    }

    /* Компактные карточки последних смен */
    .recent-activity-modern[b-cfxgurllke] {
        margin: 0.5rem !important;
    }

    .activity-header[b-cfxgurllke] {
        padding: 0.5rem !important;
    }

    .activity-header h3[b-cfxgurllke] {
        font-size: 0.9rem !important;
    }

    .activity-count[b-cfxgurllke] {
        padding: 0.15rem 0.3rem !important;
        font-size: 0.6rem !important;
    }

    .sessions-timeline[b-cfxgurllke] {
        padding: 0.5rem !important;
        gap: 0.4rem !important;
    }

    .session-card[b-cfxgurllke] {
        padding: 0.4rem !important;
        gap: 0.4rem !important;
    }

    .session-dot[b-cfxgurllke] {
        width: 8px !important;
        height: 8px !important;
    }

    .session-line[b-cfxgurllke] {
        width: 2px !important;
        height: 14px !important;
    }

    .session-site[b-cfxgurllke] {
        gap: 0.3rem !important;
        margin-bottom: 0.15rem !important;
    }

    .site-icon[b-cfxgurllke] {
        font-size: 0.8rem !important;
    }

    .session-site strong[b-cfxgurllke] {
        font-size: 0.7rem !important;
    }

    .session-meta[b-cfxgurllke] {
        gap: 0.3rem !important;
        font-size: 0.6rem !important;
    }

    .session-details[b-cfxgurllke] {
        gap: 0.3rem !important;
    }

    .detail-item[b-cfxgurllke] {
        padding: 0.15rem 0.3rem !important;
        font-size: 0.6rem !important;
        gap: 0.15rem !important;
    }

    .detail-icon[b-cfxgurllke] {
        font-size: 0.65rem !important;
    }

    .top-mode-bar[b-cfxgurllke] {
        padding: 0.3rem !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    .mode-switcher-top[b-cfxgurllke] {
        gap: 0.3rem !important;
    }

    .mode-label[b-cfxgurllke] {
        font-size: 0.75rem !important;
    }

    .mode-text-top[b-cfxgurllke] {
        font-size: 0.7rem !important;
    }

    .dashboard-header h1[b-cfxgurllke] {
        font-size: 1.5rem !important;
    }

    .welcome-text[b-cfxgurllke] {
        font-size: 0.85rem !important;
    }

    .active-session-bar[b-cfxgurllke],
    .inactive-session-bar[b-cfxgurllke] {
        padding: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }

    .session-details strong[b-cfxgurllke] {
        font-size: 0.9rem !important;
    }

    .session-details small[b-cfxgurllke] {
        font-size: 0.7rem !important;
    }

    .quick-actions[b-cfxgurllke] {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        padding: 0 0.5rem !important;
    }

    .sites-container[b-cfxgurllke], .work-types-container[b-cfxgurllke], .avances-container[b-cfxgurllke] {
        padding: 0 0.5rem !important;
    }
} 
/* _content/RFGMasterServer/Pages/Index.razor.rz.scp.css */
.landing-page[b-dk5i4yvcoc] {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero[b-dk5i4yvcoc] {
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-title[b-dk5i4yvcoc] {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle[b-dk5i4yvcoc] {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.login-btn[b-dk5i4yvcoc] {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.2s;
}

.login-btn:hover[b-dk5i4yvcoc] {
    transform: translateY(-2px);
}

.features-section[b-dk5i4yvcoc] {
    background: white !important;
    padding: 80px 0;
}

.section-title[b-dk5i4yvcoc] {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid[b-dk5i4yvcoc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card[b-dk5i4yvcoc] {
    background: white !important;
    background-color: white !important;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    border: 1px solid #e5e7eb;
}

/* Более специфичные селекторы */
.landing-page .feature-card[b-dk5i4yvcoc] {
    background: white !important;
    background-color: white !important;
}

.features-section .feature-card[b-dk5i4yvcoc] {
    background: white !important;
    background-color: white !important;
}

.feature-card:hover[b-dk5i4yvcoc] {
    transform: translateY(-5px);
}

.feature-icon[b-dk5i4yvcoc] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3[b-dk5i4yvcoc] {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card ul[b-dk5i4yvcoc] {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.feature-card li[b-dk5i4yvcoc] {
    padding: 0.3rem 0;
    color: #666;
}

.feature-card li[b-dk5i4yvcoc]:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
}

.feature-benefit[b-dk5i4yvcoc] {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 5px;
    font-weight: 600;
    color: #495057;
    border-left: 4px solid #28a745;
}

.multi-company-section[b-dk5i4yvcoc] {
    background: white !important;
    padding: 60px 0;
    text-align: center;
}

.multi-company-content[b-dk5i4yvcoc] {
    max-width: 800px;
    margin: 0 auto;
}

.multi-company-icon[b-dk5i4yvcoc] {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.multi-company-content h3[b-dk5i4yvcoc] {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.multi-company-content p[b-dk5i4yvcoc] {
    color: #666;
    margin-bottom: 1rem;
}

.multi-company-content ul[b-dk5i4yvcoc] {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

.multi-company-content li[b-dk5i4yvcoc] {
    padding: 0.5rem 0;
    color: #666;
}

.multi-company-benefit[b-dk5i4yvcoc] {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 5px;
    font-weight: 600;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.cta-section[b-dk5i4yvcoc] {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2[b-dk5i4yvcoc] {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section p[b-dk5i4yvcoc] {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.landing-footer[b-dk5i4yvcoc] {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.container[b-dk5i4yvcoc] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .hero-title[b-dk5i4yvcoc] {
        font-size: 2.5rem;
    }
    
    .hero-subtitle[b-dk5i4yvcoc] {
        font-size: 1.1rem;
    }
    
    .features-grid[b-dk5i4yvcoc] {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .feature-card[b-dk5i4yvcoc] {
        padding: 1.5rem;
        margin-bottom: 1rem;
        background: white !important;
        background-color: white !important;
    }
    
    .landing-page .feature-card[b-dk5i4yvcoc] {
        background: white !important;
        background-color: white !important;
    }
    
    .features-section .feature-card[b-dk5i4yvcoc] {
        background: white !important;
        background-color: white !important;
    }
    
    .section-title[b-dk5i4yvcoc] {
        font-size: 2rem;
    }
    
    .hero[b-dk5i4yvcoc] {
        padding: 60px 0;
    }
    
    .features-section[b-dk5i4yvcoc] {
        padding: 40px 0;
    }
    
    .multi-company-section[b-dk5i4yvcoc] {
        padding: 40px 0;
    }
    
    .cta-section[b-dk5i4yvcoc] {
        padding: 40px 0;
    }
} 
/* _content/RFGMasterServer/Pages/Menu.razor.rz.scp.css */
.menu-page[b-jpr43xk0va] {
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.menu-header[b-jpr43xk0va] {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.menu-header h1[b-jpr43xk0va] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.menu-header p[b-jpr43xk0va] {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.menu-grid[b-jpr43xk0va] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
}

.menu-card[b-jpr43xk0va] {
    display: block;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.menu-card:hover[b-jpr43xk0va] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-color: #3b82f6;
    text-decoration: none;
    color: inherit;
}

.menu-card-content[b-jpr43xk0va] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    width: 100%;
}

.menu-card-text[b-jpr43xk0va] {
    flex: 1;
}

.menu-card-text h3[b-jpr43xk0va] {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.menu-card-text p[b-jpr43xk0va] {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.menu-card-icon[b-jpr43xk0va] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #6b7280;
    flex-shrink: 0;
    margin-left: 0.75rem;
    transition: color 0.2s ease;
}

.menu-card:hover .menu-card-icon[b-jpr43xk0va] {
    color: #3b82f6;
}

.menu-card.logout[b-jpr43xk0va] {
    border-color: #fecaca;
}

.menu-card.logout:hover[b-jpr43xk0va] {
    border-color: #ef4444;
    background: #fef2f2;
}

.menu-card.logout .menu-card-icon[b-jpr43xk0va] {
    color: #dc2626;
}

.menu-card.logout:hover .menu-card-icon[b-jpr43xk0va] {
    color: #ef4444;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .menu-page[b-jpr43xk0va] {
        padding: 0.5rem;
        padding-bottom: 70px; /* Отступ для мобильной панели */
    }
    
    .menu-header[b-jpr43xk0va] {
        padding: 1rem 0;
    }
    
    .menu-header h1[b-jpr43xk0va] {
        font-size: 2rem;
    }
    
    .menu-grid[b-jpr43xk0va] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .menu-card-content[b-jpr43xk0va] {
        padding: 0.75rem;
    }
    
    .menu-card-icon[b-jpr43xk0va] {
        width: 36px;
        height: 36px;
    }
} 
/* _content/RFGMasterServer/Pages/MySessions.razor.rz.scp.css */
/* ===== ОСНОВНЫЕ СТИЛИ ===== */

/* Контейнер страницы */
.sessions-container[b-z9dxb2h8d0] {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Заголовок страницы */
.page-header[b-z9dxb2h8d0] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem 1rem 1.5rem !important;
    border-bottom: 2px solid #e9ecef !important;
}

.page-header h1[b-z9dxb2h8d0] {
    color: #333 !important;
    margin: 0 !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
}

/* Статистика */
.sessions-stats[b-z9dxb2h8d0] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem !important;
}

.stat-item[b-z9dxb2h8d0] {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
}

.stat-item:hover[b-z9dxb2h8d0] {
    transform: translateY(-2px) !important;
}

.stat-number[b-z9dxb2h8d0] {
    display: block !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #4f46e5 !important;
    margin-bottom: 0.5rem !important;
}

.stat-label[b-z9dxb2h8d0] {
    display: block !important;
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

/* Фильтры */
.sessions-filters[b-z9dxb2h8d0] {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    margin-bottom: 2rem !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.sessions-filters .form-label[b-z9dxb2h8d0] {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
}

.sessions-filters .form-control[b-z9dxb2h8d0],
.sessions-filters .form-select[b-z9dxb2h8d0] {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    transition: border-color 0.2s ease !important;
} 

.sessions-filters .form-control:focus[b-z9dxb2h8d0],
.sessions-filters .form-select:focus[b-z9dxb2h8d0] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

/* Таблица */
.table-responsive[b-z9dxb2h8d0] {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.table[b-z9dxb2h8d0] {
    margin-bottom: 0 !important;
}

.table th[b-z9dxb2h8d0] {
    background-color: #f8fafc !important;
    border: none !important;
    font-weight: 600 !important;
    color: #374151 !important;
    padding: 1rem !important;
    font-size: 0.9rem !important;
}

.table td[b-z9dxb2h8d0] {
    padding: 1rem !important;
    vertical-align: middle !important;
    border-top: 1px solid #f1f5f9 !important;
}

.table th.sortable[b-z9dxb2h8d0] {
    cursor: pointer !important;
    user-select: none !important;
    transition: background-color 0.2s ease !important;
}

.table th.sortable:hover[b-z9dxb2h8d0] {
    background-color: #e2e8f0 !important;
}

.sort-indicator[b-z9dxb2h8d0] {
    margin-left: 0.5rem !important;
    font-weight: bold !important;
    color: #4f46e5 !important;
}

.table-row-clickable[b-z9dxb2h8d0] {
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.table-row-clickable:hover[b-z9dxb2h8d0] {
    background-color: #f8fafc !important;
}

/* Статусы */
.badge[b-z9dxb2h8d0] {
    font-size: 0.75rem !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

/* Мобильные карточки */
.sessions-cards-container[b-z9dxb2h8d0] {
    display: none !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem !important;
}

.session-card[b-z9dxb2h8d0] {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    padding: 1rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.session-card:hover[b-z9dxb2h8d0] {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    border-color: #4f46e5 !important;
}

.session-info[b-z9dxb2h8d0] {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.session-details[b-z9dxb2h8d0] {
    flex: 1 !important;
    min-width: 0 !important;
}

.session-site-duration[b-z9dxb2h8d0] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
}

.session-site[b-z9dxb2h8d0] {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    line-height: 1.2 !important;
}

.session-duration[b-z9dxb2h8d0] {
    font-size: 1.1rem !important;
    color: #007bff !important;
    font-weight: 600 !important;
}

.session-date-status[b-z9dxb2h8d0] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
}

.session-date[b-z9dxb2h8d0] {
    font-size: 0.85rem !important;
    color: #666 !important;
    font-weight: 500 !important;
}

/* Пустое состояние */
.empty-state[b-z9dxb2h8d0] {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: white;
}

.empty-state-icon .oi[b-z9dxb2h8d0] {
    font-size: 2.5rem;
}

.empty-state h3[b-z9dxb2h8d0] {
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state p[b-z9dxb2h8d0] {
    color: #6b7280;
    margin: 0;
}

/* Загрузка */
.loading-container[b-z9dxb2h8d0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.loading-spinner[b-z9dxb2h8d0] {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.loading-spinner.gradient[b-z9dxb2h8d0] {
    border-radius: 50%;
    background: conic-gradient(#0000 10%, #4f46e5);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 4px), #000 0);
    animation: spin-b-z9dxb2h8d0 1s infinite linear;
}

@keyframes spin-b-z9dxb2h8d0 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p[b-z9dxb2h8d0] {
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* ===== МОБИЛЬНЫЕ СТИЛИ ===== */

@media (max-width: 768px) {
    /* Контейнер */
    .sessions-container[b-z9dxb2h8d0] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    /* Заголовок */
    .page-header[b-z9dxb2h8d0] {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
        padding: 0 1rem 1rem 1rem !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
    }

    .page-header h1[b-z9dxb2h8d0] {
        font-size: 1.5rem !important;
    }

    /* Статистика */
    .sessions-stats[b-z9dxb2h8d0] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .stat-item[b-z9dxb2h8d0] {
        padding: 1rem !important;
    }

    .stat-number[b-z9dxb2h8d0] {
        font-size: 1.5rem !important;
    }

    .stat-label[b-z9dxb2h8d0] {
        font-size: 0.8rem !important;
    }

    /* Фильтры */
    .sessions-filters[b-z9dxb2h8d0] {
        padding: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .sessions-filters .row[b-z9dxb2h8d0] {
        margin: 0 !important;
    }

    .sessions-filters .col-6[b-z9dxb2h8d0],
    .sessions-filters .col-12[b-z9dxb2h8d0] {
        padding: 0.5rem 0 !important;
    }

    /* Скрываем таблицу на мобильных */
    .table-responsive[b-z9dxb2h8d0] {
        display: none !important;
    }

    /* Показываем мобильные карточки */
    .sessions-cards-container[b-z9dxb2h8d0] {
        display: flex !important;
    }

    .session-card[b-z9dxb2h8d0] {
        padding: 1rem !important;
    }

    .session-info[b-z9dxb2h8d0] {
        gap: 0.75rem !important;
    }

    .session-site[b-z9dxb2h8d0] {
        font-size: 0.95rem !important;
    }

    .session-duration[b-z9dxb2h8d0] {
        font-size: 1rem !important;
    }

    .session-date[b-z9dxb2h8d0] {
        font-size: 0.8rem !important;
    }

    .session-date-status[b-z9dxb2h8d0] {
        gap: 0.375rem !important;
    }

    .badge[b-z9dxb2h8d0] {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
    }
}

@media (max-width: 480px) {
    /* Контейнер */
    .sessions-container[b-z9dxb2h8d0] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    /* Заголовок */
    .page-header h1[b-z9dxb2h8d0] {
        font-size: 1.3rem !important;
    }

    .page-header[b-z9dxb2h8d0] {
        padding: 0 0.75rem 0.75rem 0.75rem !important;
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
    }

    /* Статистика */
    .sessions-stats[b-z9dxb2h8d0] {
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .stat-item[b-z9dxb2h8d0] {
        padding: 0.75rem !important;
    }

    .stat-number[b-z9dxb2h8d0] {
        font-size: 1.25rem !important;
    }

    .stat-label[b-z9dxb2h8d0] {
        font-size: 0.75rem !important;
    }

    /* Фильтры */
    .sessions-filters[b-z9dxb2h8d0] {
        margin-bottom: 1rem !important;
    }

    /* Карточки */
    .sessions-cards-container[b-z9dxb2h8d0] {
        gap: 0.75rem !important;
    }

    .session-card[b-z9dxb2h8d0] {
        padding: 0.75rem !important;
    }

    .session-info[b-z9dxb2h8d0] {
        gap: 0.5rem !important;
    }

    .session-site[b-z9dxb2h8d0] {
        font-size: 0.9rem !important;
    }

    .session-duration[b-z9dxb2h8d0] {
        font-size: 0.95rem !important;
    }

    .session-date[b-z9dxb2h8d0] {
        font-size: 0.75rem !important;
    }

    .badge[b-z9dxb2h8d0] {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.4rem !important;
    }
}

@media (max-width: 360px) {
    /* Контейнер */
    .sessions-container[b-z9dxb2h8d0] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    /* Заголовок */
    .page-header h1[b-z9dxb2h8d0] {
        font-size: 1.2rem !important;
    }

    .page-header[b-z9dxb2h8d0] {
        padding: 0 0.5rem 0.5rem 0.5rem !important;
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }

    /* Статистика */
    .sessions-stats[b-z9dxb2h8d0] {
        gap: 0.5rem !important;
    }

    .stat-item[b-z9dxb2h8d0] {
        padding: 0.625rem !important;
    }

    .stat-number[b-z9dxb2h8d0] {
        font-size: 1.1rem !important;
    }

    .stat-label[b-z9dxb2h8d0] {
        font-size: 0.7rem !important;
    }

    /* Фильтры */
    .sessions-filters[b-z9dxb2h8d0] {
        padding: 0.625rem !important;
    }

    /* Карточки */
    .sessions-cards-container[b-z9dxb2h8d0] {
        gap: 0.5rem !important;
    }

    .session-card[b-z9dxb2h8d0] {
        padding: 0.625rem !important;
    }

    .session-site[b-z9dxb2h8d0] {
        font-size: 0.85rem !important;
    }

    .session-duration[b-z9dxb2h8d0] {
        font-size: 0.9rem !important;
    }

    .session-date[b-z9dxb2h8d0] {
        font-size: 0.7rem !important;
    }

    .badge[b-z9dxb2h8d0] {
        font-size: 0.6rem !important;
        padding: 0.15rem 0.3rem !important;
    }
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */

/* Оверлей */
.session-settings-overlay[b-z9dxb2h8d0] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    animation: fadeIn-b-z9dxb2h8d0 0.3s ease-out;
}

/* Модальное окно */
.session-settings-modal[b-z9dxb2h8d0] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp-b-z9dxb2h8d0 0.3s ease-out;
    position: relative;
}

/* Заголовок модального окна */
.session-settings-header[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.session-settings-title[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.session-settings-icon[b-z9dxb2h8d0] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.session-settings-icon .oi[b-z9dxb2h8d0] {
    font-size: 1.2rem;
}

.session-settings-title h3[b-z9dxb2h8d0] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.session-settings-close[b-z9dxb2h8d0] {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.session-settings-close:hover[b-z9dxb2h8d0] {
    background: #e9ecef;
    color: #333;
    transform: scale(1.1);
}

/* Содержимое модального окна */
.session-settings-content[b-z9dxb2h8d0] {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.session-info-card[b-z9dxb2h8d0] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.session-info-header[b-z9dxb2h8d0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.session-site-info[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.session-site-avatar[b-z9dxb2h8d0] {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.session-site-details h4[b-z9dxb2h8d0] {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.session-date[b-z9dxb2h8d0] {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.session-duration-display[b-z9dxb2h8d0] {
    text-align: right;
}

.duration-value[b-z9dxb2h8d0] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.session-details-grid[b-z9dxb2h8d0] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item[b-z9dxb2h8d0] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.detail-label[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    min-width: 80px;
    flex-shrink: 0;
}

.detail-label .oi[b-z9dxb2h8d0] {
    color: #6c757d;
    font-size: 0.8rem;
}

.detail-value[b-z9dxb2h8d0] {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.work-type-badge[b-z9dxb2h8d0] {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge[b-z9dxb2h8d0] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.closed[b-z9dxb2h8d0] {
    background: #d4edda;
    color: #155724;
}

.status-badge.active[b-z9dxb2h8d0] {
    background: #fff3cd;
    color: #856404;
}

/* Секция действий */
.session-actions-section[b-z9dxb2h8d0] {
    margin-top: 1.5rem;
}

.session-actions-section h4[b-z9dxb2h8d0] {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.action-buttons[b-z9dxb2h8d0] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    background: white;
    border: 1px solid #e9ecef;
}

.action-btn:hover[b-z9dxb2h8d0] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn.close-session[b-z9dxb2h8d0] {
    border-color: #28a745;
    color: #28a745;
}

.action-btn.close-session:hover[b-z9dxb2h8d0] {
    background: #28a745;
    color: white;
}

.action-btn.delete[b-z9dxb2h8d0] {
    border-color: #dc3545;
    color: #dc3545;
}

.action-btn.delete:hover[b-z9dxb2h8d0] {
    background: #dc3545;
    color: white;
}

.action-btn .oi[b-z9dxb2h8d0] {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.action-text[b-z9dxb2h8d0] {
    flex: 1;
}

.action-title[b-z9dxb2h8d0] {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.action-description[b-z9dxb2h8d0] {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Анимации */
@keyframes fadeIn-b-z9dxb2h8d0 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-z9dxb2h8d0 {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== МОДАЛЬНОЕ ОКНО ДОБАВЛЕНИЯ СМЕНЫ ===== */

/* Оверлей для добавления смены */
.add-session-overlay[b-z9dxb2h8d0] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
    animation: fadeIn-b-z9dxb2h8d0 0.3s ease-out;
}

/* Модальное окно добавления смены */
.add-session-modal[b-z9dxb2h8d0] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp-b-z9dxb2h8d0 0.3s ease-out;
    position: relative;
}

/* Заголовок модального окна добавления */
.add-session-header[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.add-session-title[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.add-session-icon[b-z9dxb2h8d0] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.add-session-icon .oi[b-z9dxb2h8d0] {
    font-size: 1.2rem;
}

.add-session-title h3[b-z9dxb2h8d0] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.add-session-close[b-z9dxb2h8d0] {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.add-session-close:hover[b-z9dxb2h8d0] {
    background: #e9ecef;
    color: #333;
    transform: scale(1.1);
}

/* Содержимое модального окна добавления */
.add-session-content[b-z9dxb2h8d0] {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.form-section[b-z9dxb2h8d0] {
    margin-bottom: 1.5rem;
}

.form-section h4[b-z9dxb2h8d0] {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h4[b-z9dxb2h8d0]::before {
    content: "📝";
    font-size: 1rem;
}

.form-grid[b-z9dxb2h8d0] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group[b-z9dxb2h8d0] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.form-label .oi[b-z9dxb2h8d0] {
    color: #6c757d;
    font-size: 0.8rem;
}

.form-select[b-z9dxb2h8d0],
.form-control[b-z9dxb2h8d0] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-select:focus[b-z9dxb2h8d0],
.form-control:focus[b-z9dxb2h8d0] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
    outline: none;
}

/* Стили для разделителя в select */
.form-select option[disabled][b-z9dxb2h8d0] {
    background-color: #f8f9fa;
    color: #6c757d;
    font-style: italic;
    font-weight: 500;
    text-align: center;
    padding: 0.5rem;
}

/* Стили для optgroup в select */
.form-select optgroup[b-z9dxb2h8d0] {
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.form-select optgroup option[b-z9dxb2h8d0] {
    font-weight: normal;
    color: #333;
    padding-left: 1rem;
}

.add-session-actions[b-z9dxb2h8d0] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.action-btn[b-z9dxb2h8d0] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.action-btn.cancel[b-z9dxb2h8d0] {
    background: #f8f9fa;
    color: #6c757d;
}

.action-btn.cancel:hover[b-z9dxb2h8d0] {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

.action-btn.add[b-z9dxb2h8d0] {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.action-btn.add:hover[b-z9dxb2h8d0] {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
    .session-settings-overlay[b-z9dxb2h8d0],
    .add-session-overlay[b-z9dxb2h8d0] {
        padding: 0.5rem;
    }
    
    .session-settings-modal[b-z9dxb2h8d0],
    .add-session-modal[b-z9dxb2h8d0] {
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .session-settings-header[b-z9dxb2h8d0],
    .add-session-header[b-z9dxb2h8d0] {
        padding: 1.25rem 1.25rem 1rem 1.25rem;
    }
    
    .session-settings-title h3[b-z9dxb2h8d0],
    .add-session-title h3[b-z9dxb2h8d0] {
        font-size: 1.1rem;
    }
    
    .session-settings-icon[b-z9dxb2h8d0],
    .add-session-icon[b-z9dxb2h8d0] {
        width: 36px;
        height: 36px;
    }
    
    .session-settings-icon .oi[b-z9dxb2h8d0],
    .add-session-icon .oi[b-z9dxb2h8d0] {
        font-size: 1.1rem;
    }
    
    .session-settings-content[b-z9dxb2h8d0],
    .add-session-content[b-z9dxb2h8d0] {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }
    
    .session-info-card[b-z9dxb2h8d0] {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .session-site-avatar[b-z9dxb2h8d0] {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .session-site-details h4[b-z9dxb2h8d0] {
        font-size: 1rem;
    }
    
    .duration-value[b-z9dxb2h8d0] {
        font-size: 1.3rem;
        padding: 0.4rem 0.8rem;
    }
    
    .detail-item[b-z9dxb2h8d0] {
        padding: 0.625rem;
        border-radius: 10px;
    }
    
    .detail-label[b-z9dxb2h8d0] {
        font-size: 0.85rem;
        min-width: 70px;
    }
    
    .detail-value[b-z9dxb2h8d0] {
        font-size: 0.85rem;
    }
    
    .form-grid[b-z9dxb2h8d0] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .form-section h4[b-z9dxb2h8d0] {
        font-size: 1rem;
    }
    
    .form-label[b-z9dxb2h8d0] {
        font-size: 0.85rem;
    }
    
    .form-select[b-z9dxb2h8d0],
    .form-control[b-z9dxb2h8d0] {
        padding: 0.625rem;
        font-size: 0.85rem;
    }
    
    .add-session-actions[b-z9dxb2h8d0] {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-btn[b-z9dxb2h8d0] {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .session-settings-overlay[b-z9dxb2h8d0],
    .add-session-overlay[b-z9dxb2h8d0] {
        padding: 0.25rem;
    }
    
    .session-settings-modal[b-z9dxb2h8d0],
    .add-session-modal[b-z9dxb2h8d0] {
        border-radius: 12px;
    }
    
    .session-settings-header[b-z9dxb2h8d0],
    .add-session-header[b-z9dxb2h8d0] {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .session-settings-title h3[b-z9dxb2h8d0],
    .add-session-title h3[b-z9dxb2h8d0] {
        font-size: 1rem;
    }
    
    .session-settings-icon[b-z9dxb2h8d0],
    .add-session-icon[b-z9dxb2h8d0] {
        width: 32px;
        height: 32px;
    }
    
    .session-settings-icon .oi[b-z9dxb2h8d0],
    .add-session-icon .oi[b-z9dxb2h8d0] {
        font-size: 1rem;
    }
    
    .session-settings-content[b-z9dxb2h8d0],
    .add-session-content[b-z9dxb2h8d0] {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    .session-info-card[b-z9dxb2h8d0] {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .session-site-avatar[b-z9dxb2h8d0] {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .session-site-details h4[b-z9dxb2h8d0] {
        font-size: 0.95rem;
    }
    
    .duration-value[b-z9dxb2h8d0] {
        font-size: 1.2rem;
        padding: 0.35rem 0.7rem;
    }
    
    .detail-item[b-z9dxb2h8d0] {
        padding: 0.5rem;
        border-radius: 8px;
    }
    
    .detail-label[b-z9dxb2h8d0] {
        font-size: 0.8rem;
        min-width: 65px;
    }
    
    .detail-value[b-z9dxb2h8d0] {
        font-size: 0.8rem;
    }
    
    .form-section h4[b-z9dxb2h8d0] {
        font-size: 0.95rem;
    }
    
    .form-label[b-z9dxb2h8d0] {
        font-size: 0.8rem;
    }
    
    .form-select[b-z9dxb2h8d0],
    .form-control[b-z9dxb2h8d0] {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .action-btn[b-z9dxb2h8d0] {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
} 
/* _content/RFGMasterServer/Pages/Users.razor.rz.scp.css */
.users-container[b-egstdpnzra] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.page-header[b-egstdpnzra] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.page-header h1[b-egstdpnzra] {
    color: #333;
    margin: 0;
}

.users-stats[b-egstdpnzra] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item[b-egstdpnzra] {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number[b-egstdpnzra] {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #4f46e5;
}

.stat-label[b-egstdpnzra] {
    display: block;
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.filters-section[b-egstdpnzra] {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.users-table-container[b-egstdpnzra] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    overflow-x: auto;
    position: relative;
}

.table-scroll-indicator[b-egstdpnzra] {
    display: none;
    text-align: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.8rem;
    color: #6c757d;
}

.scroll-hint[b-egstdpnzra] {
    display: inline-block;
    animation: scroll-pulse-b-egstdpnzra 2s infinite;
}

@keyframes scroll-pulse-b-egstdpnzra {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.table th.sortable[b-egstdpnzra] {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.table th.sortable:hover[b-egstdpnzra] {
    background-color: #f8f9fa;
}

.sort-indicator[b-egstdpnzra] {
    margin-left: 0.5rem;
    font-weight: bold;
    color: #007bff;
}

.user-row[b-egstdpnzra] {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.user-row:hover[b-egstdpnzra] {
    background-color: #f8f9fa;
}

.user-disabled[b-egstdpnzra] {
    opacity: 0.7;
    background-color: #f8f9fa;
}

.user-name-cell[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-name[b-egstdpnzra] {
    font-weight: 500;
    color: #333;
}

.role-badge[b-egstdpnzra] {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Мобильные карточки */
.users-cards-container[b-egstdpnzra] {
    display: none;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.user-card[b-egstdpnzra] {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-card[b-egstdpnzra]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.user-card:hover[b-egstdpnzra] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.user-card:hover[b-egstdpnzra]::before {
    opacity: 1;
}

.user-card.user-disabled[b-egstdpnzra] {
    opacity: 0.6;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.user-card.user-disabled[b-egstdpnzra]::before {
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

.user-name[b-egstdpnzra] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 0.5rem;
    min-width: 0;
    max-width: calc(100% - 80px);
}

.user-status[b-egstdpnzra] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.user-status .badge[b-egstdpnzra] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-status .badge.bg-success[b-egstdpnzra] {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

.user-status .badge.bg-danger[b-egstdpnzra] {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: white;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.3);
}



/* Модальное окно с меню действий пользователя */
.user-menu-modal[b-egstdpnzra] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 99999;
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.user-menu-header[b-egstdpnzra] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.user-menu-header h5[b-egstdpnzra] {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.user-menu-body[b-egstdpnzra] {
    padding: 1.5rem;
}

.user-info[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}



.user-details h6[b-egstdpnzra] {
    margin: 0 0 0.25rem 0;
    color: #333;
    font-weight: 600;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.user-role[b-egstdpnzra] {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.user-status[b-egstdpnzra] {
    font-size: 0.85rem;
    font-weight: 500;
}

.status-active[b-egstdpnzra] {
    color: #28a745;
}

.status-blocked[b-egstdpnzra] {
    color: #dc3545;
}

.menu-actions[b-egstdpnzra] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.menu-action-btn[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 8px;
    background: #f8f9fa;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.menu-action-btn:hover[b-egstdpnzra] {
    background: #e9ecef;
    color: #333;
}

.menu-action-btn .oi[b-egstdpnzra] {
    font-size: 1rem;
    width: 20px;
}

.menu-action-btn.text-success[b-egstdpnzra] {
    background: #e8f5e8;
    color: #2e7d32;
}

.menu-action-btn.text-success:hover[b-egstdpnzra] {
    background: #c8e6c9;
    color: #1b5e20;
}

.menu-action-btn.text-warning[b-egstdpnzra] {
    background: #fff3e0;
    color: #f57c00;
}

.menu-action-btn.text-warning:hover[b-egstdpnzra] {
    background: #ffe0b2;
    color: #ef6c00;
}

/* Утилиты для отображения */
.desktop-only[b-egstdpnzra] {
    display: block;
}

.mobile-only[b-egstdpnzra] {
    display: none;
}

/* Медиа-запросы для адаптивности */

/* Планшеты */
@media (max-width: 1024px) and (min-width: 769px) {
    .users-container[b-egstdpnzra] {
        padding: 0 15px;
    }

    .users-stats[b-egstdpnzra] {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-item[b-egstdpnzra] {
        padding: 1.25rem;
    }

    .stat-number[b-egstdpnzra] {
        font-size: 1.75rem;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .users-container[b-egstdpnzra] {
        padding: 0 10px;
    }

    .page-header[b-egstdpnzra] {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .page-header h1[b-egstdpnzra] {
        font-size: 1.5rem;
    }

    .users-stats[b-egstdpnzra] {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .stat-item[b-egstdpnzra] {
        padding: 1rem;
    }

    .stat-number[b-egstdpnzra] {
        font-size: 1.5rem;
    }

    .stat-label[b-egstdpnzra] {
        font-size: 0.8rem;
    }

    .filters-section[b-egstdpnzra] {
        padding: 1rem;
    }

    .filters-section .row[b-egstdpnzra] {
        margin: 0;
    }

    .filters-section .col-md-6[b-egstdpnzra],
    .filters-section .col-md-3[b-egstdpnzra] {
        padding: 0.5rem 0;
    }

    /* Переключаем на мобильные карточки */
    .desktop-only[b-egstdpnzra] {
        display: none !important;
    }

    .mobile-only[b-egstdpnzra] {
        display: flex !important;
        flex-direction: column;
    }

    .user-card[b-egstdpnzra] {
        padding: 0.875rem;
        border-radius: 14px;
    }

    .user-name[b-egstdpnzra] {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        max-width: calc(100% - 70px);
    }

    .user-status .badge[b-egstdpnzra] {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    /* Модальное окно для мобильных */
    .user-menu-modal[b-egstdpnzra] {
        width: 95%;
        max-width: 350px;
    }

    .user-menu-header[b-egstdpnzra] {
        padding: 1rem 1rem 0.75rem;
    }

    .user-menu-header h5[b-egstdpnzra] {
        font-size: 1rem;
    }

    .user-menu-body[b-egstdpnzra] {
        padding: 1rem;
    }

    .user-info[b-egstdpnzra] {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }



    .menu-action-btn[b-egstdpnzra] {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
    .users-container[b-egstdpnzra] {
        padding: 0 5px;
    }

    .page-header h1[b-egstdpnzra] {
        font-size: 1.3rem;
    }

    .users-stats[b-egstdpnzra] {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .stat-item[b-egstdpnzra] {
        padding: 0.75rem;
    }

    .stat-number[b-egstdpnzra] {
        font-size: 1.25rem;
    }

    .stat-label[b-egstdpnzra] {
        font-size: 0.75rem;
    }

    .filters-section[b-egstdpnzra] {
        padding: 0.75rem;
    }

    .user-card[b-egstdpnzra] {
        padding: 0.75rem;
        border-radius: 12px;
    }

    .user-card-header[b-egstdpnzra] {
        margin-bottom: 0.5rem;
    }


        border-radius: 8px;[b-egstdpnzra]
    }

    .user-details .user-name[b-egstdpnzra] {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        max-width: calc(100% - 65px);
    }

    .user-details .user-role[b-egstdpnzra] {
        font-size: 0.65rem;
        padding: 0.15rem 0.35rem;
    }

    .user-status .badge[b-egstdpnzra] {
        font-size: 0.6rem;
        padding: 0.15rem 0.35rem;
    }

    /* Модальное окно для маленьких экранов */
    .user-menu-modal[b-egstdpnzra] {
        width: 98%;
        max-width: 300px;
    }

    .user-menu-header[b-egstdpnzra] {
        padding: 0.75rem 0.75rem 0.5rem;
    }

    .user-menu-header h5[b-egstdpnzra] {
        font-size: 0.95rem;
    }

    .user-menu-body[b-egstdpnzra] {
        padding: 0.75rem;
    }

    .user-info[b-egstdpnzra] {
        padding: 0.5rem;
        margin-bottom: 0.875rem;
    }



    .menu-action-btn[b-egstdpnzra] {
        padding: 0.625rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Экстремально маленькие экраны */
@media (max-width: 360px) {
    .users-container[b-egstdpnzra] {
        padding: 0 2px;
    }

    .page-header h1[b-egstdpnzra] {
        font-size: 1.2rem;
    }

    .users-stats[b-egstdpnzra] {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
    }

    .stat-item[b-egstdpnzra] {
        padding: 0.625rem;
    }

    .stat-number[b-egstdpnzra] {
        font-size: 1.1rem;
    }

    .stat-label[b-egstdpnzra] {
        font-size: 0.7rem;
    }

    .filters-section[b-egstdpnzra] {
        padding: 0.625rem;
    }

    .user-card[b-egstdpnzra] {
        padding: 0.625rem;
        border-radius: 10px;
    }

    .user-card-header[b-egstdpnzra] {
        margin-bottom: 0.5rem;
    }


        border-radius: 6px;[b-egstdpnzra]
    }

    .user-details .user-name[b-egstdpnzra] {
        font-size: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        max-width: calc(100% - 60px);
    }

    .user-details .user-role[b-egstdpnzra] {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }

    .user-status .badge[b-egstdpnzra] {
        font-size: 0.55rem;
        padding: 0.1rem 0.3rem;
    }

    /* Модальное окно для экстремально маленьких экранов */
    .user-menu-modal[b-egstdpnzra] {
        width: 99%;
        max-width: 280px;
    }

    .user-menu-header[b-egstdpnzra] {
        padding: 0.5rem 0.5rem 0.25rem;
    }

    .user-menu-header h5[b-egstdpnzra] {
        font-size: 0.9rem;
    }

    .user-menu-body[b-egstdpnzra] {
        padding: 0.5rem;
    }

    .user-info[b-egstdpnzra] {
        padding: 0.4rem;
        margin-bottom: 0.75rem;
    }



    .menu-action-btn[b-egstdpnzra] {
        padding: 0.5rem 0.625rem;
        font-size: 0.8rem;
    }
}

/* Стили для нового модального окна пользователя в стиле авансов */
.user-settings-overlay[b-egstdpnzra] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
    animation: fadeIn-b-egstdpnzra 0.3s ease-out;
}

.user-settings-modal[b-egstdpnzra] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp-b-egstdpnzra 0.3s ease-out;
    position: relative;
    z-index: 100000;
}

.user-settings-header[b-egstdpnzra] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.user-settings-title[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-settings-icon[b-egstdpnzra] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-settings-icon .oi[b-egstdpnzra] {
    font-size: 1.2rem;
}

.user-settings-title h3[b-egstdpnzra] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.user-settings-close[b-egstdpnzra] {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.user-settings-close:hover[b-egstdpnzra] {
    background: #e9ecef;
    color: #333;
    transform: scale(1.1);
}

.user-settings-content[b-egstdpnzra] {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.user-info-card[b-egstdpnzra] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.user-info-header[b-egstdpnzra] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.user-user-info[b-egstdpnzra] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
}



.user-user-details h4[b-egstdpnzra] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.user-role-display[b-egstdpnzra] {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
    text-align: left;
}

.user-role-inline[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-role-label[b-egstdpnzra] {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

.user-role-simple[b-egstdpnzra] {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.user-date[b-egstdpnzra] {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.user-status-display[b-egstdpnzra] {
    text-align: right;
}

.status-value[b-egstdpnzra] {
    font-size: 1.2rem;
    font-weight: 700;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-value.active[b-egstdpnzra] {
    color: #28a745;
}

.status-value.blocked[b-egstdpnzra] {
    color: #dc3545;
}

.user-details-grid[b-egstdpnzra] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item[b-egstdpnzra] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.detail-label[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    min-width: 80px;
    flex-shrink: 0;
}

.detail-label .oi[b-egstdpnzra] {
    color: #6c757d;
    font-size: 0.8rem;
}

.detail-value[b-egstdpnzra] {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.work-type-badge[b-egstdpnzra] {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.status-badge[b-egstdpnzra] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.active[b-egstdpnzra] {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.status-badge.blocked[b-egstdpnzra] {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.status-badges[b-egstdpnzra] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-actions-section[b-egstdpnzra] {
    margin-top: 1.5rem;
}

.user-actions-section h4[b-egstdpnzra] {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-actions-section h4[b-egstdpnzra]::before {
    content: "⚡";
    font-size: 1rem;
}

.action-buttons[b-egstdpnzra] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.action-btn[b-egstdpnzra]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.action-btn:hover[b-egstdpnzra]::before {
    left: 100%;
}

.action-btn .oi[b-egstdpnzra] {
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.action-text[b-egstdpnzra] {
    flex: 1;
}

.action-title[b-egstdpnzra] {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.action-description[b-egstdpnzra] {
    font-size: 0.8rem;
    opacity: 0.8;
}

.action-btn.edit[b-egstdpnzra] {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
}

.action-btn.edit:hover[b-egstdpnzra] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
}

.action-btn.unblock[b-egstdpnzra] {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.action-btn.unblock:hover[b-egstdpnzra] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.action-btn.block[b-egstdpnzra] {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.action-btn.block:hover[b-egstdpnzra] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.action-btn.stats[b-egstdpnzra] {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
    color: white;
}

.action-btn.stats:hover[b-egstdpnzra] {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

/* Анимации */
@keyframes fadeIn-b-egstdpnzra {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-egstdpnzra {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .user-settings-overlay[b-egstdpnzra] {
        padding: 0.5rem;
    }
    
    .user-settings-modal[b-egstdpnzra] {
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .user-settings-header[b-egstdpnzra] {
        padding: 1.25rem 1.25rem 1rem 1.25rem;
    }
    
    .user-settings-title h3[b-egstdpnzra] {
        font-size: 1.1rem;
    }
    
    .user-settings-icon[b-egstdpnzra] {
        width: 36px;
        height: 36px;
    }
    
    .user-settings-icon .oi[b-egstdpnzra] {
        font-size: 1.1rem;
    }
    
    .user-settings-content[b-egstdpnzra] {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }
    
    .user-info-card[b-egstdpnzra] {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .user-user-avatar[b-egstdpnzra] {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .user-user-details h4[b-egstdpnzra] {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .status-value[b-egstdpnzra] {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .detail-item[b-egstdpnzra] {
        padding: 0.625rem;
        border-radius: 10px;
    }
    
    .detail-label[b-egstdpnzra] {
        font-size: 0.85rem;
        min-width: 70px;
    }
    
    .detail-value[b-egstdpnzra] {
        font-size: 0.85rem;
    }
    
    .action-btn[b-egstdpnzra] {
        padding: 0.875rem;
        border-radius: 10px;
    }
    
    .action-title[b-egstdpnzra] {
        font-size: 0.9rem;
    }
    
    .action-description[b-egstdpnzra] {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .user-settings-overlay[b-egstdpnzra] {
        padding: 0.25rem;
    }
    
    .user-settings-modal[b-egstdpnzra] {
        border-radius: 12px;
    }
    
    .user-settings-header[b-egstdpnzra] {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .user-settings-title h3[b-egstdpnzra] {
        font-size: 1rem;
    }
    
    .user-settings-icon[b-egstdpnzra] {
        width: 32px;
        height: 32px;
    }
    
    .user-settings-icon .oi[b-egstdpnzra] {
        font-size: 1rem;
    }
    
    .user-settings-content[b-egstdpnzra] {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    .user-info-card[b-egstdpnzra] {
        padding: 1rem;
        border-radius: 10px;
    }
    

    
    .user-user-details h4[b-egstdpnzra] {
        font-size: 0.95rem;
    }
    
    .status-value[b-egstdpnzra] {
        font-size: 1rem;
        padding: 0.35rem 0.7rem;
    }
    
    .detail-item[b-egstdpnzra] {
        padding: 0.5rem;
        border-radius: 8px;
    }
    
    .detail-label[b-egstdpnzra] {
        font-size: 0.8rem;
        min-width: 65px;
    }
    
    .detail-value[b-egstdpnzra] {
        font-size: 0.8rem;
    }
    
    .action-btn[b-egstdpnzra] {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .action-title[b-egstdpnzra] {
        font-size: 0.85rem;
    }
    
    .action-description[b-egstdpnzra] {
        font-size: 0.7rem;
    }
}

/* Стили для модального окна добавления пользователя */
.add-user-overlay[b-egstdpnzra] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
    animation: fadeIn-b-egstdpnzra 0.3s ease-out;
}

.add-user-modal[b-egstdpnzra] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp-b-egstdpnzra 0.3s ease-out;
    position: relative;
    z-index: 100000;
}

.add-user-header[b-egstdpnzra] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.add-user-title[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.add-user-icon[b-egstdpnzra] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.add-user-icon .oi[b-egstdpnzra] {
    font-size: 1.2rem;
}

.add-user-title h3[b-egstdpnzra] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.add-user-close[b-egstdpnzra] {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.add-user-close:hover[b-egstdpnzra] {
    background: #e9ecef;
    color: #333;
    transform: scale(1.1);
}

.add-user-content[b-egstdpnzra] {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.form-section[b-egstdpnzra] {
    margin-bottom: 1.5rem;
}

.form-section h4[b-egstdpnzra] {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h4[b-egstdpnzra]::before {
    content: "📝";
    font-size: 1rem;
}

.form-grid[b-egstdpnzra] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group[b-egstdpnzra] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.form-label .oi[b-egstdpnzra] {
    color: #6c757d;
    font-size: 0.8rem;
}

.form-select[b-egstdpnzra],
.form-control[b-egstdpnzra] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.form-select:focus[b-egstdpnzra],
.form-control:focus[b-egstdpnzra] {
    border-color: #4f46e5;
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
    outline: none;
}

.add-user-actions[b-egstdpnzra] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.add-user-actions .action-btn[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.add-user-actions .action-btn.cancel[b-egstdpnzra] {
    background: #f8f9fa;
    color: #6c757d;
}

.add-user-actions .action-btn.cancel:hover[b-egstdpnzra] {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

.add-user-actions .action-btn.add[b-egstdpnzra] {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.add-user-actions .action-btn.add:hover[b-egstdpnzra] {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Адаптивность для модального окна добавления пользователя */
@media (max-width: 768px) {
    .add-user-overlay[b-egstdpnzra] {
        padding: 0.5rem;
    }
    
    .add-user-modal[b-egstdpnzra] {
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .add-user-header[b-egstdpnzra] {
        padding: 1.25rem 1.25rem 1rem 1.25rem;
    }
    
    .add-user-title h3[b-egstdpnzra] {
        font-size: 1.1rem;
    }
    
    .add-user-icon[b-egstdpnzra] {
        width: 36px;
        height: 36px;
    }
    
    .add-user-icon .oi[b-egstdpnzra] {
        font-size: 1.1rem;
    }
    
    .add-user-content[b-egstdpnzra] {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }
    
    .form-grid[b-egstdpnzra] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .form-section h4[b-egstdpnzra] {
        font-size: 1rem;
    }
    
    .form-label[b-egstdpnzra] {
        font-size: 0.85rem;
    }
    
    .form-select[b-egstdpnzra],
    .form-control[b-egstdpnzra] {
        padding: 0.625rem;
        font-size: 0.85rem;
    }
    
    .add-user-actions[b-egstdpnzra] {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .add-user-actions .action-btn[b-egstdpnzra] {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .add-user-overlay[b-egstdpnzra] {
        padding: 0.25rem;
    }
    
    .add-user-modal[b-egstdpnzra] {
        border-radius: 12px;
    }
    
    .add-user-header[b-egstdpnzra] {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .add-user-title h3[b-egstdpnzra] {
        font-size: 1rem;
    }
    
    .add-user-icon[b-egstdpnzra] {
        width: 32px;
        height: 32px;
    }
    
    .add-user-icon .oi[b-egstdpnzra] {
        font-size: 1rem;
    }
    
    .add-user-content[b-egstdpnzra] {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    .form-section h4[b-egstdpnzra] {
        font-size: 0.95rem;
    }
    
    .form-label[b-egstdpnzra] {
        font-size: 0.8rem;
    }
    
    .form-select[b-egstdpnzra],
    .form-control[b-egstdpnzra] {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .add-user-actions .action-btn[b-egstdpnzra] {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* Стили для модального окна редактирования пользователя */
.edit-user-overlay[b-egstdpnzra] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
    animation: fadeIn-b-egstdpnzra 0.3s ease-out;
}

.edit-user-modal[b-egstdpnzra] {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp-b-egstdpnzra 0.3s ease-out;
    position: relative;
    z-index: 100000;
}

.edit-user-header[b-egstdpnzra] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.edit-user-title[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edit-user-icon[b-egstdpnzra] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.edit-user-icon .oi[b-egstdpnzra] {
    font-size: 1.2rem;
}

.edit-user-title h3[b-egstdpnzra] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.edit-user-close[b-egstdpnzra] {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.edit-user-close:hover[b-egstdpnzra] {
    background: #e9ecef;
    color: #333;
    transform: scale(1.1);
}

.edit-user-content[b-egstdpnzra] {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.edit-user-actions[b-egstdpnzra] {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.edit-user-actions .action-btn[b-egstdpnzra] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.edit-user-actions .action-btn.cancel[b-egstdpnzra] {
    background: #f8f9fa;
    color: #6c757d;
}

.edit-user-actions .action-btn.cancel:hover[b-egstdpnzra] {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

.edit-user-actions .action-btn.save[b-egstdpnzra] {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
}

.edit-user-actions .action-btn.save:hover[b-egstdpnzra] {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

/* Адаптивность для модального окна редактирования пользователя */
@media (max-width: 768px) {
    .edit-user-overlay[b-egstdpnzra] {
        padding: 0.5rem;
    }
    
    .edit-user-modal[b-egstdpnzra] {
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .edit-user-header[b-egstdpnzra] {
        padding: 1.25rem 1.25rem 1rem 1.25rem;
    }
    
    .edit-user-title h3[b-egstdpnzra] {
        font-size: 1.1rem;
    }
    
    .edit-user-icon[b-egstdpnzra] {
        width: 36px;
        height: 36px;
    }
    
    .edit-user-icon .oi[b-egstdpnzra] {
        font-size: 1.1rem;
    }
    
    .edit-user-content[b-egstdpnzra] {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }
    
    .edit-user-actions[b-egstdpnzra] {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .edit-user-actions .action-btn[b-egstdpnzra] {
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .edit-user-overlay[b-egstdpnzra] {
        padding: 0.25rem;
    }
    
    .edit-user-modal[b-egstdpnzra] {
        border-radius: 12px;
    }
    
    .edit-user-header[b-egstdpnzra] {
        padding: 1rem 1rem 0.75rem 1rem;
    }
    
    .edit-user-title h3[b-egstdpnzra] {
        font-size: 1rem;
    }
    
    .edit-user-icon[b-egstdpnzra] {
        width: 32px;
        height: 32px;
    }
    
    .edit-user-icon .oi[b-egstdpnzra] {
        font-size: 1rem;
    }
    
    .edit-user-content[b-egstdpnzra] {
        padding: 0.75rem 1rem 1rem 1rem;
    }
    
    .edit-user-actions .action-btn[b-egstdpnzra] {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
} 
/* _content/RFGMasterServer/Pages/UserStatistics.razor.rz.scp.css */
/* ===== ОСНОВНЫЕ СТИЛИ ===== */

/* Контейнер страницы */
.statistics-container[b-7ei2ix1d8j] {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Заголовок страницы */
.page-header[b-7ei2ix1d8j] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem 1rem 1.5rem !important;
    border-bottom: 2px solid #e9ecef !important;
}

.page-header h1[b-7ei2ix1d8j] {
    color: #333 !important;
    margin: 0 !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
}

.header-controls[b-7ei2ix1d8j] {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.user-selector[b-7ei2ix1d8j] {
    min-width: 300px !important;
}

.user-selector .form-select[b-7ei2ix1d8j] {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    transition: border-color 0.2s ease !important;
}

.user-selector .form-select:focus[b-7ei2ix1d8j] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.add-session-btn[b-7ei2ix1d8j] {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2) !important;
}

.add-session-btn:hover[b-7ei2ix1d8j] {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3) !important;
}

.add-session-btn .oi[b-7ei2ix1d8j] {
    font-size: 1.25rem !important;
    font-weight: bold !important;
}

/* Статистика */
.statistics-stats[b-7ei2ix1d8j] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem !important;
}

.stat-item[b-7ei2ix1d8j] {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
}

.stat-item:hover[b-7ei2ix1d8j] {
    transform: translateY(-2px) !important;
}

.stat-number[b-7ei2ix1d8j] {
    display: block !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    color: #4f46e5 !important;
    margin-bottom: 0.5rem !important;
}

.stat-label[b-7ei2ix1d8j] {
    display: block !important;
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

/* Фильтры */
.statistics-filters[b-7ei2ix1d8j] {
    background: white !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    margin-bottom: 2rem !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.statistics-filters .form-label[b-7ei2ix1d8j] {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
}

.statistics-filters .form-control[b-7ei2ix1d8j],
.statistics-filters .form-select[b-7ei2ix1d8j] {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    transition: border-color 0.2s ease !important;
} 

.statistics-filters .form-control:focus[b-7ei2ix1d8j],
.statistics-filters .form-select:focus[b-7ei2ix1d8j] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

/* Детальная статистика */
.detailed-stats[b-7ei2ix1d8j] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem !important;
}

.stats-card[b-7ei2ix1d8j] {
    background: white !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    transition: transform 0.2s ease !important;
}

.stats-card:hover[b-7ei2ix1d8j] {
    transform: translateY(-2px) !important;
}

.stats-card-header[b-7ei2ix1d8j] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.stats-card-icon[b-7ei2ix1d8j] {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
}

.stats-card-icon .oi[b-7ei2ix1d8j] {
    font-size: 1.5rem !important;
}

.stats-card-header h4[b-7ei2ix1d8j] {
    margin: 0 !important;
    color: white !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

.stats-card-content[b-7ei2ix1d8j] {
    padding: 1.5rem !important;
}

.stats-grid[b-7ei2ix1d8j] {
    display: grid !important;
    gap: 1rem !important;
}

.stats-item[b-7ei2ix1d8j] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.75rem !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    transition: background-color 0.2s ease !important;
}

.stats-item:hover[b-7ei2ix1d8j] {
    background: #e9ecef !important;
}

.stats-label[b-7ei2ix1d8j] {
    color: #6c757d !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.stats-value[b-7ei2ix1d8j] {
    color: #333 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* Таблица */
.table-responsive[b-7ei2ix1d8j] {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    margin-bottom: 2rem !important;
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.table[b-7ei2ix1d8j] {
    margin-bottom: 0 !important;
}

.table th[b-7ei2ix1d8j] {
    background-color: #f8fafc !important;
    border: none !important;
    font-weight: 600 !important;
    color: #374151 !important;
    padding: 1rem !important;
    font-size: 0.9rem !important;
}

.table td[b-7ei2ix1d8j] {
    padding: 1rem !important;
    vertical-align: middle !important;
    border-top: 1px solid #f1f5f9 !important;
}

.table th.sortable[b-7ei2ix1d8j] {
    cursor: pointer !important;
    user-select: none !important;
    transition: background-color 0.2s ease !important;
}

.table th.sortable:hover[b-7ei2ix1d8j] {
    background-color: #e2e8f0 !important;
}

.sort-indicator[b-7ei2ix1d8j] {
    margin-left: 0.5rem !important;
    font-weight: bold !important;
    color: #4f46e5 !important;
}

.table-row-clickable[b-7ei2ix1d8j] {
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.table-row-clickable:hover[b-7ei2ix1d8j] {
    background-color: #f8fafc !important;
}

/* Статусы */
.badge[b-7ei2ix1d8j] {
    font-size: 0.75rem !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

/* Мобильные карточки */
.sessions-cards-container[b-7ei2ix1d8j] {
    display: none !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1.5rem !important;
}

.session-card[b-7ei2ix1d8j] {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    padding: 1rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.session-card:hover[b-7ei2ix1d8j] {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    border-color: #4f46e5 !important;
}

.session-info[b-7ei2ix1d8j] {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.session-details[b-7ei2ix1d8j] {
    flex: 1 !important;
    min-width: 0 !important;
}

.session-site-duration[b-7ei2ix1d8j] {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
}

.session-site[b-7ei2ix1d8j] {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    line-height: 1.2 !important;
}

.session-duration[b-7ei2ix1d8j] {
    font-size: 1.1rem !important;
    color: #007bff !important;
    font-weight: 600 !important;
}

.session-date-status[b-7ei2ix1d8j] {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
}

.session-date[b-7ei2ix1d8j] {
    font-size: 0.85rem !important;
    color: #666 !important;
    font-weight: 500 !important;
}

/* Пустое состояние */
.empty-state[b-7ei2ix1d8j] {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state-icon[b-7ei2ix1d8j] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: white;
}

.empty-state-icon .oi[b-7ei2ix1d8j] {
    font-size: 2.5rem;
}

.empty-state h3[b-7ei2ix1d8j] {
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state p[b-7ei2ix1d8j] {
    color: #6b7280;
    margin: 0;
}

/* Загрузка */
.loading-container[b-7ei2ix1d8j] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.loading-spinner[b-7ei2ix1d8j] {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.loading-spinner.gradient[b-7ei2ix1d8j] {
    border-radius: 50%;
    background: conic-gradient(#0000 10%, #4f46e5);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 4px), #000 0);
    animation: spin-b-7ei2ix1d8j 1s infinite linear;
}

@keyframes spin-b-7ei2ix1d8j {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container p[b-7ei2ix1d8j] {
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* ===== МОБИЛЬНЫЕ СТИЛИ ===== */

@media (max-width: 768px) {
    /* Контейнер */
    .statistics-container[b-7ei2ix1d8j] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    /* Заголовок */
    .page-header[b-7ei2ix1d8j] {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
        padding: 0 1rem 1rem 1rem !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
    }

    .page-header h1[b-7ei2ix1d8j] {
        font-size: 1.5rem !important;
    }

    .header-controls[b-7ei2ix1d8j] {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .user-selector[b-7ei2ix1d8j] {
        min-width: 100% !important;
    }

    .add-session-btn[b-7ei2ix1d8j] {
        width: 44px !important;
        height: 44px !important;
        align-self: center !important;
    }

    .add-session-btn .oi[b-7ei2ix1d8j] {
        font-size: 1.1rem !important;
    }

    /* Статистика */
    .statistics-stats[b-7ei2ix1d8j] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .stat-item[b-7ei2ix1d8j] {
        padding: 1rem !important;
    }

    .stat-number[b-7ei2ix1d8j] {
        font-size: 1.5rem !important;
    }

    .stat-label[b-7ei2ix1d8j] {
        font-size: 0.8rem !important;
    }

    /* Фильтры */
    .statistics-filters[b-7ei2ix1d8j] {
        padding: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .statistics-filters .row[b-7ei2ix1d8j] {
        margin: 0 !important;
    }

    .statistics-filters .col-6[b-7ei2ix1d8j],
    .statistics-filters .col-12[b-7ei2ix1d8j] {
        padding: 0.5rem 0 !important;
    }

    /* Детальная статистика */
    .detailed-stats[b-7ei2ix1d8j] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .stats-card-header[b-7ei2ix1d8j] {
        padding: 1.25rem !important;
    }

    .stats-card-icon[b-7ei2ix1d8j] {
        width: 40px !important;
        height: 40px !important;
    }

    .stats-card-icon .oi[b-7ei2ix1d8j] {
        font-size: 1.25rem !important;
    }

    .stats-card-header h4[b-7ei2ix1d8j] {
        font-size: 1.1rem !important;
    }

    .stats-card-content[b-7ei2ix1d8j] {
        padding: 1.25rem !important;
    }

    .stats-item[b-7ei2ix1d8j] {
        padding: 0.625rem !important;
    }

    .stats-label[b-7ei2ix1d8j] {
        font-size: 0.85rem !important;
    }

    .stats-value[b-7ei2ix1d8j] {
        font-size: 0.9rem !important;
    }

    /* Скрываем таблицу на мобильных */
    .table-responsive[b-7ei2ix1d8j] {
        display: none !important;
    }

    /* Показываем мобильные карточки */
    .sessions-cards-container[b-7ei2ix1d8j] {
        display: flex !important;
    }

    .session-card[b-7ei2ix1d8j] {
        padding: 1rem !important;
    }

    .session-info[b-7ei2ix1d8j] {
        gap: 0.75rem !important;
    }

    .session-site[b-7ei2ix1d8j] {
        font-size: 0.95rem !important;
    }

    .session-duration[b-7ei2ix1d8j] {
        font-size: 1rem !important;
    }

    .session-date[b-7ei2ix1d8j] {
        font-size: 0.8rem !important;
    }

    .session-date-status[b-7ei2ix1d8j] {
        gap: 0.375rem !important;
    }

    .badge[b-7ei2ix1d8j] {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
    }
}

@media (max-width: 480px) {
    /* Контейнер */
    .statistics-container[b-7ei2ix1d8j] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    /* Заголовок */
    .page-header h1[b-7ei2ix1d8j] {
        font-size: 1.3rem !important;
    }

    .page-header[b-7ei2ix1d8j] {
        padding: 0 0.75rem 0.75rem 0.75rem !important;
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
    }

    .add-session-btn[b-7ei2ix1d8j] {
        width: 40px !important;
        height: 40px !important;
    }

    .add-session-btn .oi[b-7ei2ix1d8j] {
        font-size: 1rem !important;
    }

    /* Статистика */
    .statistics-stats[b-7ei2ix1d8j] {
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
    }

    .stat-item[b-7ei2ix1d8j] {
        padding: 0.75rem !important;
    }

    .stat-number[b-7ei2ix1d8j] {
        font-size: 1.25rem !important;
    }

    .stat-label[b-7ei2ix1d8j] {
        font-size: 0.75rem !important;
    }

    /* Фильтры */
    .statistics-filters[b-7ei2ix1d8j] {
        margin-bottom: 1rem !important;
    }

    /* Детальная статистика */
    .detailed-stats[b-7ei2ix1d8j] {
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .stats-card-header[b-7ei2ix1d8j] {
        padding: 1rem !important;
    }

    .stats-card-icon[b-7ei2ix1d8j] {
        width: 36px !important;
        height: 36px !important;
    }

    .stats-card-icon .oi[b-7ei2ix1d8j] {
        font-size: 1.1rem !important;
    }

    .stats-card-header h4[b-7ei2ix1d8j] {
        font-size: 1rem !important;
    }

    .stats-card-content[b-7ei2ix1d8j] {
        padding: 1rem !important;
    }

    .stats-item[b-7ei2ix1d8j] {
        padding: 0.5rem !important;
    }

    .stats-label[b-7ei2ix1d8j] {
        font-size: 0.8rem !important;
    }

    .stats-value[b-7ei2ix1d8j] {
        font-size: 0.85rem !important;
    }

    /* Карточки */
    .sessions-cards-container[b-7ei2ix1d8j] {
        gap: 0.75rem !important;
    }

    .session-card[b-7ei2ix1d8j] {
        padding: 0.75rem !important;
    }

    .session-info[b-7ei2ix1d8j] {
        gap: 0.5rem !important;
    }

    .session-site[b-7ei2ix1d8j] {
        font-size: 0.9rem !important;
    }

    .session-duration[b-7ei2ix1d8j] {
        font-size: 0.95rem !important;
    }

    .session-date[b-7ei2ix1d8j] {
        font-size: 0.75rem !important;
    }

    .badge[b-7ei2ix1d8j] {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.4rem !important;
    }
}

@media (max-width: 360px) {
    /* Контейнер */
    .statistics-container[b-7ei2ix1d8j] {
        padding: 0 !important;
        margin-left: -1.5rem !important;
        margin-right: -1.5rem !important;
    }

    /* Заголовок */
    .page-header h1[b-7ei2ix1d8j] {
        font-size: 1.2rem !important;
    }

    .page-header[b-7ei2ix1d8j] {
        padding: 0 0.5rem 0.5rem 0.5rem !important;
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }

    .add-session-btn[b-7ei2ix1d8j] {
        width: 36px !important;
        height: 36px !important;
    }

    .add-session-btn .oi[b-7ei2ix1d8j] {
        font-size: 0.9rem !important;
    }

    /* Статистика */
    .statistics-stats[b-7ei2ix1d8j] {
        gap: 0.5rem !important;
    }

    .stat-item[b-7ei2ix1d8j] {
        padding: 0.625rem !important;
    }

    .stat-number[b-7ei2ix1d8j] {
        font-size: 1.1rem !important;
    }

    .stat-label[b-7ei2ix1d8j] {
        font-size: 0.7rem !important;
    }

    /* Фильтры */
    .statistics-filters[b-7ei2ix1d8j] {
        padding: 0.625rem !important;
    }

    /* Детальная статистика */
    .detailed-stats[b-7ei2ix1d8j] {
        gap: 0.75rem !important;
    }

    .stats-card-header[b-7ei2ix1d8j] {
        padding: 0.875rem !important;
    }

    .stats-card-icon[b-7ei2ix1d8j] {
        width: 32px !important;
        height: 32px !important;
    }

    .stats-card-icon .oi[b-7ei2ix1d8j] {
        font-size: 1rem !important;
    }

    .stats-card-header h4[b-7ei2ix1d8j] {
        font-size: 0.95rem !important;
    }

    .stats-card-content[b-7ei2ix1d8j] {
        padding: 0.875rem !important;
    }

    .stats-item[b-7ei2ix1d8j] {
        padding: 0.375rem !important;
    }

    .stats-label[b-7ei2ix1d8j] {
        font-size: 0.75rem !important;
    }

    .stats-value[b-7ei2ix1d8j] {
        font-size: 0.8rem !important;
    }

    /* Карточки */
    .sessions-cards-container[b-7ei2ix1d8j] {
        gap: 0.5rem !important;
    }

    .session-card[b-7ei2ix1d8j] {
        padding: 0.625rem !important;
    }

    .session-site[b-7ei2ix1d8j] {
        font-size: 0.85rem !important;
    }

    .session-duration[b-7ei2ix1d8j] {
        font-size: 0.9rem !important;
    }

    .session-date[b-7ei2ix1d8j] {
        font-size: 0.7rem !important;
    }

         .badge[b-7ei2ix1d8j] {
         font-size: 0.6rem !important;
         padding: 0.15rem 0.3rem !important;
     }
 }

/* ===== СТИЛИ ДЛЯ ДОБАВЛЕНИЯ СМЕНЫ ===== */

/* Модальное окно */
.add-session-overlay[b-7ei2ix1d8j] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1050 !important;
    backdrop-filter: blur(4px) !important;
}

.add-session-modal[b-7ei2ix1d8j] {
    background: white !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    max-width: 600px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    animation: modalSlideIn-b-7ei2ix1d8j 0.3s ease !important;
}

@keyframes modalSlideIn-b-7ei2ix1d8j {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.add-session-header[b-7ei2ix1d8j] {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: white !important;
    padding: 1.5rem !important;
    border-radius: 16px 16px 0 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.add-session-title[b-7ei2ix1d8j] {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.add-session-icon[b-7ei2ix1d8j] {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.add-session-icon .oi[b-7ei2ix1d8j] {
    font-size: 1.5rem !important;
}

.add-session-title h3[b-7ei2ix1d8j] {
    margin: 0 !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
}

.add-session-close[b-7ei2ix1d8j] {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
    border-radius: 50% !important;
    transition: background-color 0.2s ease !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.add-session-close:hover[b-7ei2ix1d8j] {
    background: rgba(255, 255, 255, 0.2) !important;
}

.add-session-content[b-7ei2ix1d8j] {
    padding: 2rem !important;
}

.form-section h4[b-7ei2ix1d8j] {
    color: #374151 !important;
    margin-bottom: 1.5rem !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

.form-grid[b-7ei2ix1d8j] {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.form-group[b-7ei2ix1d8j] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.form-label[b-7ei2ix1d8j] {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 0.9rem !important;
}

.form-label .oi[b-7ei2ix1d8j] {
    color: #4f46e5 !important;
    font-size: 1rem !important;
}

.form-control[b-7ei2ix1d8j],
.form-select[b-7ei2ix1d8j] {
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    font-size: 0.9rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control:focus[b-7ei2ix1d8j],
.form-select:focus[b-7ei2ix1d8j] {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
    outline: none !important;
}

.add-session-actions[b-7ei2ix1d8j] {
    display: flex !important;
    gap: 1rem !important;
    justify-content: flex-end !important;
    padding-top: 1rem !important;
    border-top: 1px solid #e5e7eb !important;
}

.action-btn[b-7ei2ix1d8j] {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.action-btn.cancel[b-7ei2ix1d8j] {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
}

.action-btn.cancel:hover[b-7ei2ix1d8j] {
    background: #e5e7eb !important;
    color: #374151 !important;
}

.action-btn.add[b-7ei2ix1d8j] {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: white !important;
}

.action-btn.add:hover[b-7ei2ix1d8j] {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

/* Мобильные стили для модального окна */
@media (max-width: 768px) {
    .add-session-modal[b-7ei2ix1d8j] {
        width: 95% !important;
        max-height: 95vh !important;
        margin: 1rem !important;
    }

    .add-session-header[b-7ei2ix1d8j] {
        padding: 1.25rem !important;
    }

    .add-session-title h3[b-7ei2ix1d8j] {
        font-size: 1.25rem !important;
    }

    .add-session-icon[b-7ei2ix1d8j] {
        width: 40px !important;
        height: 40px !important;
    }

    .add-session-icon .oi[b-7ei2ix1d8j] {
        font-size: 1.25rem !important;
    }

    .add-session-content[b-7ei2ix1d8j] {
        padding: 1.5rem !important;
    }

    .form-grid[b-7ei2ix1d8j] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .add-session-actions[b-7ei2ix1d8j] {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .action-btn[b-7ei2ix1d8j] {
        justify-content: center !important;
        padding: 1rem !important;
    }
}

@media (max-width: 480px) {
    .add-session-modal[b-7ei2ix1d8j] {
        width: 98% !important;
        margin: 0.5rem !important;
    }

    .add-session-header[b-7ei2ix1d8j] {
        padding: 1rem !important;
    }

    .add-session-title h3[b-7ei2ix1d8j] {
        font-size: 1.1rem !important;
    }

    .add-session-content[b-7ei2ix1d8j] {
        padding: 1rem !important;
    }

    .form-grid[b-7ei2ix1d8j] {
        gap: 0.75rem !important;
    }

    .action-btn[b-7ei2ix1d8j] {
        padding: 0.875rem !important;
        font-size: 0.85rem !important;
    }
} 
/* _content/RFGMasterServer/Pages/WorkTypes.razor.rz.scp.css */
.work-types-container[b-hjot2qw0eg] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.page-header[b-hjot2qw0eg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.page-header h1[b-hjot2qw0eg] {
    color: #333;
    margin: 0;
}

.work-types-stats[b-hjot2qw0eg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item[b-hjot2qw0eg] {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number[b-hjot2qw0eg] {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.stat-label[b-hjot2qw0eg] {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.work-types-filters[b-hjot2qw0eg] {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table-responsive[b-hjot2qw0eg] {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.table th.sortable[b-hjot2qw0eg] {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.table th.sortable:hover[b-hjot2qw0eg] {
    background-color: #f8f9fa;
}

.sort-indicator[b-hjot2qw0eg] {
    margin-left: 0.5rem;
    font-weight: bold;
    color: #007bff;
}

.action-buttons[b-hjot2qw0eg] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.empty-state[b-hjot2qw0eg] {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.empty-state-icon[b-hjot2qw0eg] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3[b-hjot2qw0eg] {
    color: #333;
    margin-bottom: 0.5rem;
}

.empty-state p[b-hjot2qw0eg] {
    color: #666;
    margin: 0;
}

/* Мобильные карточки */
.work-types-cards-container[b-hjot2qw0eg] {
    display: none;
    gap: 1rem;
    margin-bottom: 2rem;
}

.work-type-card[b-hjot2qw0eg] {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.work-type-card:hover[b-hjot2qw0eg] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #007bff;
}

.work-type-card.work-type-disabled[b-hjot2qw0eg] {
    opacity: 0.7;
    background-color: #f8f9fa;
}

.work-type-card-header[b-hjot2qw0eg] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.work-type-info[b-hjot2qw0eg] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.work-type-icon[b-hjot2qw0eg] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.work-type-details[b-hjot2qw0eg] {
    flex: 1;
    min-width: 0;
}

.work-type-details .work-type-name[b-hjot2qw0eg] {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.work-type-details .work-type-section[b-hjot2qw0eg] {
    font-size: 0.85rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.work-type-status[b-hjot2qw0eg] {
    flex-shrink: 0;
}

.work-type-card-menu[b-hjot2qw0eg] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-item[b-hjot2qw0eg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.menu-item .oi[b-hjot2qw0eg] {
    font-size: 0.9rem;
    width: 16px;
}

.edit-item[b-hjot2qw0eg] {
    background: #e3f2fd;
    color: #1976d2;
}

.edit-item:hover[b-hjot2qw0eg] {
    background: #bbdefb;
    color: #1565c0;
}

.activate-item[b-hjot2qw0eg] {
    background: #e8f5e8;
    color: #2e7d32;
}

.activate-item:hover[b-hjot2qw0eg] {
    background: #c8e6c9;
    color: #1b5e20;
}

.close-item[b-hjot2qw0eg] {
    background: #fff3e0;
    color: #f57c00;
}

.close-item:hover[b-hjot2qw0eg] {
    background: #ffe0b2;
    color: #ef6c00;
}

/* Утилиты для отображения */
.desktop-only[b-hjot2qw0eg] {
    display: block;
}

.mobile-only[b-hjot2qw0eg] {
    display: none;
}

/* Медиа-запросы для адаптивности */

/* Планшеты */
@media (max-width: 1024px) and (min-width: 769px) {
    .work-types-container[b-hjot2qw0eg] {
        padding: 0 15px;
    }

    .work-types-stats[b-hjot2qw0eg] {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-item[b-hjot2qw0eg] {
        padding: 1.25rem;
    }

    .stat-number[b-hjot2qw0eg] {
        font-size: 1.75rem;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .work-types-container[b-hjot2qw0eg] {
        padding: 0 10px;
    }

    .page-header[b-hjot2qw0eg] {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .page-header h1[b-hjot2qw0eg] {
        font-size: 1.5rem;
    }

    .work-types-stats[b-hjot2qw0eg] {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .stat-item[b-hjot2qw0eg] {
        padding: 1rem;
    }

    .stat-number[b-hjot2qw0eg] {
        font-size: 1.5rem;
    }

    .stat-label[b-hjot2qw0eg] {
        font-size: 0.8rem;
    }

    .work-types-filters[b-hjot2qw0eg] {
        padding: 1rem;
    }

    .work-types-filters .row[b-hjot2qw0eg] {
        margin: 0;
    }

    .work-types-filters .col-md-4[b-hjot2qw0eg],
    .work-types-filters .col-md-3[b-hjot2qw0eg] {
        padding: 0.5rem 0;
    }

    /* Переключаем на мобильные карточки */
    .desktop-only[b-hjot2qw0eg] {
        display: none !important;
    }

    .mobile-only[b-hjot2qw0eg] {
        display: flex !important;
        flex-direction: column;
    }

    .work-type-card[b-hjot2qw0eg] {
        padding: 0.875rem;
    }

    .work-type-card-header[b-hjot2qw0eg] {
        margin-bottom: 0.75rem;
    }

    .work-type-icon[b-hjot2qw0eg] {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .work-type-details .work-type-name[b-hjot2qw0eg] {
        font-size: 0.95rem;
    }

    .work-type-details .work-type-section[b-hjot2qw0eg] {
        font-size: 0.8rem;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
    .work-types-container[b-hjot2qw0eg] {
        padding: 0 5px;
    }

    .page-header h1[b-hjot2qw0eg] {
        font-size: 1.3rem;
    }

    .work-types-stats[b-hjot2qw0eg] {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .stat-item[b-hjot2qw0eg] {
        padding: 0.75rem;
    }

    .stat-number[b-hjot2qw0eg] {
        font-size: 1.25rem;
    }

    .stat-label[b-hjot2qw0eg] {
        font-size: 0.75rem;
    }

    .work-types-filters[b-hjot2qw0eg] {
        padding: 0.75rem;
    }

    .work-type-card[b-hjot2qw0eg] {
        padding: 0.75rem;
    }

    .work-type-card-header[b-hjot2qw0eg] {
        margin-bottom: 0.75rem;
    }

    .work-type-icon[b-hjot2qw0eg] {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .work-type-details .work-type-name[b-hjot2qw0eg] {
        font-size: 0.9rem;
    }

    .work-type-details .work-type-section[b-hjot2qw0eg] {
        font-size: 0.75rem;
    }
}

/* Экстремально маленькие экраны */
@media (max-width: 360px) {
    .work-types-container[b-hjot2qw0eg] {
        padding: 0 2px;
    }

    .page-header h1[b-hjot2qw0eg] {
        font-size: 1.2rem;
    }

    .work-types-stats[b-hjot2qw0eg] {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
    }

    .stat-item[b-hjot2qw0eg] {
        padding: 0.625rem;
    }

    .stat-number[b-hjot2qw0eg] {
        font-size: 1.1rem;
    }

    .stat-label[b-hjot2qw0eg] {
        font-size: 0.7rem;
    }

    .work-types-filters[b-hjot2qw0eg] {
        padding: 0.625rem;
    }

    .work-type-card[b-hjot2qw0eg] {
        padding: 0.625rem;
    }

    .work-type-card-header[b-hjot2qw0eg] {
        margin-bottom: 0.625rem;
    }

    .work-type-icon[b-hjot2qw0eg] {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .work-type-details .work-type-name[b-hjot2qw0eg] {
        font-size: 0.85rem;
    }

    .work-type-details .work-type-section[b-hjot2qw0eg] {
        font-size: 0.7rem;
    }
} 
/* _content/RFGMasterServer/Shared/MobileBottomNav.razor.rz.scp.css */
/* Мобильная нижняя панель навигации */
.mobile-bottom-nav[b-lhbe0e7xl9] {
    display: none; /* По умолчанию скрыта на десктопе */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(229, 231, 235, 0.5);
    padding: 0 !important;
    margin: 0 !important;
    z-index: 1000;
    box-shadow: 0 -1px 20px rgba(0, 0, 0, 0.08);
    line-height: 1;
    font-size: 0;
}

.mobile-bottom-nav .nav-item[b-lhbe0e7xl9] {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: stretch;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1;
}

.mobile-bottom-nav .nav-link[b-lhbe0e7xl9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    color: #9ca3af;
    text-decoration: none;
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    transition: all 0.2s ease;
    border-radius: 0;
    margin: 0 !important;
    min-height: 50px;
    line-height: 1;
    font-size: 0;
}

.mobile-bottom-nav .nav-link:hover[b-lhbe0e7xl9],
.mobile-bottom-nav .nav-link.active[b-lhbe0e7xl9] {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.mobile-bottom-nav .nav-icon[b-lhbe0e7xl9] {
    font-size: 1.2rem;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
    transition: all 0.2s ease;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.mobile-bottom-nav .nav-icon svg[b-lhbe0e7xl9] {
    width: 1.2rem;
    height: 1.2rem;
    color: #9ca3af;
}

.mobile-bottom-nav .nav-link:hover .nav-icon svg[b-lhbe0e7xl9],
.mobile-bottom-nav .nav-link.active .nav-icon svg[b-lhbe0e7xl9] {
    color: #3b82f6;
}

.mobile-bottom-nav .nav-link:hover .nav-icon[b-lhbe0e7xl9],
.mobile-bottom-nav .nav-link.active .nav-icon[b-lhbe0e7xl9] {
    opacity: 1;
    transform: scale(1.1);
}

.mobile-bottom-nav .nav-label[b-lhbe0e7xl9] {
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #9ca3af;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    margin: 0 !important;
    padding: 0 !important;
    height: auto;
}

.mobile-bottom-nav .nav-link:hover .nav-label[b-lhbe0e7xl9],
.mobile-bottom-nav .nav-link.active .nav-label[b-lhbe0e7xl9] {
    opacity: 1;
}





/* Показываем мобильную панель только на мобильных устройствах */
@media (max-width: 768px) {
    .mobile-bottom-nav[b-lhbe0e7xl9] {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: space-around;
        min-height: 50px;
        height: 50px;
    }
    
    .mobile-bottom-nav *[b-lhbe0e7xl9] {
        box-sizing: border-box;
    }
    
    /* Убираем старую навигацию на мобильных */
    .sidebar[b-lhbe0e7xl9] {
        display: none !important;
    }
    
    /* Убираем верхнюю панель с кнопкой меню на мобильных */
    .top-row.navbar[b-lhbe0e7xl9] {
        display: none !important;
    }
    
    /* Корректируем основной контент */
    .main-content[b-lhbe0e7xl9] {
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 50px !important; /* Отступ для нижней панели */
        width: 100%;
    }
    
    /* Корректируем верхнюю панель с пользователем */
    .top-row.auth[b-lhbe0e7xl9] {
        position: sticky;
        top: 0;
        z-index: 999;
        background: white;
        border-bottom: 1px solid #e5e7eb;
        padding: 0.75rem 1rem;
        margin: 0;
    }
}

    /* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .main-content[b-lhbe0e7xl9] {
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 50px !important;
        width: 100%;
        padding: 0 !important;
    }
    
    .mobile-bottom-nav .nav-icon[b-lhbe0e7xl9] {
        font-size: 1rem;
    }
    
    .mobile-bottom-nav .nav-label[b-lhbe0e7xl9] {
        font-size: 0.6rem;
    }
    
    .more-menu[b-lhbe0e7xl9] {
        max-height: 70vh;
    }
}

@media (max-width: 360px) {
    .main-content[b-lhbe0e7xl9] {
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 50px !important;
        width: 100%;
        padding: 0 !important;
    }
} 
/* _content/RFGMasterServer/Shared/NavMenu.razor.rz.scp.css */
.top-row[b-rmnkvuwo6p] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-rmnkvuwo6p] {
    font-size: 1.1rem;
}

.oi[b-rmnkvuwo6p] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-rmnkvuwo6p] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-rmnkvuwo6p] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-rmnkvuwo6p] {
        padding-bottom: 1rem;
    }

    .nav-item[b-rmnkvuwo6p]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-rmnkvuwo6p]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-rmnkvuwo6p]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .collapse[b-rmnkvuwo6p] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
} 
