/* 修复输入框样式 */
#shurukuang {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

#shurukuang .phone-input {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    text-align: center;
    font-size: 32px; /* 稍微加大字体 */
    font-weight: bold;
    color: #333;
    padding: 10px 0;
    height: auto;
}

#shurukuang .phone-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* 最近通话模态框样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: flex-end; /* 从底部弹出 */
}

.modal-content-bottom {
    background-color: #fff;
    width: 100%;
    max-width: 600px; /* 限制最大宽度 */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    max-height: 80vh; /* 最大高度为视口高度的80% */
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
    position: relative;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

/* 最近通话列表样式优化 */
#recent-calls-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-call-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.recent-call-info {
    display: flex;
    flex-direction: column;
}

.recent-call-number {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.recent-call-time {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.recent-call-action {
    color: #5cb85c;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}
