/**
 * Стили для страницы диагностики
 *
 * Подключается через $additionalCSS на diagnostics.php.
 * Секции, элементы, статусы (success, error, warning, info).
 */

.diagnostic-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.diagnostic-section h6 {
    margin-bottom: 15px;
    color: #495057;
    font-weight: 600;
}

.diagnostic-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #dee2e6;
    transition: all 0.3s;
}

.diagnostic-item:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.diagnostic-item.success {
    border-left-color: #28a745;
    background: #d4edda;
}

.diagnostic-item.error {
    border-left-color: #dc3545;
    background: #f8d7da;
}

.diagnostic-item.warning {
    border-left-color: #ffc107;
    background: #fff3cd;
}

.diagnostic-item.info {
    border-left-color: #17a2b8;
    background: #d1ecf1;
}

.diagnostic-item.loading {
    border-left-color: #6c757d;
    background: #e9ecef;
}

.diagnostic-item-name {
    flex: 1;
    font-weight: 500;
}

.diagnostic-item-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.diagnostic-icon {
    font-size: 1.2rem;
}

.diagnostic-icon.success {
    color: #28a745;
}

.diagnostic-icon.error {
    color: #dc3545;
}

.diagnostic-icon.warning {
    color: #ffc107;
}

.diagnostic-icon.info {
    color: #17a2b8;
}

.diagnostic-icon.loading {
    color: #6c757d;
}

.diagnostic-message {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 5px;
}

.diagnostic-summary {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 2px solid #dee2e6;
}

.diagnostic-summary.success {
    border-color: #28a745;
    background: #d4edda;
}

.diagnostic-summary.error {
    border-color: #dc3545;
    background: #f8d7da;
}

.diagnostic-summary.warning {
    border-color: #ffc107;
    background: #fff3cd;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

