* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1E2328;
    color: #FED053;
    height: 100vh;
}

.screen {
    width: 100%;
    height: 100vh;
}

.hidden {
    display: none !important;
}

/* Registration Screen */
.register-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 15px;
    background: linear-gradient(135deg, #2A2E34 0%, #3B3F46 100%);
}

.register-container h1 {
    color: #FED053;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.register-container input {
    width: 300px;
    padding: 15px;
    border: 1px solid #3B3F46;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    background: #2A2E34;
    color: #FED053;
}

.register-container button {
    width: 300px;
    padding: 15px;
    border: none;
    border-radius: 25px;
    background: #F5B301;
    color: #1E2328;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.register-container button:hover {
    background: #FED053;
}

/* Main App */
.app-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 300px;
    background: #2A2E34;
    border-right: 1px solid #3B3F46;
    display: flex;
    flex-direction: column;
}

.user-header {
    padding: 20px;
    background: #3B3F46;
    color: #FED053;
}

.user-header h2 {
    margin-bottom: 5px;
}

#current-user {
    font-size: 12px;
    opacity: 0.8;
}

.user-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.user-item {
    padding: 15px;
    margin: 5px 0;
    background: #3B3F46;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FED053;
}

.user-item:hover {
    background: #F5B301;
    color: #1E2328;
}

.user-item.active {
    background: #F5B301;
    color: #1E2328;
}

.user-item button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background: #FED053;
    color: #1E2328;
    cursor: pointer;
    font-size: 12px;
}

.user-item button:hover {
    background: #F5B301;
}

/* Chat Area */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1E2328;
}

.chat-header {
    padding: 20px;
    background: #2A2E34;
    border-bottom: 1px solid #3B3F46;
    font-weight: bold;
    color: #FED053;
}

.messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 70%;
    padding: 12px 15px;
    border-radius: 20px;
    word-wrap: break-word;
}

.message.sent {
    background: #F5B301;
    color: #1E2328;
    align-self: flex-end;
}

.message.received {
    background: #3B3F46;
    color: #FED053;
    align-self: flex-start;
}

.message-info {
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 3px;
}

.message-input-area {
    padding: 20px;
    background: #2A2E34;
    border-top: 1px solid #3B3F46;
    display: flex;
    gap: 10px;
}

#message-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #3B3F46;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    background: #3B3F46;
    color: #FED053;
}

.message-input-area button {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: #F5B301;
    color: #1E2328;
    cursor: pointer;
    transition: background 0.3s;
}

.message-input-area button:hover {
    background: #FED053;
}

.call-btn {
    background: #F5B301 !important;
    color: #1E2328 !important;
}

/* Call Overlay */
.call-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #1E2328, #2A2E34);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.call-container {
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    flex-direction: column;
}

.video-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

#local-video, #remote-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    background: #3B3F46;
}

/* Enhanced Call Controls */
.call-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    position: relative;
}

.call-controls button {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    background: #F5B301;
    color: #1E2328;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.call-controls button:hover {
    transform: scale(1.1);
    background: #FED053;
}

.call-controls button.end-btn {
    background: #f44336;
    color: white;
}

.call-controls button.end-btn:hover {
    background: #d32f2f;
}

.call-controls button:active {
    transform: scale(0.95);
}

.call-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Call Status */
.call-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    gap: 20px;
    align-items: center;
    z-index: 10;
}

#connection-status {
    font-weight: bold;
}

#call-timer {
    font-family: monospace;
    color: #4CAF50;
}

