/* 呼叫线路选择模态框样式 */
#call-options-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景遮罩 */
    z-index: 9999; /* 确保在最上层 */
    display: none; 
}

.modal-content-wrapper {
    background-color: #f9f9f9; /* 浅灰背景 */
    width: 90%;
    max-width: 350px;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    
    /* 强制固定定位居中，不依赖父级布局 */
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    z-index: 10000 !important;
}

#modal-country-info {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

#call-options-modal h3 {
    font-size: 18px;
    color: #333;
    margin: 10px 0;
    font-weight: normal;
}

#countdown {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.line-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    
    /* 支持多行内容 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.line-name {
    font-weight: 500;
}

.line-rate {
    font-size: 12px;
    color: #666;
}

.line-btn:hover {
    background-color: #f0f0f0;
}

.line-btn:active {
    background-color: #e0e0e0;
}

#tishikuang {
    font-size: 12px;
    color: #999;
    line-height: 1.6;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

#tishikuang p {
    margin: 2px 0;
}
