/* Styles for custom popups like the welcome video banner */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 640px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}
/* This class is used by JS to find close buttons, and for a common cursor */
.modal-close {
    cursor: pointer;
}
a.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #555;
    text-decoration: none;
    line-height: 1;
}
.modal-header h2 {
    margin-top: 0;
    color: #333;
}
.modal-body .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 20px;
}
.modal-body .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.modal-footer {
    text-align: right;
    margin-top: 20px;
}
.modal-footer .button.modal-close {
    background: #f5f5f5;
    border: #dcdcdc solid 1px;
    border-bottom: #dcdcdc solid 3px;
    border-radius: 3px;
    padding: 7px 15px;
    font-size: 12px;
    color: #454545;
    font-weight: 500;
    text-transform: uppercase;
}