﻿.record-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 5vh 16px;
}

.record-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}

.record-modal-box {
    position: relative;
    width: min(780px, 92vw);
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .record-modal-box {
        width: 92vw;
    }
}

.record-modal-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: none;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    padding: 6px;
    cursor: pointer;
}

.record-modal-iframe {
    width: 100%;
    border: 0;
    display: block;
    height: auto;
    min-height: 200px;
}

body.no-scroll {
    overflow: hidden;
}
