h1{
    color: #082f49;
}

h4{
    color: #0c4a6e;
}

.card{
    background-color: #f9fafb !important; /* Light gray background */
}

.btn-secondary{
     background-color: #0284c7; /* Blue background */
    border-color: #0369a1;
}

.nav-link{
    color: #0369a1;
}

.btn-success{
    background-color: #10b981; /* Blue background */
    border-color: #059669;
}

body{
    background-color: #f1f5f9;
}

.nav-item{
    border: 1px solid #ddd;
    background-color: #f9fafb;
}

.nav-item .active{
    background-color: #0284c7 !important; /* Darker gray for active state */
    color: #fff !important;
}
.matrix-row {
    margin-bottom: 10px; /* Add spacing between rows */
}

#matrixGrid {
    display: flex;
    flex-direction: column; /* Ensure rows are stacked vertically */
    gap: 10px; /* Space between rows */
}

.result-container {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.result-container h3 {
    text-align: center;
    color: #333;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.result-table th, .result-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.result-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.result-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.result-table tr:hover {
    background-color: #f1f1f1;
}

.result-table td strong {
    color: #0ea5e9;
}

.result-table td i {
    color: #fb7185;
}

.result-table-container {
    overflow-x: auto;
    max-width: 100%;
}

.result-table {
    border-collapse: separate;
    min-width: 600px;
}

.result-table th:first-child,
.result-table td:first-child {
    position: sticky;
    left: 0;
    background: #f8f9fa; /*TODO: Change to white?*/
    z-index: 2;
}

/* Change background color for SDPModal */
#SDPModal .modal-content {
    background-color: #f0f8ff; /* Light blue */
}

/* Change background color for matrixModal */
#matrixModal .modal-content {
    background-color: #f0f8ff; /* Light blue */
}