/* 视频通话界面样式 */
#videos {
    display: none; /* 从 index.html 提取 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333;
    color: #fff;
    z-index: 9999; /* 确保在最上层 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box; /* 包含内边距在宽度和高度内 */
}

#phone-number-display {
    font-size: 28px;
    margin-bottom: 10px;
}

#timer {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

#dtmf {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 三列布局 */
    gap: 10px; /* 按钮之间的间距 */
    max-width: 300px; /* 限制拨号盘最大宽度 */
    margin-left: auto;
    margin-right: auto;
}

#dtmf .dial-button { /* 假设DTMF拨号盘的按钮也使用dial-button类 */
    width: 80px;
    height: 80px;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #555;
    color: #fff;
    border: 1px solid #777;
    cursor: pointer;
}

#dtmf .dial-button:active {
    background-color: #777;
}

#info-button-bhp,
#info-button-bhp-left {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
    width: 80%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#info-button-bhp-left {
    text-align: right;
}

#results {
    color: white;
    padding: 10px;
    font-family: Arial, sans-serif;
    white-space: pre-line;
    margin-bottom: 20px;
}

#closeButton,

#toggleDtmfButton {
    position: fixed;           /* 固定位置 */
    bottom: 20px;              /* 距离底部 20px */
    left: calc(50% - 130px);    /* 离 #hangUpButton 左边 20px (60px + 20px) */
    margin: 0 5px;
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
}
#muteButton,
#speakerButton,
#hangUpButton {
    position: fixed;           /* 固定位置 */
    bottom: 20px;              /* 距离底部 20px */
    left: 50%;                 /* 水平居中 */
    transform: translateX(-50%); /* 使按钮水平居中 */
    margin: 0 5px;
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
}


#closeButton {
    background-color: #d9534f;
    color: #fff;
}

#toggleDtmfButton {
    background-color: #337ab7;
    color: #fff;
}

#muteButton,
#speakerButton {
    background-color: #f0ad4e;
    color: #fff;
}

#hangUpButton {
    background-color: #d9534f;
    color: #fff;
}

#muteButton.active,
#speakerButton.active {
    background-color: #5cb85c; /* 激活状态的颜色 */
}

.panel-container {
    display: none; /* 从 index.html 提取 */
}