/* Enhanced Video Layout */
.video-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.video-wrapper {
    position: relative;
    background: #333;
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

/* Stats Panel */
.stats-panel {
    position: absolute;
    top: 60px;
    right: 10px;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 15px;
    border-radius: 10px;
    min-width: 200px;
    font-size: 12px;
    z-index: 10;
}

.stats-panel h4 {
    margin: 0 0 10px 0;
    color: #4CAF50;
}

.stats-panel div {
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
}

/* Enhanced Registration */
.feature-list {
    margin-top: 20px;
    text-align: left;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
}

.feature-list p {
    margin: 5px 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Main App Layout */
    .app-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: 40vh;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    .chat-area {
        height: 60vh;
    }
    
    /* Video Call Mobile Layout */
    .video-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        position: relative;
    }
    
    #remote-video {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    #local-video {
        width: 120px;
        height: 160px;
        position: absolute;
        top: 20px;
        right: 20px;
        border-radius: 15px;
        border: 3px solid #667eea;
        z-index: 10;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    /* Mobile Call Controls */
    .call-controls {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
        padding: 30px 20px 40px;
        gap: 15px;
    }
    
    .call-controls button {
        width: 65px;
        height: 65px;
        font-size: 22px;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    .call-controls button.end-btn {
        width: 75px;
        height: 75px;
        font-size: 26px;
        background: #f44336;
    }
    
    /* Mobile Registration */
    .register-container {
        padding: 20px;
    }
    
    .register-container h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .register-container input,
    .register-container button {
        width: 100%;
        max-width: 350px;
    }
    
    /* Mobile Chat */
    .message-input-area {
        padding: 15px;
        gap: 8px;
    }
    
    #message-input {
        padding: 10px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .message-input-area button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .call-btn {
        padding: 10px 12px !important;
        font-size: 16px !important;
    }
    
    /* Mobile Dialog */
    .dialog-content {
        margin: 20px;
        padding: 30px 20px;
        min-width: auto;
        width: calc(100% - 40px);
    }
    
    .dialog-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .dialog-buttons button {
        width: 100%;
        padding: 15px;
    }
    
    /* Hide stats panel on mobile */
    .stats-panel {
        display: none;
    }
    
    /* Call status mobile */
    .call-status {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        background: rgba(0,0,0,0.7);
        padding: 12px 15px;
        border-radius: 25px;
        font-size: 13px;
    }
}

/* Mobile Touch Enhancements */
@media (max-width: 768px) {
    /* Touch-friendly interactions */
    .user-item {
        padding: 18px 15px;
        margin: 8px 0;
        min-height: 60px;
        transition: all 0.2s ease;
    }
    
    .user-item:active {
        transform: scale(0.98);
        background: #e9ecef;
    }
    
    /* Mobile video gestures */
    #local-video {
        transition: all 0.3s ease;
        cursor: move;
    }
    
    #local-video:active {
        cursor: grabbing;
    }
    
    /* Swipe hint for sidebar */
    .sidebar::before {
        content: '';
        position: absolute;
        top: 50%;
        right: -10px;
        transform: translateY(-50%);
        width: 4px;
        height: 40px;
        background: #667eea;
        border-radius: 2px;
        opacity: 0.5;
    }
    
    /* Mobile call controls with haptic feedback simulation */
    .call-controls button {
        transition: all 0.15s ease;
        position: relative;
        overflow: hidden;
    }
    
    .call-controls button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255,255,255,0.3);
        transform: translate(-50%, -50%);
        transition: width 0.3s, height 0.3s;
    }
    
    .call-controls button:active::before {
        width: 100px;
        height: 100px;
    }
    
    /* Mobile message bubbles */
    .message {
        max-width: 75%;
        padding: 12px 16px;
        margin: 8px 0;
        animation: slideInUp 0.3s ease;
    }
    
    /* Mobile input improvements */
    #message-input {
        border-radius: 25px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        transition: all 0.2s ease;
    }
    
    #message-input:focus {
        background: white;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }
    
    /* Mobile status indicators */
    .user-item::after {
        content: '';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #4CAF50;
        border: 2px solid white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    
    .user-item.offline::after {
        background: #ccc;
    }
    
    /* Mobile animations */
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
    }
    
    /* Incoming call animation */
    .dialog-content {
        animation: slideInUp 0.3s ease;
    }
    
    /* Mobile call overlay improvements */
    .call-overlay {
        background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
    }
    
    /* Mobile video placeholder */
    .video-container::before {
        content: '📹 Connecting...';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 18px;
        opacity: 0.7;
        z-index: 5;
    }
    
    .video-container.connected::before {
        display: none;
    }
}

/* Mobile landscape optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .sidebar {
        height: 50vh;
    }
    
    .chat-area {
        height: 50vh;
    }
    
    #local-video {
        width: 150px;
        height: 100px;
        top: 10px;
        right: 10px;
    }
    
    .call-controls {
        padding: 20px;
    }
    
    .call-controls button {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .call-controls button.end-btn {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}

/* Notch and safe area support for modern phones */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .call-controls {
            padding-bottom: max(40px, env(safe-area-inset-bottom));
        }
        
        .message-input-area {
            padding-bottom: max(20px, env(safe-area-inset-bottom));
        }
        
        .register-container {
            padding: max(20px, env(safe-area-inset-top)) 20px;
        }
    }
}

@media (max-width: 480px) {
    /* Extra small mobile */
    .sidebar {
        height: 35vh;
    }
    
    .chat-area {
        height: 65vh;
    }
    
    #local-video {
        width: 100px;
        height: 130px;
        top: 15px;
        right: 15px;
    }
    
    .call-controls button {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .call-controls button.end-btn {
        width: 65px;
        height: 65px;
        font-size: 24px;
    }
    
    .user-header {
        padding: 15px;
    }
    
    .user-header h2 {
        font-size: 1.2rem;
    }
    
    .messages {
        padding: 15px;
    }
    
    .message {
        max-width: 85%;
        font-size: 14px;
    }
}

/* Dialog */
.dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog-content {
    background: #2A2E34;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    min-width: 300px;
    border: 1px solid #3B3F46;
}

.dialog-content h3 {
    margin-bottom: 10px;
    color: #FED053;
}

.dialog-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.dialog-buttons button {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}

.accept-btn {
    background: #F5B301;
    color: #1E2328;
}

.reject-btn {
    background: #f44336;
    color: white;
}

/* Call Quality Indicator */
.call-quality-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(30, 35, 40, 0.9);
    color: #FED053;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid #3B3F46;
}

#quality-status {
    font-weight: bold;
    font-size: 14px;
}

#connection-info {
    opacity: 0.8;
    font-size: 11px;
}

