/* Laravel Application CSS */

/* Custom styles for modal */
.modal-dialog {
    max-width: 600px;
    margin: 30px auto;
}

.modal-body img {
    width: 100%;
    height: auto;
}

/* Popup modal specific styles */
.popup-modal {
    z-index: 9999 !important;
}

.popup-modal .modal-backdrop {
    z-index: 9998 !important;
}

.popup-modal .modal-content {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-modal .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
}

.popup-modal .modal-body {
    padding: 1.5rem;
}

.popup-modal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
}

.popup-modal .modal-body img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Bootstrap 4.6 모달 오버라이드 */
.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.modal.show {
    display: block !important;
}

.modal.fade.show {
    opacity: 1 !important;
}

/* 디버깅용 강제 표시 클래스 */
.modal.force-show {
    display: block !important;
    opacity: 1 !important;
    z-index: 99999 !important;
}

.modal.force-show .modal-backdrop {
    display: block !important;
    opacity: 0.5 !important;
    z-index: 99998 !important;
}

