/* 分析页面样式 */
.analysis-section {
    flex: 1;
    padding: 90px 20px 60px;
    background: #f5f7fa;
    min-height: calc(100vh - 200px);
}
.analysis-section .container {
    max-width: 1000px;
}
/* 表单容器 */
.analysis-form-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.form-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.analysis-form-wrapper .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.analysis-form-wrapper .form-select {
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0 15px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.analysis-form-wrapper .form-select:hover {
    border-color: #0066cc;
    background-color: #f8fbff;
}

.analysis-form-wrapper .form-select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
    background-color: #fff;
}

.analysis-form-wrapper .form-select option {
    padding: 10px;
}

.analysis-form-wrapper .form-select option:hover {
    background-color: #0066cc !important;
    color: #fff;
}

.analysis-form-wrapper .form-select option[value=""] {
    color: #000 !important;
}

/* 提示文字 */
.module-tip {
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
}

.module-tip .tip-text {
    color: #0066cc;
    font-size: 14px;
    text-decoration: underline;
    transition: color 0.3s;
}

.module-tip .tip-text:hover {
    color: #0052a3;
}

.module-tip-link {
    text-decoration: none;
}

.module-tip-link .tip-text {
    color: #0066cc;
    font-size: 14px;
    text-decoration: underline;
    transition: color 0.3s;
}

.module-tip-link:hover .tip-text {
    color: #0052a3;
}

/* 分析按钮区域 */
.analysis-btn-wrapper {
    position: relative;
    padding-right: 200px;
    min-height: 50px;
    margin-top: 25px;
}

.btn-content-group {
    position: absolute;
    right: calc(50% - 85px);
    top: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.analysis-btn-wrapper .module-tip {
    margin-top: 0;
}

.module-tip {
    cursor: pointer;
}

.module-tip .tip-text {
    color: #0066cc;
    font-size: 14px;
    text-decoration: underline;
    transition: color 0.3s;
}

.btn-analysis {
    height: 50px;
    padding: 0 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    /* background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%); */
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    /*  */
    background-color: #000;
    border: none;
}

.btn-analysis:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.4);
    /*  */
  background-color: #000;

}

/* 分析结果区域 */
.analysis-result {
    margin-top: 30px;
}

/* 结果容器之间间距 */
.result-item {
    margin-bottom: 30px;
}

.result-item:last-child {
    margin-bottom: 0;
}

