body{
    background-color: #f8f9fa;
}
.graph_outer {
    border: 1px solid darkslategrey;
    padding: 10px 4px 0 4px;
    margin: 10px;
}

svg {
    margin-top: -7px;
    border-left: 1px solid darkslategray;
}

.graph_title {
    background: darkslategrey;
    color: white
}

.score_graph {
    color: white;
    border: 1px solid white;
    background-color: forestgreen;
    box-shadow: 2px 2px 2px darkslategray;
}

.btn-dark {
    margin: 2px;
}

.link-images {
    height: 200px;
    width: 300px;
    max-height: 200px;
    max-width: 300px;
}

img {
    height: 120px;
    max-height: 100%;
}

.page-header {
    font-size: 300%;
    font-family: 'Arial Narrow', sans-serif;
    font-weight: bold;
    background-color: darkblue;
    color: yellow;
    box-shadow: cornflowerblue 1px 5px 5px 1px;
    margin-bottom: 5px;
}
/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
}

.modal-content {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #007bff;
    color: white;
    border-bottom: 1px solid #e9ecef;
}

input:read-only {
    background-color:#e9ecef;!important;
}
.modal-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.modal-footer button {
    width: 100px;
}

.form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-shadow: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

#data_table {
    font-size: 0.9rem;
    color: #212529;
}

#data_table th {
    background-color: #007bff;
    color: white;
    text-align: center;
    vertical-align: middle;
}

#data_table td {
    text-align: center;
    vertical-align: middle;
}

#data_table .edit-btn {
    background-color: #ffc107;
    color: black;
}

/* Buttons */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}


.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

/* Form Field Labels */
label {
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 15px;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 95%;
    }

    .modal-title {
        font-size: 1rem;
    }

    #data_table {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
    }

    .modal-title {
        font-size: 0.9rem;
    }

    #data_table {
        font-size: 0.75rem;
    }
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus {
    outline: none !important;
    box-shadow: 0 0 3px rgba(38, 143, 255, 0.5);
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dee2e6;
}

th,
td {
    padding: 8px 10px;
}

th {
    background-color: #007bff;
    color: white;
}

td {
    border: 1px solid #dee2e6;
}

.table-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.alert-custom {
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.btn-close-custom {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
}
.btn-close-custom:hover {
    color: #495057;
}