/* 自动恢复：原 CF7 表单模板内联样式，已按页面作用域隔离 */
/* 来源页面: /星评质控评价表（仅填扣分项）  (page_id=2501) */
.page-id-2501 {
            --primary-color: #165DFF;
            --primary-hover: #0E42D2;
            --bg-color: #f9f9f9;
            --border-color: #e0e0e0;
            --text-color: #333;
            --hover-bg: #f0f0f0;
            --error-color: #e74c3c;
            --info-bg: #f5f7fa;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --card-highlight: #f0f9ff;
        }
.page-id-2501 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
.page-id-2501 {
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            padding: 20px;
            background-image: linear-gradient(135deg, #f5f7fa 0%, #e4ecff 100%);
            min-height: 100vh;
        }
.page-id-2501 .cf7-ultra-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }
.page-id-2501 .cf7-header {
            text-align: center;
            margin-bottom: 30px;
            padding: 25px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
.page-id-2501 .cf7-header h1 {
            font-size: 2.2rem;
            color: var(--primary-color);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
.page-id-2501 .cf7-header p {
            font-size: 1.1rem;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }
.page-id-2501 .cf7-section-card {
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            margin-bottom: 25px;
            padding: 25px;
            transition: all 0.3s ease;
            border-left: 4px solid var(--primary-color);
        }
.page-id-2501 .cf7-section-card:hover {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }
.page-id-2501 .cf7-info-card {
            background-color: var(--info-bg);
            border-radius: 8px;
            margin-bottom: 25px;
            padding: 25px;
            border-left: 4px solid #8c9eff;
        }
.page-id-2501 .cf7-info-title {
            color: #555;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.page-id-2501 .cf7-info-title i {
            color: var(--primary-color);
        }
.page-id-2501 .cf7-info-content {
            color: #666;
            line-height: 1.6;
        }
.page-id-2501 .cf7-info-content ul {
            margin: 15px 0 15px 20px;
        }
.page-id-2501 .cf7-info-content li {
            margin-bottom: 8px;
        }
.page-id-2501 .cf7-section-title {
            color: var(--text-color);
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }
.page-id-2501 .cf7-section-title::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 20px;
            background-color: var(--primary-color);
            margin-right: 10px;
            border-radius: 3px;
        }
.page-id-2501 .cf7-form-row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }
.page-id-2501 .cf7-form-col {
            flex: 1;
            padding: 0 15px;
            margin-bottom: 20px;
            min-width: 280px;
        }
.page-id-2501 .cf7-form-col-sm {
            flex: 1;
            padding: 0 10px;
            margin-bottom: 15px;
            min-width: 120px;
        }
@media (max-width: 768px) {
.page-id-2501 .cf7-form-col, .page-id-2501 .cf7-form-col-sm {
                flex-basis: 100%;
            }
}
.page-id-2501 .cf7-input-wrapper {
            position: relative;
            margin-bottom: 20px;
        }
.page-id-2501 .cf7-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
            display: flex;
            align-items: center;
            gap: 8px;
        }
.page-id-2501 .cf7-label i {
            color: var(--primary-color);
            font-size: 16px;
        }
.page-id-2501 .required { 
            color: var(--error-color); 
            margin-left: 3px;
            font-size: 14px;
        }
.page-id-2501 .cf7-input, .page-id-2501 .cf7-select, .page-id-2501 .cf7-textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            background-color: #fff;
            transition: all 0.3s ease;
            font-size: 15px;
            color: var(--text-color);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }
.page-id-2501 .cf7-input:focus, .page-id-2501 .cf7-select:focus, .page-id-2501 .cf7-textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            background-color: #fff;
            box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.15);
        }
.page-id-2501 .cf7-input::placeholder, .page-id-2501 .cf7-textarea::placeholder {
            color: #999;
        }
.page-id-2501 .cf7-radio-group {
            margin-bottom: 20px;
        }
