:root {
    --primary-color: #4a6fff; /* Blue for accents */
    --accent-color: #ff6b6b; /* Red for end call */
    --light-color: #ffffff;
    --gray-color: #f5f7fb;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-color: #f8fafc;
    --online-color: #48bb78; /* Green accents */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 20px;
    text-align: center;
}

/* Full-Screen Overlays */
.call-overlay {
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    color: white;
    transition: opacity 0.3s;
}

/* Common Header for Both Calls */
.call-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 1rem;
}

.call-contact {
    font-weight: 500;
    font-size: 1.2rem;
}

.call-timer {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 1rem;
}

/* Common Main Content */
.call-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Audio-Specific Content */
.audio-placeholder {    
    text-align: center;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 20px;
}

.status-connected {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    color: var(--online-color);
    margin-top: 20px;
}

/* Video-Specific Content */
.video-placeholder {
    width: 280px;
    height: 450px;
    background-color: #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    text-align: center;
}

.local-video {
    position: absolute;
    right: 300px;
    width: 120px;
    height: 160px;
    background-color: #444;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-align: center;
}

/* Common Controls */
.call-controls {
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.4);
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.end-call-btn {
    background-color: var(--accent-color) !important;
    font-size: 1.3rem;
    width: 50px;
    height: 50px;

    a {
        color: var(--light-color);
    }
}

/* Audio Controls (Mic + Speaker) */
.audio-controls .control-btn:nth-child(2) i {
    font-size: 1.3rem; /* Larger speaker icon */
}

/* Video Controls (Mic + Camera + Share) */
.video-controls .control-btn:nth-child(3) i {
    font-size: 1rem; /* Share icon size */
}

/* Responsive */
/* @media (max-width: 768px) {
    .start-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .call-header {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .call-contact {
        font-size: 1rem;
    }
    
    .audio-avatar {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }
    
    .video-placeholder {
        width: 250px;
        height: 450px;
        font-size: 1.2rem;
    }
    
    .local-video {
        width: 100px;
        height: 130px;
        bottom: 0px;
        right: 10px;
        font-size: 0.8rem;
    }
    
    .call-controls {
        gap: 10px;
        padding: 15px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .end-call-btn {
        width: 45px;
        height: 45px;
    }
} */