/* Full Screen Container */
#avc-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    background: #000;
    font-family: 'Segoe UI', sans-serif;
}

/* Video Player */
#avc-video-container {
    width: 100%; height: 100%;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
#avc-intro-video {
    width: 100%; height: 100%; object-fit: cover;
}
#avc-skip-btn {
    position: absolute; top: 20px; right: 20px;
    padding: 10px 20px; background: rgba(255,255,255,0.8);
    border: none; border-radius: 20px; cursor: pointer;
}

/* Chat Interface (WhatsApp Style) */
#avc-chat-container {
    width: 100%; height: 100%;
    background: #e5ddd5;
    display: flex; flex-direction: column;
}

.avc-chat-header {
    background: #075e54; color: white;
    padding: 15px; display: flex; align-items: center;
}
.avc-avatar {
    width: 40px; height: 40px; background: #fff; color: #075e54;
    border-radius: 50%; text-align: center; line-height: 40px; font-weight: bold; margin-right: 10px;
}
.avc-info h4 { margin: 0; font-size: 16px; }
.avc-info span { font-size: 12px; opacity: 0.8; }

#avc-messages-area {
    flex: 1; padding: 20px; overflow-y: auto;
    background-image: url('https://web.whatsapp.com/img/bg-chat-tile-dark_a4be512e7195b6b733d9110b408f9640.png');
}

.avc-msg {
    max-width: 70%; padding: 10px 15px; border-radius: 10px;
    margin-bottom: 10px; font-size: 14px; line-height: 1.4;
    position: relative;
}
.avc-msg.bot {
    background: #fff; float: left; clear: both;
    border-top-left-radius: 0;
}
.avc-msg.user {
    background: #dcf8c6; float: right; clear: both;
    border-top-right-radius: 0;
}

.avc-input-area {
    padding: 10px; background: #f0f0f0; display: flex; align-items: center;
}
#avc-user-input {
    flex: 1; padding: 10px; border-radius: 20px; border: none; margin: 0 10px;
}
#avc-mic-btn, #avc-send-btn {
    background: none; border: none; font-size: 20px; cursor: pointer;
}
#avc-mic-btn.recording { color: red; animation: pulse 1s infinite; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* Modal for OTP */
#avc-otp-modal {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex; justify-content: center; align-items: center;
    z-index: 10000;
}
.avc-modal-content {
    background: white; padding: 30px; border-radius: 10px; width: 90%; max-width: 350px; text-align: center;
}
.avc-modal-content input {
    width: 100%; padding: 10px; margin: 10px 0; box-sizing: border-box;
}
.avc-modal-content button {
    width: 100%; padding: 10px; background: #25d366; color: white; border: none; border-radius: 5px; cursor: pointer;
}