body.veda-room-report-modal-open {
    overflow: hidden;
}

.veda-room-report-modal[hidden] {
    display: none !important;
}

.veda-room-report-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: "Red Hat Display", sans-serif;
}

.veda-room-report-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.veda-room-report-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
    background: #ffffff;
    color: #000000;
    border: 2px solid #442a65;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.veda-room-report-modal__dialog h2 {
    margin: 0 40px 4px 0;
    color: #442a65;
    font-size: 28px;
    line-height: 1.2;
}

.veda-room-report-modal__room-name {
    margin: 0 0 22px;
    color: #555555;
}

.veda-room-report-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #442a65;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.veda-room-report-modal__form {
    display: grid;
    gap: 10px;
}

.veda-room-report-modal__form label {
    margin-top: 4px;
    font-weight: 700;
}

.veda-room-report-modal__form select,
.veda-room-report-modal__form textarea,
.veda-room-report-modal__form input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #8961bd;
    border-radius: 8px;
    padding: 11px 12px;
    background: #ffffff;
    color: #000000;
    font: inherit;
}

.veda-room-report-modal__form select:focus,
.veda-room-report-modal__form textarea:focus,
.veda-room-report-modal__form input[type="email"]:focus {
    outline: 2px solid #00a39b;
    outline-offset: 2px;
}

.veda-room-report-modal__honeypot {
    position: absolute !important;
    left: -9999px !important;
}

.veda-room-report-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.veda-room-report-modal__cancel,
.veda-room-report-modal__submit {
    border-radius: 8px;
    padding: 10px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.veda-room-report-modal__cancel {
    background: #ffffff;
    color: #442a65;
    border: 2px solid #442a65;
}

.veda-room-report-modal__submit {
    background: #00a39b;
    color: #ffffff;
    border: 2px solid #00524e;
}

.veda-room-report-modal__submit:hover,
.veda-room-report-modal__submit:focus {
    background: #8961bd;
    border-color: #442a65;
}

.veda-room-report-modal__notice {
    padding: 14px 16px;
    border-left: 4px solid #00a39b;
    background: #ececec;
    border-radius: 6px;
}

.veda-room-report-modal__notice--error {
    border-left-color: #442a65;
}

@media (max-width: 600px) {
    .veda-room-report-modal {
        padding: 12px;
    }

    .veda-room-report-modal__dialog {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .veda-room-report-modal__actions {
        flex-direction: column-reverse;
    }

    .veda-room-report-modal__cancel,
    .veda-room-report-modal__submit {
        width: 100%;
    }
}
