/* 重置样式 */
.number-date-picker-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.number-date-picker-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 标题栏 */
.number-date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: white;
    flex-shrink: 0;
}

.number-date-picker-header h3 {
    margin: 0;
    font-size: 16px;
}

.btn-cancel, .btn-confirm {
    border: none;
    background: none;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
}

.btn-cancel { color: #666; }
.btn-confirm { color: #1890ff; }

/* 日期显示区域 */
.date-display {
    padding: 30px 20px;
    flex-shrink: 0;
}

.date-field {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}

/* 输入框容器 */
.input-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 每个输入框的容器 */
.input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* 标签样式 */
.input-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* 输入框样式 */
.date-field input {
    width: 60px;
    text-align: center;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 24px;
    padding: 8px 5px;
    background: transparent;
}

.date-field input:focus {
    outline: none;
    border-bottom-color: #1890ff;
}

/* 数字键盘 */
.number-keyboard {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #f5f5f5;
    padding: 2px;
    margin-top: auto;
}

.number-key {
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.2s;
}

.number-key:active {
    background: #1890ff;
    color: white;
}

.number-key.clear,
.number-key.delete {
    color: #666;
    font-size: 16px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .number-date-picker-content {
        width: 95%;
    }

    .date-field input {
        width: 50px;
        font-size: 17px;
    }

    .number-key {
        padding: 20px 0;
        font-size: 17px;
    }
}

/* 添加内容区域的样式 */
.number-date-picker-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    height: 80vh;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

