﻿/**
 * Custom Bootstrap 3 Modal - Minimal additional styles
 * Works with existing Bootstrap 3.3.0 CSS
 */

/* Ensure bootbox-body content is visible */
.bootbox-body {
    /* Let Bootstrap 3 modal-body handle styling */
}

/* Bootstrap 3 already handles .modal, .modal-backdrop, .modal-dialog, etc. */
/* We only need to ensure our custom classes don't conflict */

/* Optional: Additional styling for bootbox-close-button if needed */
.bootbox-close-button {
    /* Bootstrap 3 .close class already handles styling */
}

/* Ensure modal-open class works correctly */
body.modal-open {
    overflow: hidden;
}

/* Additional backdrop support if needed */
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

    .modal-backdrop.fade {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    .modal-backdrop.in {
        opacity: 0.5;
        filter: alpha(opacity=50);
    }

/* Ensure modals appear above backdrop */
.modal {
    z-index: 1050;
}

/* Bootbox compatibility */
.bootbox.modal {
    /* Bootstrap 3 handles all modal styling */
}

.bootbox .bootbox-body {
    /* Content wrapper - no additional styling needed */
}

/* Close button positioning in body */
.modal-body .bootbox-close-button {
    float: right;
    margin-right: -2px;
}