.page-id-2501 .cf7-radio {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
.page-id-2501 .cf7-radio-item {
            display: flex;
            align-items: center;
            margin-right: 15px;
            margin-bottom: 10px;
        }
.page-id-2501 .cf7-radio-item input[type="radio"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }
.page-id-2501 .cf7-radio-item label {
            display: inline-block;
            padding: 10px 20px;
            border-radius: 6px;
            background-color: var(--bg-color);
            color: #666;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 15px;
            min-width: 100px;
            text-align: center;
        }
.page-id-2501 .cf7-radio-item input[type="radio"]:checked + label {
            background-color: var(--primary-color);
            color: #fff;
            box-shadow: 0 2px 5px rgba(22, 93, 255, 0.3);
        }
.page-id-2501 .cf7-radio-item label:hover {
            background-color: var(--hover-bg);
        }
.page-id-2501 .cf7-checkbox-group {
            margin-bottom: 20px;
        }
.page-id-2501 .cf7-checkbox {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
.page-id-2501 .cf7-checkbox-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            width: 100%;
        }
.page-id-2501 .cf7-checkbox-item input[type="checkbox"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }
.page-id-2501 .cf7-checkbox-item label {
            position: relative;
            padding-left: 35px;
            cursor: pointer;
            line-height: 22px;
            color: #666;
            font-size: 15px;
            display: inline-block;
        }
.page-id-2501 .cf7-checkbox-item label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 22px;
            height: 22px;
            border: 2px solid var(--border-color);
            border-radius: 4px;
            background-color: #fff;
            transition: all 0.2s ease;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }
.page-id-2501 .cf7-checkbox-item input[type="checkbox"]:checked + label:before {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
.page-id-2501 .cf7-checkbox-item input[type="checkbox"]:checked + label:after {
            content: '';
            position: absolute;
            left: 7px;
            top: 3px;
            width: 6px;
            height: 12px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
.page-id-2501 .cf7-checkbox-item label:hover:before {
            border-color: var(--primary-color);
        }
.page-id-2501 .cf7-submit-wrapper {
            text-align: center;
            margin-top: 30px;
            margin-bottom: 20px;
        }
.page-id-2501 .cf7-submit {
            background-color: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 16px 50px;
            font-size: 17px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
.page-id-2501 .cf7-submit:hover {
            background-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(22, 93, 255, 0.3);
        }
.page-id-2501 .cf7-submit:active {
            transform: translateY(0);
        }
.page-id-2501 .cf7-submit::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: shine 2s infinite;
        }
@keyframes shine {
            100% {
                left: 100%;
            }
        }
.page-id-2501 .cf7-footer {
            text-align: center;
            margin-top: 30px;
            color: #777;
            font-size: 14px;
        }
.page-id-2501 .stats-summary {
            display: flex;
            justify-content: space-around;
            margin: 25px 0;
            flex-wrap: wrap;
            gap: 15px;
        }
.page-id-2501 .stat-card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            text-align: center;
            min-width: 180px;
            flex: 1;
            transition: all 0.3s ease;
        }
.page-id-2501 .stat-card.highlight {
            background: var(--card-highlight);
            border: 2px solid var(--primary-color);
            box-shadow: 0 6px 15px rgba(22, 93, 255, 0.15);
        }
.page-id-2501 .stat-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        }
.page-id-2501 .stat-card .value {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--primary-color);
            margin: 10px 0;
        }
.page-id-2501 .stat-card .sub-value {
            font-size: 1rem;
            margin: 5px 0;
            color: #666;
        }
.page-id-2501 .stat-card .label {
            color: #666;
            font-size: 0.9rem;
        }
.page-id-2501 .progress-container {
            margin-top: 10px;
        }
.page-id-2501 .progress-bar {
            height: 8px;
            background: #e0e0e0;
            border-radius: 4px;
            overflow: hidden;
        }
.page-id-2501 .progress-fill {
            height: 100%;
            background: var(--primary-color);
            border-radius: 4px;
            transition: width 0.5s ease;
        }
.page-id-2501 .calculation-result {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-top: 10px;
            padding: 8px 0;
            border-top: 1px dashed #ddd;
        }
.page-id-2501 .calculation-value {
            color: #ff6b35;
            font-weight: 700;
        }
.page-id-2501 .wpcf7-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 18px;
        }
.page-id-2501 .wpcf7-table th, .page-id-2501 .wpcf7-table td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: center;
        }
.page-id-2501 .wpcf7-table th {
            background-color: #f5f5f5;
            font-weight: bold;
        }
.page-id-2501 .wpcf7-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
.page-id-2501 input[readonly] {
            background-color: #f0f0f0;
            font-weight: bold;
            color: #333;
            border: 1px solid #ddd;
            padding: 8px;
        }
.page-id-2501 .result-container {
            margin: 20px 0;
            padding: 15px;
            background-color: #f9f9f9;
            border: 1px solid #eee;
            border-radius: 4px;
        }
