/* Custom styles for light theme */
.card {
    border-color: #dee2e6;
    background-color: #fff;
}

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

/* Spinner customization */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Table customization */
.table {
    margin-bottom: 0;
    color: #212529;
}

/* Form focus states */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Table image customization */
.table-image {
    max-height: 200px;
    width: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

.table-image:hover {
    transform: scale(1.05);
}

/* Modal customization */
.modal-content {
    background-color: #fff;
    border-radius: 8px;
}

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

.modal-body {
    padding: 1rem;
}

#modalImage {
    max-height: 80vh;
    width: auto;
}

/* Button customization - Custom burgundy color matching logo */
.btn-primary {
    background-color: #722f37;
    border-color: #722f37;
    color: #fff;
}

.btn-primary:hover {
    background-color: #5d252a;
    border-color: #5d252a;
    color: #fff;
}

.btn-primary:focus, .btn-primary.focus {
    background-color: #5d252a;
    border-color: #5d252a;
    box-shadow: 0 0 0 0.25rem rgba(114, 47, 55, 0.25);
}

.btn-primary:active, .btn-primary.active {
    background-color: #5d252a;
    border-color: #5d252a;
}

/* Alert customization */
.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    .table-image {
        max-height: 150px;
    }
    #modalImage {
        max-width: 100%;
        height: auto;
    }
}