/* 拨号盘界面样式 */
#phone {
    display: none; /* 从 index.html 提取 */
    text-align: center;
    margin-top: 20px;
}

#shurukuang {
    margin-bottom: 15px;
}

#shurukuang .phone-input {
    font-size: 28px; /* 与拨号盘按键字体大小一致 */
    text-align: center;
    height: 50px;
    border: none; /* 移除边框 */
}

.info-span, .info-spanplus {
    display: block;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

#dialpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

.dialpad-row {
    display: contents; /* 允许子元素直接参与网格布局 */
}

.dial-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dial-button:hover {
    background-color: #e0e0e0;
}

.dial-button.btn-success {
    background-color: #5cb85c;
    color: #fff;
    border-color: #4cae4c;
}

.dial-button.btn-success:hover {
    background-color: #4cae4c;
}

#delete2 {
    font-size: 24px;
}

.button-no-background {
    background: none;
    border: none;
    color: #337ab7;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.button-no-background span {
    display: block;
}

#balance-label {
    font-size: 12px;
    color: #999;
}

#balance {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

#clear-history {
    font-size: 14px;
    color: #337ab7;
}

.btn-success-choicecall {
    background-color: #5cb85c;
    color: #fff;
    border-color: #4cae4c;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-success-choicecall:hover {
    background-color: #4cae4c;
}

/* 呼叫线路选择模态框样式 */
#call-options-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* 确保模态框在最上层 */
    text-align: center;
    width: 80%; /* 调整宽度以适应内容 */
    max-width: 400px; /* 最大宽度 */
}

#call-options-modal h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

#call-options-modal button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 16px;
    cursor: pointer;
}

#call-options-modal button:hover {
    background-color: #e9e9e9;
}

#countdown {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

#tishikuang {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 12px;
}

#tishikuang p {
    margin-bottom: 5px;
}
