/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

/* Modal Content Box */
.modal-content {
    width: 98%;
    max-width: 1500px;
    height: 98vh;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Modal Header Bar */
.modal-header {
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modal Close Button */
.modal-close {
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
}

/* Modal Body */
.modal-body {
    flex-grow: 1;
    position: relative;
}

/* Iframe inside Modal */
.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Button Styling (optional enhancements) */
.open-button,
.toggle-button {
    padding: 6px 12px;
    margin: 4px 4px 0 0;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #888;
    background-color: #f0f0f0;
}

.open-button:hover,
.toggle-button:hover {
    background-color: #e0e0e0;
}