/* 上传标签隐藏样式 */
.upload-label.hidden {
    display: none !important;
}

/* 动态生成内容的样式 */
.inspection-item {
    margin-bottom: 20px;
    border: 1px solid #e3e6f0;
    border-radius: 0.35rem;
}

.inspection-item .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: 1px solid #e3e6f0;
    font-weight: 600;
    padding: 12px 15px;

    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 5px;
}

.inspection-item .card-header:hover {
    background-color: #e9ecef;
}

.inspection-item .card-header::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.inspection-item .card-header.collapsed::after {
    transform: rotate(-90deg);
}

.inspection-item .card-body {
    padding: 0;
}

.sub-item {
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
    width: 100%;
}

.sub-item h6 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
}

.border {
    border: 1px solid #0dcaf0 !important;
}

/* 审查情况样式 - 放在中间 */
.inspection-result-container {
    margin-bottom: 15px;
    width: 100%;
}

.inspection-result-container label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 5px;
    display: block;
}

.info-box {
    /*background-color: #f8f9fa;*/
    /*border-left: 4px solid #007bff;*/
    padding: 10px 0;
    width: 100%;
}

.info-box strong {
    color: #495057;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.info-box .text-success {
    color: #28a745 !important;
}

.info-box .text-warning {
    color: #ffc107 !important;
}

.info-box p {
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: #6c757d;
    line-height: 1.4;
}


/* 确保每个子项占据整行 */
.sub-item .row {
    display: block;
    width: 100%;
}

.sub-item .col-md-6 {
    width: 100%;
    margin-bottom: 15px;
}

/* 移除原有的两列布局 */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.radio-option label {
    margin-left: 5px;
    margin-bottom: 0;
}


/* 表单样式 */
.form-label-sm {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #495057;
}

.form-control-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sub-item .row > div {
        margin-bottom: 10px;
    }

    .info-box {
        margin-top: 10px;
    }
}

/* 添加样例图片样式 */
.sample-image-item {
    transition: transform 0.2s;
}

.sample-image-item:hover {
    transform: scale(1.05);
}

.sample-overlay {
    transition: opacity 0.3s;
}

.object-fit-cover {
    object-fit: cover;
}

/* 多行文本样式 */
.info-box p {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.photo-requirements, .precautions {
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border-left: 4px solid #28a745;
}

.precautions {
    border-left-color: #ffc107;
}