.page-id-2501 .result-container label {
            font-weight: bold;
            margin-right: 10px;
        }
.page-id-2501 .star-display {
            font-size: 24px;
            letter-spacing: 3px;
            color: #ffcc00;
            text-shadow: 0 0 2px rgba(0,0,0,0.3);
            background: transparent !important;
            border: none !important;
            font-weight: bold;
        }
.page-id-2501 input[type="number"] {
            width: 80px;
            padding: 8px;
            text-align: center;
        }
.page-id-2501 input[type="text"] {
            width: 100%;
            padding: 8px;
        }
.page-id-2501 input[type="submit"] {
            background: #0073aa;
            color: white;
            border: none;
            padding: 12px 24px;
            font-size: 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s;
        }
.page-id-2501 input[type="submit"]:hover {
            background: #005177;
        }
.page-id-2501 .add-deduction {
            background: #f0f0f0;
            border: 1px solid #ddd;
            padding: 8px 12px;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.3s;
            font-size: 14px;
        }
.page-id-2501 .add-deduction:hover {
            background: #e0e0e0;
            border-color: #ccc;
        }
.page-id-2501 .deduction-control {
            min-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
.page-id-2501 .deduction-input-group {
            display: flex;
            justify-content: center;
        }
.page-id-2501 .basis-input-group {
            display: flex;
            justify-content: center;
        }
.page-id-2501 .wpcf7-table tr:hover {
            background-color: #f5f5f5;
        }
.page-id-2501 .negative-sign {
            margin-right: 0px;
            display: inline-block;
            vertical-align: middle;
            line-height: 38px;
        }
.page-id-2501 .cf7-rating-group {
          margin-bottom: 20px;
        }
.page-id-2501 .cf7-rating-label {
          display: block;
          margin-bottom: 12px;
          font-weight: 500;
          color: #555;
        }
.page-id-2501 .cf7-radio input[type="radio"] {
          position: absolute;
          opacity: 0;
          width: 0;
          height: 0;
        }
.page-id-2501 .cf7-radio span.wpcf7-list-item {
          display: inline-block;
          margin-right: 10px;
          margin-bottom: 10px;
        }
.page-id-2501 .cf7-radio input[type="radio"] + span.wpcf7-list-item-label {
          display: inline-block;
          padding: 10px 18px;
          border-radius: 6px;
          background-color: var(--bg-color);
          color: #666;
          cursor: pointer;
          transition: all 0.2s ease;
          font-size: 18px;
          line-height: 1.4;
          min-width: 120px;
          text-align: center;
        }
.page-id-2501 .cf7-radio input[type="radio"]:checked + span.wpcf7-list-item-label {
          background-color: var(--primary-color) !important;
          color: #fff !important;
          box-shadow: 0 2px 5px rgba(22, 93, 255, 0.3);
        }
.page-id-2501 .cf7-radio input[type="radio"] + span.wpcf7-list-item-label:hover {
          background-color: var(--hover-bg);
          transform: translateY(-1px);
        }
.page-id-2501 .custom-alert {
            position: fixed;
            top: 400px;
            left: 50%;
            transform: translateX(-50%);
            padding: 15px 30px;
            border-radius: 8px;
            font-size: 25px;
            font-weight: 500;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 10000;
            animation: fadeIn 0.3s ease-out, fadeOut 0.5s ease-in 4.5s forwards;
            display: flex;
            align-items: center;
            gap: 10px;
        }
@keyframes fadeIn {
            from { opacity: 0; transform: translate(-50%, -20px); }
            to { opacity: 1; transform: translate(-50%, 0); }
        }
@keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; visibility: hidden; }
        }
.page-id-2501 .custom-alert.success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
.page-id-2501 .custom-alert.error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
.page-id-2501 .field-error {
            position: relative;
        }
.page-id-2501 .field-error::after {
            content: "必填字段";
            position: absolute;
            top: 100%;
            left: 0;
            color: #e74c3c;
            font-size: 12px;
            margin-top: 4px;
        }
.page-id-2501 .field-error .cf7-input, .page-id-2501 .field-error .cf7-select {
            border-color: #e74c3c !important;
            box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.15) !important;
        }
.page-id-2501 .field-error .cf7-radio-item label {
            background-color: rgba(231, 76, 60, 0.1);
            border: 1px solid #e74c3c;
        }
.page-id-2501 .alert-icon {
            font-size: 18px;
        }
