/*!
 * Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 * Copyright 2023 Fonticons, Inc.
 */
 .fa {
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900)
}

.fa,
.fa-brands,
.fa-classic,
.fa-regular,
.fa-sharp,
.fa-solid,
.fab,
.far,
.fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto
}

.fa-classic,
.fa-regular,
.fa-solid,
.far,
.fas {
    font-family: "Font Awesome 6 Free"
}

.fa-brands,
.fab {
    font-family: "Font Awesome 6 Brands"
}

/* 保留基本尺寸类 */
.fa-1x {
    font-size: 1em
}

.fa-2x {
    font-size: 2em
}

/* 保留实际使用的图标 */
.fa-arrow-left:before {
    content: "\f060"
}

/* 媒体查询 - 减少动画 */
@media (prefers-reduced-motion:reduce) {
    .fa-beat,
    .fa-beat-fade,
    .fa-bounce,
    .fa-fade,
    .fa-flip,
    .fa-pulse,
    .fa-shake,
    .fa-spin,
    .fa-spin-pulse {
        -webkit-animation-delay: -1ms;
        animation-delay: -1ms;
        -webkit-animation-duration: 1ms;
        animation-duration: 1ms;
        -webkit-animation-iteration-count: 1;
        animation-iteration-count: 1;
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
        -webkit-transition-duration: 0s;
        transition-duration: 0s
    }
}


.tipDiv{
    white-space: nowrap;
    position: absolute;
    overflow: hidden;
    /* max-width: 100%; */
    max-width: 280px;
    margin-left: 30px;
}
.tipText{
    animation: scrollText 10s linear infinite;
}
@keyframes scrollText {
    0% { transform: translateX(10%); } /* 开始时，文本向右移动100%的容器宽度 */
    100% { transform: translateX(-190%); } /* 结束时，文本向左移动100%的容器宽度 */
}

#isVideoTexts{
    font-size: 0.5rem;
}


.modal-overlay {
    position: fixed;
    top: calc(100vh - 15rem);
    width: 90%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}

/* 弹窗内容容器 */
.modal-content {
    /* background-color: #ffffff; */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    /* width: 400px; */
    position: relative;
}

.dropdown-options{
    color: white;
    padding-left: 12px;
}

.text-primary-ear {
    --tw-text-opacity: 1;
    /* color: rgb(255 72 2 / var(--tw-text-opacity, 1)); */
    color: #14BACB

}
.joinButtonDis{
    width: 100%;
    --tw-bg-opacity: 1;
    background-color: rgb(51 51 51 / var(--tw-bg-opacity, 1));  
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 16px;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
}
.joinButton{
    width: 100%;
    --tw-bg-opacity: 1;
    /* background-color: rgb(255 72 2 / var(--tw-bg-opacity, 1)); */
    background-color: #14BACB;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 16px;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
}
.dropdown-options{
    position: absolute;
    background-color: rgb(49, 48, 48);
    width: 100%;
    display: none;
    height: 210px;
    overflow-y: auto;
}
#isVideoImages{
    margin-left: 25px;
    /* display: none; */
}



body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.nav-bar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.message-bubble {
    max-width: 80%;
}

.control-button {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.content-div {
    top: 6rem;
    right: 1rem;
    left: 1rem;
    position: absolute;
    height: calc(74vh - 5px);
    overflow-y: auto;
    z-index: 10;
    position: absolute;
}
.remoteVideo{
    position: absolute;
    height: calc(100vh - 10px);
    display: none;
}
.dragBox{
    background-color: rgb(61 64 73 / 0%);
    z-index: 30;
    display: none;
}
.functionBut{
    z-index: 20;
    height: 16%;
}
.joinIng{
    top: calc(55vh - 10rem);
    right: 1rem;
    left: 1rem;
    position: absolute;
    width: auto;
    color: #7a7878;
    text-align: center;
}

#timer{
    height: 24px;
}

.content-me-text{
    max-width: 80%;
    --tw-bg-opacity: 1;
    /* background-color: rgb(255 72 2 / var(--tw-bg-opacity, 1)); */
    background-color: #14BACB;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    padding: 1rem;
    border-radius: 12px;
    margin-left: auto;
}
.content-he-text{
    max-width: 80%;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    padding: 1rem;
    border-radius: 12px;
    background-color: rgba(62,59,59,0.7);
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.netWorkErr{
    color: white;
    text-align: center;
    background-color: rgb(255 0 63 / 50%);
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    border-radius: 15px;
    display: none;
}
.videoBatten{
    object-fit: scale-down;
    height: 24%; /* 保持图片高度为 dragBox 高度的 24% */
    width: auto; /* 宽度自适应 */
    position: absolute;
    bottom: 0; /* 定位到 dragBox 底部 */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%); /* 水平居中 */
    z-index: 100;
    display: none;
}
.videoBattenText{
    width: 100%; /* 宽度占满 dragBox */
    height: auto; /* 高度自适应 */
    font-family: Habibi, Habibi;
    font-weight: 400;
    font-size: 12px;
    color: #727272;
    line-height: 12px;
    text-align: center; /* 文字水平居中 */
    font-style: normal;
    text-transform: none;
    position: absolute;
    top: 45%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 居中 */
    display: none;
}

/* 遮罩层样式 */
.overlay {
    position: fixed; /* 固定定位 */
    top: 0;
    left: 0;
    width: 100%; /* 覆盖整个页面 */
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.5); 半透明灰色背景 */
    /* display: flex; */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    z-index: 1000; /* 确保遮罩层在最上层 */
    display: none;
}

/* 弹窗样式 */
.videoTip {
    background-color: rgb(204, 204, 204, 1);/* 弹窗背景颜色 */
    padding: 20px; /* 内边距 */
    border-radius: 10px; /* 圆角 */
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 阴影 */
    text-align: center; /* 文字居中 */
    font-size: 14px; /* 字体大小 */
    color: rgba(24, 24, 24, 1); /* 文字颜色 */
    width: 375px;
    max-width: 90%; /* 最大宽度，避免在小屏幕上溢出 */
}
.myVideo{
    height: 88%;
    background-color: rgb(61, 64, 73, 1);
    border-radius: 12px;
    overflow: hidden;
}