.sortable {
    list-style-type: none;
    padding-left: 0;
}

.list-group-item {
    border: 1px solid #dee2e6;
    margin-bottom: 5px;
    padding: 10px;
    background-color: #f8f9fa;
    position: relative;
}

.nested {
    margin-left: 20px;
}

.category-header {
    background-color: #e9ecef;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.action-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    width: auto;
    min-width: 150px;
    justify-content: flex-end;
}

.form-container {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #dee2e6;
    background-color: #fff;
}

.flash-messages {
    margin-top: 20px;
}

.container {
    max-width: 1200px;
    padding-bottom: 20px;
}

.btn-icon {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-text {
    padding: 5px 10px;
}

.protocol-header {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 20px;
}

.date-specialist-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.date-specialist-row input,
.date-specialist-row select {
    flex: 1;
}

.resizable-textarea {
    resize: vertical;
}

.entries-container {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.entry-header {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.collapsible-header {
    cursor: pointer;
    margin-bottom: 5px;
}

.collapsible-content {
    padding-left: 10px;
}

/* === DASHBOARD STYLES === */
/* Стили Dashboard перенесены в design-system-unified.css для избежания конфликтов */
/* 
.dashboard-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: -20px -15px;
    padding: 20px;
}

.welcome-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stats-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #dc3545);
}

.stats-icon i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #007bff, #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.weather-card {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
}

.weather-card .card-title {
    color: white;
}

.weather-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.temperature {
    font-size: 3rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.schedule-card .admin-item {
    background: linear-gradient(90deg, #f8f9fa, #e9ecef);
    border-left: 4px solid #007bff;
    transition: all 0.2s ease;
}

.schedule-card .admin-item:hover {
    background: linear-gradient(90deg, #e3f2fd, #bbdefb);
    transform: translateX(5px);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.quick-action-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    padding: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-action-btn::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;
}

.quick-action-btn:hover::before {
    left: 100%;
}

.quick-action-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: white;
}
*/

/* === CHILDREN LIST STYLES === */
.children-list-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    margin: -20px -15px;
    padding: 20px;
}

.page-title {
    background: linear-gradient(45deg, #007bff, #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 300;
}

.search-filters-card .card,
.children-table-card .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.child-row {
    transition: all 0.3s ease;
}

.child-row:hover {
    background: linear-gradient(90deg, #f8f9fa, #e3f2fd);
    transform: scale(1.01);
}

.age-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
    transition: all 0.2s ease;
}

.age-badge:hover {
    transform: scale(1.05);
}

.action-btn {
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: width 0.3s, height 0.3s, top 0.3s, left 0.3s;
}

.action-btn:hover::before {
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
}

/* === ANIMATIONS === */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.dashboard-card,
.search-filters-card .card,
.children-table-card .card {
    animation: slideInUp 0.6s ease;
}

.child-row {
    animation: fadeIn 0.4s ease;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .dashboard-container,
    .children-list-container {
        margin: -15px -15px;
        padding: 15px;
    }
    
    .welcome-card {
        padding: 25px;
    }
    
    .welcome-title {
        font-size: 1.8rem !important;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .weather-content {
        flex-direction: column;
        gap: 15px;
    }
}

/* === SCROLLBAR CUSTOMIZATION === */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}
