/* AP Resolve Custom Styles */

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Status Badges */
.status-new { background-color: #6c757d; color: white; }
.status-triaged { background-color: #17a2b8; color: white; }
.status-needs_info { background-color: #ffc107; color: black; }
.status-pending_approval { background-color: #fd7e14; color: white; }
.status-approved { background-color: #28a745; color: white; }
.status-executed { background-color: #20c997; color: white; }
.status-resolved { background-color: #198754; color: white; }
.status-escalated { background-color: #dc3545; color: white; }
.status-rejected { background-color: #6f42c1; color: white; }

/* Risk Badges */
.risk-low { background-color: #28a745; color: white; }
.risk-medium { background-color: #ffc107; color: black; }
.risk-high { background-color: #dc3545; color: white; }

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

.card-header {
    font-weight: 600;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Timeline */
.timeline-item {
    padding-left: 1rem;
    border-left: 2px solid #dee2e6;
    margin-left: 0.5rem;
}

.timeline-item:last-child {
    border-left-color: transparent;
}

.timeline-icon {
    margin-left: -1.5rem;
    background: white;
    padding: 0.25rem;
}

/* Progress bar */
.progress {
    border-radius: 0.5rem;
}

/* Tables */
.table th {
    font-weight: 600;
    color: #495057;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0c63e4;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
}

/* Form controls */
.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn {
    border-radius: 0.375rem;
}

/* Alert */
.alert {
    border-radius: 0.5rem;
}

/* Code/Pre */
pre {
    font-size: 0.8rem;
    background-color: #f8f9fa;
}

/* Kill switch indicator */
#kill-switch-indicator {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* Footer */
.footer {
    border-top: 1px solid #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
}
