/* Audit Tool Styles */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    background-color: #fff;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
    font-weight: 600;
}

.audit-status {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.audit-status.draft {
    background-color: #fff3cd;
    color: #856404;
}

.audit-status.completed {
    background-color: #d1e7dd;
    color: #0f5132;
}

.audit-status.archived {
    background-color: #e2e3e5;
    color: #41464b;
}

.action-status {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.action-status.offen {
    background-color: #f8d7da;
    color: #721c24;
}

.action-status.in_bearbeitung {
    background-color: #fff3cd;
    color: #856404;
}

.action-status.abgeschlossen {
    background-color: #d1e7dd;
    color: #0f5132;
}

.question-card {
    border-left: 4px solid #dee2e6;
    margin-bottom: 1rem;
}

.question-card.erfuellt {
    border-left-color: #198754;
}

.question-card.offen {
    border-left-color: #dc3545;
}

.question-card.nicht_anwendbar {
    border-left-color: #6c757d;
}

.answer-radio {
    margin-right: 1rem;
}

.comments-area {
    margin-top: 1rem;
}

.sidebar {
    background-color: #fff;
    border-right: 1px solid #dee2e6;
    min-height: calc(100vh - 56px);
}

.sidebar .nav-link {
    color: #495057;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin: 0.125rem 0;
}

.sidebar .nav-link:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

.sidebar .nav-link.active {
    background-color: #0d6efd;
    color: #fff;
}

.main-content {
    padding: 2rem;
}

.stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.stats-card h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.stats-card p {
    margin: 0;
    opacity: 0.9;
}

.progress-bar {
    height: 0.5rem;
    border-radius: 0.25rem;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.alert {
    border-radius: 0.5rem;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

.badge {
    font-size: 0.75rem;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
}

.btn-group .btn {
    border-radius: 0.25rem;
}

.btn-group .btn:not(:last-child) {
    margin-right: 0.25rem;
}

@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .sidebar {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .stats-card {
        text-align: center;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    body {
        background-color: white;
    }
} 