/* ============================================================================
   PHONE CALL UI - Twilio Voice Integration
   Senior-optimized phone calling interface
   ============================================================================ */

/* Phone Call Overlay */
.phone-call-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: phoneCallFadeIn 0.3s ease;
}

@keyframes phoneCallFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Phone Call Modal */
.phone-call-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 340px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-call-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: phoneCallPulse 2s ease-in-out infinite;
}

@keyframes phoneCallPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.phone-call-status {
    font-size: 1rem;
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.phone-call-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.phone-call-number {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.phone-call-timer {
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    font-variant-numeric: tabular-nums;
    margin-bottom: 1.5rem;
}

/* Call Action Buttons */
.phone-call-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.phone-call-btn {
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-call-btn.end {
    background: #ef4444;
    color: white;
}

.phone-call-btn.end:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Contact Card Call Button */
.contact-call-btn {
    background: #22c55e !important;
    border: none !important;
    border-radius: 8px !important;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.contact-call-btn:hover {
    background: #16a34a !important;
    transform: scale(1.1);
}

.contact-call-btn:disabled {
    background: #4b5563 !important;
    cursor: not-allowed;
}
