/* Анимация пульсации для кнопки принятия вызова */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Стиль Glassmorphism для окна входящего вызова */
.incoming-call-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 350px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.incoming-call-modal.active {
    display: flex;
    transform: translate(-50%, -50%) scale(1);
}

.caller-avatar {
    width: 80px;
    height: 80px;
    background: #007bff;
    border-radius: 50%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

.call-actions {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.btn-call {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: white;
    font-size: 24px;
}

.btn-accept {
    background: #28a745;
    animation: pulse-green 2s infinite;
}

.btn-decline {
    background: #dc3545;
}

.btn-call:hover {
    transform: scale(1.1);
}

/* Окно с самим видео (Jitsi) */
.video-full-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10002;
    display: none;
}