.preview-image {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.form-section {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section h4 {
    margin-bottom: 1rem;
    color: #0d6efd;
}

.select2-container--bootstrap-5 {
    width: 100% !important;
}

.table-responsive {
    margin-top: 1rem;
}

.table th {
    background-color: #f8f9fa;
}

.detail-section {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-section h4 {
    margin-bottom: 1rem;
    color: #0d6efd;
}

.detail-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.detail-image:hover {
    transform: scale(1.02);
}

.detail-label {
    font-weight: 600;
    color: #495057;
}

.detail-value {
    color: #212529;
}

.image-container {
    text-align: center;
    margin-bottom: 1rem;
}

.image-container img {
    margin-bottom: 0.5rem;
}

.image-container p {
    margin: 0;
    color: #6c757d;
}

/* Modal styles */
.modal-fullscreen .modal-content {
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.modal-fullscreen .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.modal-fullscreen img {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
    overflow: hidden;
}

.modal-fullscreen .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: white;
    opacity: 0.8;
}

.modal-fullscreen .btn-close:hover {
    opacity: 1;
}

/* Navbar styles */
.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.nav-link {
    font-weight: 500;
}

.nav-link.active {
    font-weight: 600;
}
