/* Custom styles for Risk Management System */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* Card shadows */
.card {
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Table styles */
.table-hover tbody tr:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

/* Button spacing */
.btn + .btn {
    margin-left: 0.5rem;
}

/* Form labels */
.form-label {
    font-weight: 500;
    color: #495057;
}

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

/* Loading spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Risk indicators */
.risk-high {
    color: #dc3545;
    font-weight: bold;
}

.risk-medium {
    color: #ffc107;
    font-weight: bold;
}

.risk-low {
    color: #28a745;
}

/* Project tree specific */
.project-tree small {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Modal custom width */
.modal-lg {
    max-width: 800px;
}

/* Responsive tables */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }
}
