/* 身份证查询专用样式 */
.idcard-query {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.calc-input-group input.error {
    border-color: #f56565;
}

/* 结果显示样式 */
.idcard-result {
    margin-top: 30px;
    display: none;
}

.idcard-result.show {
    display: block;
}

.result-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.result-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.result-idcard {
    font-size: 28px;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    font-weight: 700;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-value.large {
    font-size: 32px;
}

.result-icon {
    font-size: 20px;
    margin-right: 8px;
}

/* 验证状态样式 */
.validation-message {
    margin-top: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.validation-message.show {
    display: block;
}

.validation-message.error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.validation-message.success {
    background: #f0fff4;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

/* 说明文字 */
.idcard-tips {
    margin-top: 30px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.idcard-tips h5 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.idcard-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.idcard-tips li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

.idcard-tips li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 地区信息样式 */
.region-info {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.region-info h5 {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.region-path {
    font-size: 18px;
    font-weight: 600;
}