/* Video Filters */
.video-filters {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.video-filters button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(245, 179, 1, 0.9);
    color: #1E2328;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.video-filters button:hover {
    transform: scale(1.1);
    background: #FED053;
}

.video-filters button.active {
    background: #F5B301;
    color: #1E2328;
}

/* Picture-in-Picture Button */
.pip-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(245, 179, 1, 0.9);
    color: #1E2328;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.pip-btn:hover {
    transform: scale(1.1);
    background: #FED053;
}

/* In-Call Chat */
.in-call-chat {
    position: absolute;
    right: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background: rgba(42, 46, 52, 0.95);
    border-left: 1px solid #3B3F46;
    transition: right 0.3s ease;
    z-index: 20;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.in-call-chat.show {
    right: 0;
}

.in-call-chat .chat-header {
    padding: 15px;
    background: #3B3F46;
    color: #FED053;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.in-call-chat .chat-header button {
    background: none;
    border: none;
    color: #FED053;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.in-call-chat .chat-header button:hover {
    background: rgba(245, 179, 1, 0.2);
}

.in-call-chat .chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: rgba(59, 63, 70, 0.8);
}

.call-message {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
}

.call-message.sent {
    background: #F5B301;
    color: #1E2328;
    align-self: flex-end;
    margin-left: auto;
}

.call-message.received {
    background: #3B3F46;
    color: #FED053;
    align-self: flex-start;
    border: 1px solid #2A2E34;
}

.message-sender {
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 3px;
    opacity: 0.8;
}

.message-text {
    font-size: 13px;
    line-height: 1.4;
}

.message-time {
    font-size: 10px;
    opacity: 0.6;
    margin-top: 3px;
}

.no-history {
    text-align: center;
    color: #666;
    padding: 40px 20px;
    font-style: italic;
}

.in-call-chat .chat-input {
    padding: 15px;
    background: #2A2E34;
    border-top: 1px solid #3B3F46;
    display: flex;
    gap: 10px;
}

.in-call-chat .chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #3B3F46;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    background: #3B3F46;
    color: #FED053;
}

.in-call-chat .chat-input button {
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    background: #F5B301;
    color: #1E2328;
    cursor: pointer;
    font-size: 12px;
}

.in-call-chat .chat-input button:hover {
    background: #FED053;
}

/* Call History Panel */
.call-history-panel {
    position: fixed;
    right: -350px;
    top: 0;
    width: 350px;
    height: 100vh;
    background: #2A2E34;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1002;
    display: flex;
    flex-direction: column;
}

.call-history-panel.show {
    right: 0;
}

.panel-header {
    padding: 20px;
    background: #3B3F46;
    color: #FED053;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.panel-header button {
    background: none;
    border: none;
    color: #FED053;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-header button:hover {
    background: rgba(245, 179, 1, 0.2);
}

.history-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.history-item {
    padding: 15px;
    margin-bottom: 10px;
    background: #3B3F46;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    color: #FED053;
}

.history-item:hover {
    background: #F5B301;
    color: #1E2328;
}

.history-item .call-info {
    flex: 1;
}

.history-item .call-name {
    font-weight: bold;
}

.history-item .call-time {
    font-size: 12px;
    color: #FED053;
    opacity: 0.8;
}

.history-item .call-duration {
    font-size: 11px;
    color: #FED053;
    opacity: 0.6;
}

.history-item .call-status {
padding: 5px 10px;
border-radius: 15px;
font-size: 11px;
font-weight: bold;
}

.history-item .call-status.missed {
    background: #f44336;
    color: white;
}

.history-item .call-status.incoming {
    background: #F5B301;
    color: #1E2328;
}

.history-item .call-status.outgoing {
    background: #FED053;
    color: #1E2328;
}

/* Recording Indicator */
.recording-indicator {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #f44336;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    z-index: 1003;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
}

.rec-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.3;
    }
}

/* Enhanced Call Controls */
.call-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    position: relative;
    flex-wrap: wrap;
}

.call-controls button {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.call-controls button:active {
    transform: scale(0.95);
}

.call-controls button.recording {
    background: #f44336;
    animation: pulse 2s infinite;
}

.call-controls button.end-btn {
    background: #f44336;
}

.call-controls button.end-btn:hover {
    background: #d32f2f;
}

/* Call History Button in Main App */
.call-history-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #F5B301;
    color: #1E2328;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.call-history-btn:hover {
    transform: scale(1.1);
    background: #FED053;
}

/* Mobile Responsive for New Features */
@media (max-width: 768px) {
    .call-quality-indicator {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .video-filters {
        top: 15px;
        right: 15px;
        gap: 5px;
    }
    
    .video-filters button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .in-call-chat {
        width: 100%;
        right: -100%;
    }
    
    .call-history-panel {
        width: 100%;
        right: -100%;
    }
    
    .call-controls {
        gap: 10px;
        padding: 15px;
    }
    
    .call-controls button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .recording-indicator {
        top: 15px;
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2A2E34;
}

::-webkit-scrollbar-thumb {
    background: #3B3F46;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F5B301;
}
