/* WhatsApp Call Interface Styling */

.call-overlay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0b141a 0%, #111b21 100%);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 1.5rem;
    z-index: 9999;
    color: #fff;
}

.call-overlay-modal.active {
    display: flex;
}

.call-header {
    text-align: center;
}

.call-encryption-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.call-contact-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.call-status-label {
    font-size: 0.95rem;
    color: var(--accent-color);
}

.call-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.call-avatar-container {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a3942;
    box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.7);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 132, 0.5); }
    70% { box-shadow: 0 0 0 25px rgba(0, 168, 132, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 132, 0); }
}

.call-avatar-container i {
    font-size: 3.5rem;
    color: #8696a0;
}

.call-video-preview {
    width: 100%;
    max-width: 480px;
    height: 280px;
    border-radius: 16px;
    background: #000;
    display: none;
    object-fit: cover;
}

.call-actions-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.call-action-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background-color: #202c33;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

.call-action-btn:hover {
    background-color: #2a3942;
    transform: scale(1.1);
}

.call-action-btn.active {
    background-color: #fff;
    color: #111b21;
}

.call-action-btn.accept {
    background-color: var(--accent-color);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.call-action-btn.reject, .call-action-btn.end {
    background-color: var(--danger-color);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}
