		
		
/* ===========================
✅ Send Link to Chat Button
=========================== */
.meeting-link-send {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.meeting-link-send button {
    background-color: #1e88e5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s;
}

.meeting-link-send button:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
}

.meeting-link-send button:active {
    background-color: #0d47a1;
    transform: translateY(0);
}

/* ✅ Responsive Adjustments */
@media (max-width: 480px) {
    .meeting-link-send button {
        font-size: 12px;
        padding: 8px 15px;
    }
}

		
		
.meeting-link-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
    overflow: hidden;
    text-align: center;
}

.meeting-link-popup.hidden {
    display: none;
}

/* ✅ Close Button Container */
.meeting-link-close {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.meeting-link-close button {
    background-color: #e53935;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
}

.meeting-link-close button:hover {
    background-color: #c62828;
}

/* ✅ Header Section */
.meeting-link-header {
    margin-bottom: 15px;
}

.meeting-link-header h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.meeting-link-header p {
    font-size: 14px;
    color: #555;
    margin: 5px 0 0;
    font-style: italic;
}

/* ✅ Link Container */
.meeting-link-body {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
}

.meeting-link-body input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    text-overflow: ellipsis;
}

.meeting-link-body button {
    background-color: #4caf50;
    border: none;
    color: white;
    border-radius: 6px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
}

.meeting-link-body button:hover {
    background-color: #388e3c;
}

/* ✅ Responsive Adjustments */
@media (max-width: 480px) {
    .meeting-link-popup {
        width: 90%;
    }

    .meeting-link-body input {
        font-size: 12px;
    }

    .meeting-link-body button {
        font-size: 12px;
    }
}

		
		
		
		
		
/* ===========================
✅ General Styles
=========================== */
.hidden {
    display: none !important;
}

.disabled-button {
    background-color: #555 !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.pop-call-button:hover:not(.disabled-button) {
    background-color: #777;
    transform: scale(1.1);
    transition: background-color 0.3s, transform 0.2s;
}
		 
 
.call-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.call-modal-content {
    background: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 20px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.call-modal-content h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.call-modal-content p {
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.modal-buttons .popup-end {
    background: #e53935;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.modal-buttons .popup-end:hover {
    background: #c62828;
}

.modal-buttons .pop-call-button {
    background: #444;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.modal-buttons .pop-call-button:hover {
    background: #666;
}
		

/* ===========================
✅ Call Popup Styles
=========================== */
.call-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #1e1e1e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.call-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

/* ===========================
✅ Video Container
=========================== */
.call-video-container {
    display: flex;
    width: 100%;
    height: calc(100% - 70px); /* Reserve space for control bar */
    background: #000;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* ✅ Local Video Section */
.local-video-section {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    transition: width 0.3s ease;
}

.local-video-section.split {
    width: 30%;
}

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

/* ✅ User Video Section */
.user-video-section {
    display: none;
    width: 70%;
    height: 100%;
    background: #000;
    transition: width 0.3s ease;
}

.user-video-section.active {
    display: block;
}

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

/* ✅ Video Stream Info */
.call-user-info,
.call-agent-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.call-user-avatar,
.call-agent-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.call-username,
.call-agent-username {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* ===========================
✅ Bottom Bar
=========================== */
.call-bottom-bar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70px;
    background-color: #2c2c2c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    z-index: 100;
}

.call-time {
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

/* ✅ Control Buttons */
.call-buttons {
    display: flex;
    gap: 20px;
}

.call-buttons .pop-call-button,
.call-buttons .pop-camera-button,
.call-buttons .popup-end {
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* ✅ Button Default State */
.call-buttons .pop-call-button {
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* ✅ Camera & Mic ON State */
.call-buttons .pop-call-button.button-on {
    background-color: #444; /* Default ON state background */
}

/* ✅ Camera & Mic OFF State */
.call-buttons .pop-call-button.button-off {
    background-color: #e53935; /* RED background when OFF */
}

/* ✅ Hover Effects */
.call-buttons .pop-call-button.button-on:hover {
    background-color: #666;
}

.call-buttons .pop-call-button.button-off:hover {
    background-color: #c62828;
}
.call-buttons .pop-call-button:hover {
    background-color: #777;
}

.call-buttons .pop-camera-button {
    background-color: #444;
}

.call-buttons .pop-camera-button:hover {
    background-color: #666;
}

.call-buttons .popup-end {
    background-color: #e53935;
}

.call-buttons .popup-end:hover {
    background-color: #c62828;
}

/* ===========================
✅ End Call Modal
=========================== */
.call-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.call-modal-content {
    background: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 20px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

/* ===========================
✅ Toast Notification
=========================== */
.call-toast {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    z-index: 10001;
}
