.call-actions-modal.hidden {
    display: none !important;
}

.call-actions-modal,
.call-video-url-modal,
.call-video-sync-modal {
    position: fixed;
    inset: 0;
    z-index: 1003003;
}

.call-video-url-modal.hidden,
.call-video-sync-modal.hidden {
    display: none !important;
}

.call-actions-modal__backdrop,
.call-video-url-modal__backdrop,
.call-video-sync-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 18, 0.72);
}

.call-actions-modal__sheet,
.call-video-url-modal__sheet,
.call-video-sync-modal__sheet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(360px, calc(100vw - 24px));
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(90, 118, 152, 0.7);
    background: rgb(36 49 65);
    color: white;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.call-actions-modal__header,
.call-video-url-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.call-actions-modal__title,
.call-video-url-modal__title,
.call-video-sync-modal__title {
    font-size: 1.08rem;
    font-weight: 800;
}

.call-actions-modal__close,
.call-actions-modal__action,
.call-video-url-modal__close,
.call-video-url-modal__cancel,
.call-video-url-modal__submit {
    border: none;
    border-radius: 12px;
    background: #343c63;
    color: white;
    cursor: pointer;
}

.call-actions-modal__close,
.call-video-url-modal__close {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
    line-height: 1;
}

.call-actions-modal__action {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 800;
}

.call-video-url-modal__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    color: #dce9ff;
    font-weight: 700;
}

.call-video-url-modal__input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(90, 118, 152, 0.8);
    border-radius: 12px;
    background: rgba(13, 21, 33, 0.86);
    color: white;
    padding: 12px 14px;
    outline: none;
}

.call-video-url-modal__input:focus {
    border-color: rgba(135, 150, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(135, 150, 255, 0.16);
}

.call-video-url-modal__hint {
    margin-bottom: 12px;
    color: rgba(220, 232, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.35;
}

.call-video-url-modal__error {
    margin-bottom: 12px;
    color: #ffb3b3;
    font-size: 0.9rem;
}

.call-video-url-modal__error.hidden {
    display: none !important;
}

.call-video-url-modal__actions {
    display: flex;
    gap: 10px;
}

.call-video-url-modal__cancel,
.call-video-url-modal__submit {
    flex: 1;
    padding: 11px 14px;
    font-weight: 800;
}

.call-video-url-modal__submit {
    background: #4c5a90;
}

.call-video-sync-modal__text {
    color: rgba(220, 232, 255, 0.82);
    line-height: 1.35;
    margin: 4px 0 16px;
}

.call-video-sync-modal__actions {
    display: flex;
    gap: 10px;
}

.call-video-sync-modal__yes,
.call-video-sync-modal__no {
    flex: 1;
    border: none;
    border-radius: 12px;
    padding: 11px 14px;
    background: #343c63;
    color: white;
    font-weight: 800;
    cursor: pointer;
}

.call-video-sync-modal__yes {
    background: #4c5a90;
}

.tile--call-video {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 15%, rgba(120, 145, 255, 0.18), transparent 42%),
        rgba(7, 12, 20, 0.82);
}

.tile--call-video .tile__bar {
    display: none !important;
}

.call-video-tile__status {
    display: none !important;
}

.call-video-tile__status--error {
    color: #ffb3b3;
}

.call-video-tile__video {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: block;
    object-fit: contain;
    background: #000;
}

.tile--call-video-ready .call-video-tile__status {
    inset: auto 12px 54px 12px;
    justify-content: flex-start;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(8, 14, 24, 0.62);
    font-size: 0.9rem;
}

.tile--call-video-ended .call-video-tile__status {
    inset: 0;
    justify-content: center;
    background: rgba(0, 0, 0, 0.48);
}

@media (max-width: 1000px) {
    #btn-call-actions,
    .call-actions-modal,
    .call-video-url-modal {
        display: none !important;
    }
}