/* 结果头部 */
.result-header {
    background: #fff;
    border-radius: 10px 10px 0 0;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #eee;
    background: linear-gradient(to right,#1a1a1a,#a3b5c7);
}

.operator-info .operator-name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.operator-info .operator-desc {
    font-size: 14px;
    color: #aeacac;
    margin: 0;
}

.match-rate {
    text-align: center;
}

.match-rate .rate-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.match-rate .rate-label {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-top: 5px;
}

/* 结果内容 */
.result-content {
    background: #fff;
    border-radius: 0 0 10px 10px;
    padding: 25px 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.result-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.card-supported {
    border-left: 4px solid #52c41a;
}

.card-partial {
    border-left: 4px solid #faad14;
}

.card-unsupported {
    border-left: 4px solid #ff4d4f;
}

.card-icon {
    margin-bottom: 12px;
}

.icon-success {
    color: #52c41a;
}

.icon-warning {
    color: #faad14;
}

.icon-error {
    color: #ff4d4f;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    font-weight: 600;
    font-size: 16px;
    margin: 0;
}

/* 结果底部 */
.result-footer {
    text-align: right;
    padding: 20px 0 0;
    margin-top: 10px;
}

.detail-link {
    color: #0066cc;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.detail-link:hover {
    color: #0052a3;
}

.detail-link span {
    transition: transform 0.3s;
}

.detail-link:hover span {
    transform: translateX(3px);
}

/* 详情页面样式 */
.detail-section {
    flex: 1;
    padding: 100px 20px 60px;
    background: #f5f7fa;
    min-height: calc(100vh - 200px);
}

.detail-header {
    max-width: 1000px;
    margin: 0 auto 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #0066cc;
}

.detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.detail-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.detail-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-info .info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.detail-info .info-row:last-child {
    border-bottom: none;
}

.detail-info .info-label {
    color: #999;
    width: 100px;
}

.detail-info .info-value {
    color: #333;
    font-weight: 500;
}

.detail-info .info-value.text-success {
    color: #52c41a;
}

.detail-table {
    overflow-x: auto;
}

.detail-table .table {
    margin: 0;
}

.detail-table .table th {
    background: #f8f9fa;
    color: #666;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 15px;
    border-bottom: 2px solid #e9ecef;
}

.detail-table .table td {
    color: #333;
    font-size: 14px;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-table .table tr:hover {
    background: #fafafa;
}

/* 响应式 */
@media (max-width: 768px) {
    .analysis-form-wrapper {
        padding: 20px;
    }

    .analysis-btn-wrapper {
        padding-right: 0;
    }

    .btn-content-group {
        position: static;
        right: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .operator-info .operator-name {
        font-size: 24px;
    }

    .match-rate .rate-value {
        font-size: 36px;
    }

    .result-content {
        padding: 20px 15px;
    }

    .detail-card {
        padding: 20px 15px;
    }
}

/* 详情页面头部 */
.detail-page-header {
    background: linear-gradient(to right,#1a1a1a,#a3b5c7);
    padding: 80px 20px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #fff;
}

.detail-page-header .container-fluid {
    max-width: 100%;
    padding: 0 20px;
}

.header-content {
    display: flex;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
}

.header-content .operator-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-icon {
    display: flex;
    color:#fff;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.3s;
}

.back-icon:hover {
    color: #0066cc;
}

.operator-text {
    display: flex;
    flex-direction: column;
}

.header-content .operator-name {
    font-size: 24px;
    font-weight: 700;
}

.header-content .operator-desc {
    font-size: 14px;
}

/* 详情内容区域 */
.detail-section {
    flex: 1;
    padding: 30px 20px 60px;
    background: #f5f7fa;
    min-height: calc(100vh - 200px);
}

.detail-content {
    max-width: 90%;
    margin: 0 auto;
}

/* 匹配度概览 */
.match-overview {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
}

.overview-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

.overview-right {
    flex: 1;
}

/* 圆形进度条 */
.progress-circle {
    position: relative;
    width: 150px;
    height: 150px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle .progress-bg {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 10;
}

.progress-circle .progress-bar {
    fill: none;
    stroke: #0066cc;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 70;
    transition: stroke-dashoffset 1s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-value {
    font-size: 32px;
    font-weight: 700;
    color: #0066cc;
}

.progress-label {
    margin-top: 15px;
    font-size: 14px;
    color: #999;
    text-align: center;
}

/* 表格徽章 */
.badge-success {
    display: inline-block;
    padding: 4px 12px;
    background: #d4edda;
    color: #28a745;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.badge-warning {
    display: inline-block;
    padding: 4px 12px;
    background: #fff3cd;
    color: #d48806;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.badge-error {
    display: inline-block;
    padding: 4px 12px;
    background: #f8d7da;
    color: #dc3545;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* 匹配结果分析 */
.analysis-result-item {
    margin-bottom: 10px;
}
.analysis-result-text {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.analysis-result-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

.analysis-result-text strong {
    color: #0066cc;
}

.analysis-result-text .text-success {
    color: #28a745;
}

/* 响应式 - 详情页面 */
@media (max-width: 992px) {
    .match-overview {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .analysis-section{
       padding: 90px 0 20px;
    }
    .header-content {
        flex-direction: row;
    }

    .header-content .operator-info {
        align-items: center;
    }

    .match-overview {
        flex-direction: column;
    }

    .overview-left {
        margin-bottom: 20px;
    }

    .progress-circle {
        width: 120px;
        height: 120px;
    }

    .progress-value {
        font-size: 24px;
    }

    .detail-content {
        max-width: 100%;
    }
}

/* 必填图标样式 */
.form-label .required {
    color: #dc3545;
    margin-left: 2px;
}

/* 下拉框禁用样式 */
.form-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.7;
}

/* 表单提示文字 */
.form-tip {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.form-tip.text-warning {
    color: #dc3545;
}

/* Select2 样式覆盖 */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px;
    padding-left: 15px;
    font-size: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.select2-dropdown {
    border-radius: 5px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.select2-container--default .select2-results__option {
    padding: 5px 15px;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0066cc;
}

.select2-search__field {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 8px;
    margin-bottom: 10px;
}
