/* Дополнительный визуал для новой админ-панели */

.admin-grid {
    grid-template-columns: 1fr !important;
}

.admin-deals-section {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-left: 6px solid #0284c7 !important;
}

.admin-deals-section h2 {
    color: #075985 !important;
}

.admin-deals-section .hint {
    color: #0369a1 !important;
}

.admin-deals-section th {
    background: #e0f2fe !important;
    color: #075985 !important;
}

.admin-clients-section {
    background: #fefce8 !important;
    border: 1px solid #fde68a !important;
    border-left: 6px solid #eab308 !important;
}

.admin-clients-section h2 {
    color: #713f12 !important;
}

.admin-clients-section .hint {
    color: #854d0e !important;
}

.admin-clients-section th {
    background: #fef3c7 !important;
    color: #713f12 !important;
}

.admin-measurements-section {
    background: #f5f3ff !important;
    border: 1px solid #ddd6fe !important;
    border-left: 6px solid #8b5cf6 !important;
}

.admin-measurements-section h2 {
    color: #5b21b6 !important;
}

.admin-measurements-section .hint {
    color: #6d28d9 !important;
}

.admin-measurements-section th {
    background: #ede9fe !important;
    color: #4c1d95 !important;
}

#employeesSection {
    background: #f8fafc !important;
    border-left: 6px solid #64748b !important;
}

#buildersSection {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-left: 6px solid #22c55e !important;
}

#buildersSection h2 {
    color: #166534 !important;
}

#buildersSection .hint {
    color: #15803d !important;
}

#buildersSection th {
    background: #dcfce7 !important;
    color: #14532d !important;
}

.admin-actions {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 9996 !important;
    grid-template-columns: repeat(4, 1fr) !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 -8px 24px rgba(0,0,0,.10) !important;
}

.admin-live-row {
    animation: rowFade .7s ease;
}

@keyframes rowFade {
    from { background: #ecfeff; }
    to { background: #ffffff; }
}

@media (max-width: 950px) {
    .admin-actions {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
        padding: 8px !important;
    }

    .admin-actions button {
        font-size: 12px !important;
        min-height: 56px !important;
        padding: 8px 4px !important;
    }
}
