/* 问题输入框样式 - 整合在输入区域内 */
.question-input-wrapper {
    margin-top: 20px;
}

.question-input-inline {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background: white;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.question-input-inline:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.question-input-inline::placeholder {
    color: #999;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 合并表格样式 */
.combined-table {
    margin-top: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.combined-table tr:first-child td {
    border-top: none !important;
}

/* 确保问题输入框和结果表格无缝对接 */
.question-section + #info-content .info-table {
    margin-top: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.question-section + #info-content .info-table tr:first-child td {
    border-top: none !important;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .question-input {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .question-input {
        font-size: 13px;
    }
}


/* 四柱旬空表格无缝对接 */
.seamless-table {
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    border-top: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.seamless-table tr:first-child td {
    border-top: none !important;
}

/* 信息表格与四柱表格之间无缝对接 */
.combined-table {
    margin-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.combined-table tr:last-child td {
    border-bottom: none !important;
}

/* 两字标签居中对齐 */
.two-char-label {
    text-align: center !important;
    vertical-align: middle;
}

/* 问题输入框的标签也居中 */
.question-input-table td:first-child {
    text-align: center !important;
}

/* 标签文字居中对齐 */
.sizhu-table td.label {
    text-align: center !important;
    vertical-align: middle;
}

/* 内容居中对齐 */
.sizhu-table td {
    text-align: center;
    vertical-align: middle;
}


/* 十应输入框样式 */

.shiying-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background: transparent;
    font-family: inherit;
    padding: 0;
}

.shiying-input::placeholder {
    color: #999;
    font-weight: normal;
}

.shiying-input:focus {
    color: #333;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .shiying-input {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .shiying-input {
        font-size: 13px;
    }
}
