/* ========================================
   服务介绍区域 - 增强视觉效果
   ======================================== */
.atf-service-intro-area {
    /* 售后服务页基础模块改为直接使用 V2 三层背景与主蓝语义。 */
    background: linear-gradient(180deg, var(--v2-bg-primary) 0%, var(--v2-bg-functional) 100%);
    position: relative;
    overflow: hidden;
}

.atf-service-intro-area::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(58, 151, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.atf-single-service {
    background: var(--v2-bg-primary);
    padding: 35px 25px;
    border-radius: 15px;
    border: 1px solid rgba(58, 151, 255, 0.08);
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.atf-single-service::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--v2-primary-600), var(--v2-primary-500));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.atf-single-service:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(58, 151, 255, 0.15);
    border-color: rgba(58, 151, 255, 0.2);
}

.atf-single-service:hover::after {
    transform: scaleX(1);
}

.atf-service-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--v2-primary-600) 0%, var(--v2-primary-500) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.atf-service-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--v2-primary-600), var(--v2-primary-500));
    opacity: 0.2;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.atf-single-service:hover .atf-service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(58, 151, 255, 0.4);
}

.atf-single-service:hover .atf-service-icon::before {
    transform: scale(1.1);
    opacity: 0.3;
}

.atf-service-icon i {
    font-size: 36px;
    color: var(--v2-text-inverse);
    position: relative;
    z-index: 1;
}


.atf-service-text h4 {
    color: var(--v2-text-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.atf-single-service:hover .atf-service-text h4 {
    color: var(--v2-primary-500);
}

.atf-service-text p {
    color: var(--v2-text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

body.functional-banner-page .atf-section-title h2 {
    color: var(--v2-text-heading);
    font-size: var(--v2-h1-font-size);
    line-height: var(--v2-h1-line-height);
    font-weight: 500;
    letter-spacing: 0;
}

/* ========================================
   快速支持通道 - 增强CTA效果
   ======================================== */
.atf-quick-support {
    padding: 50px 0;
    background: linear-gradient(90deg, var(--v2-bg-functional) 0%, rgba(var(--v2-primary-500-rgb), 0.05) 100%);
    border-top: 1px solid rgba(58, 151, 255, 0.1);
    border-bottom: 1px solid rgba(58, 151, 255, 0.1);
    position: relative;
}

.atf-quick-support::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--v2-primary-600), var(--v2-primary-500));
}

.quick-support-content h3 {
    color: var(--v2-text-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.quick-support-content p {
    color: var(--v2-text-secondary);
    font-size: 17px;
    margin: 0;
    line-height: 1.6;
}

.atf-quick-support .atf-themes-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(58, 151, 255, 0.3);
}

.atf-quick-support .atf-themes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 151, 255, 0.4);
}

/* ========================================
   工单表单区域 - 优化表单体验
   ======================================== */
.atf-ticket-form-wrapper {
    background: var(--v2-bg-primary);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(58, 151, 255, 0.05);
    position: relative;
}

.atf-ticket-form-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--v2-primary-600), var(--v2-primary-500), var(--v2-primary-600));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.atf-ticket-form-wrapper:hover::before {
    opacity: 0.1;
}

.atf-after-sales-form .form-group {
    margin-bottom: 28px;
    position: relative;
}

.atf-after-sales-form label {
    display: block;
    font-weight: 600;
    color: var(--v2-text-heading);
    margin-bottom: 10px;
    font-size: 15px;
    transition: color 0.3s ease;
}

.atf-after-sales-form .form-group:focus-within label {
    color: var(--v2-primary-500);
}

.atf-after-sales-form .required {
    color: #ff4757;
    font-weight: 700;
}

.atf-after-sales-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.atf-after-sales-form .form-control:hover {
    border-color: #d0d0d0;
}

.atf-after-sales-form .form-control:focus {
    outline: 0;
    border-color: var(--thm-color);
    background: var(--thm-white);
    box-shadow: 0 0 0 4px rgba(58, 151, 255, 0.1);
    transform: translateY(-1px);
}

.atf-after-sales-form select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233A97FF'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
    appearance: none;
}

.atf-after-sales-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
    line-height: 1.6;
}

/* 产品型号选择器优化 */
.model-checkbox-group {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f1f3 100%);
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    max-height: 320px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}


.model-checkbox-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 12px 15px 12px 38px;
    background: var(--thm-white);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.model-checkbox-item:hover {
    background: var(--thm-f6);
    border-color: var(--thm-base);
    transform: translateX(2px);
}

.model-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.model-checkbox-item .checkmark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    height: 20px;
    width: 20px;
    background-color: var(--thm-white);
    border: 2px solid #d8d8d8;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.model-checkbox-item:hover .checkmark {
    border-color: var(--thm-base);
}

.model-checkbox-item input:checked ~ .checkmark {
    background: linear-gradient(135deg, var(--thm-base), var(--thm-color));
    border-color: var(--thm-color);
    animation: checkPulse 0.4s ease;
}

@keyframes checkPulse {
    0% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.1);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

.model-checkbox-item .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.model-checkbox-item input:checked ~ .checkmark:after {
    display: block;
    animation: checkMark 0.3s ease;
}

@keyframes checkMark {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.model-checkbox-item input:checked {
    background: linear-gradient(135deg, rgba(58, 151, 255, 0.05), rgba(58, 151, 255, 0.1));
}

/* 文件上传区域优化 */
.file-upload-area {
    position: relative;
    border: 2px dashed #d8d8d8;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--thm-base);
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4ff 100%);
    transform: translateY(-2px);
}

.file-upload-area.dragover {
    border-color: var(--thm-color);
    background: linear-gradient(135deg, #e8f4ff 0%, #d6ecff 100%);
    box-shadow: 0 5px 20px rgba(58, 151, 255, 0.2);
}

.file-upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    top: 0;
    left: 0;
}

.file-upload-text i {
    font-size: 52px;
    background: linear-gradient(135deg, var(--thm-base), var(--thm-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
}

.file-upload-text p {
    margin: 0;
    color: var(--thm-black);
    font-size: 16px;
    font-weight: 500;
}

.file-upload-text .file-hint {
    color: var(--thm-gray);
    font-size: 13px;
    margin-top: 8px;
}

.file-list {
    margin-top: 20px;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--thm-white);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: var(--thm-f6);
    border-color: var(--thm-base);
    transform: translateX(3px);
}

.file-item-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.file-item-info i {
    color: var(--thm-base);
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 18px;
}

.file-item-name {
    color: var(--thm-black);
    font-size: 14px;
    font-weight: 500;
    margin-right: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item-size {
    color: var(--thm-gray);
    font-size: 12px;
    flex-shrink: 0;
}

.file-item-remove {
    background: #fff2f0;
    border: 0;
    color: #ff4757;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.file-item-remove:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1) rotate(90deg);
}

/* 验证码组优化 */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-group .form-control {
    flex: 1;
    min-width: 0;
    letter-spacing: 2px;
    font-weight: 600;
}

.captcha-image {
    height: 50px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.captcha-image:hover {
    border-color: var(--thm-base);
    box-shadow: 0 2px 10px rgba(58, 151, 255, 0.2);
}

.btn-refresh-captcha {
    background: linear-gradient(135deg, var(--thm-base), var(--thm-color));
    color: var(--thm-white);
    border: 0;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.btn-refresh-captcha:hover {
    background: linear-gradient(135deg, var(--thm-color), var(--thm-black));
    transform: rotate(180deg);
    box-shadow: 0 4px 15px rgba(58, 151, 255, 0.3);
}

/* 复选框优化 */
.form-check {
    padding-left: 0;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    vertical-align: middle;
    accent-color: var(--thm-color);
}

.form-check-label {
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    color: var(--thm-gray);
    line-height: 1.5;
}

.form-check-label a {
    color: var(--thm-color);
    text-decoration: underline;
    font-weight: 500;
}

.form-check-label a:hover {
    color: var(--thm-black);
    text-decoration: none;
}

/* 错误提示优化 */
.error-message {
    display: block;
    color: #ff4757;
    font-size: 13px;
    margin-top: 6px;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    background: #fff2f0;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.form-group.error .error-message {
    opacity: 1;
    transform: translateY(2px);
}

.form-group.error .form-control {
    border-color: #ff4757;
    background: #fff8f8;
}

/* 提交按钮优化 */
.btn-submit {
    padding: 16px 55px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--thm-base), var(--thm-color));
    color: var(--thm-white);
    border: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(58, 151, 255, 0.3);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 151, 255, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* ========================================
   常见问题区域优化
   ======================================== */
.atf-faq-area {
    position: relative;
}

.atf-faq-area .accordion {
    max-width: 100%;
}

.atf-faq-area .card {
    border: 0;
    margin-bottom: 20px;
    background: 0 0;
}

.atf-faq-area .card-header {
    background: var(--thm-white);
    padding: 0;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.atf-faq-area .card-header:hover {
    border-color: var(--thm-base);
    box-shadow: 0 5px 20px rgba(58, 151, 255, 0.1);
}

.atf-faq-area .card-title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    color: var(--thm-black);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.atf-faq-area .card-title a:hover {
    color: var(--thm-color);
    padding-left: 35px;
}

.atf-faq-area .card-title a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--thm-color);
    transition: transform 0.3s ease;
}

.atf-faq-area .card-title a.collapsed::after {
    transform: rotate(-90deg);
}

.atf-faq-area .card-body {
    padding: 30px;
    background: var(--thm-white);
    border: 2px solid #e8e8e8;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    margin-top: -2px;
    color: var(--thm-gray);
    line-height: 1.8;
    font-size: 15px;
}

/* ========================================
   模态框优化
   ======================================== */
.modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #e8e8e8;
    padding: 25px 35px;
    background: linear-gradient(135deg, var(--thm-f6) 0%, var(--thm-white) 100%);
}

.modal-body {
    padding: 40px 35px;
    text-align: center;
}

.modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    position: relative;
}

.modal-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    opacity: 0.2;
    z-index: -1;
}

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

.modal-icon.success::after {
    background: #e8f8f5;
}

.modal-icon.error {
    background: #fff2f0;
    color: #ff4757;
}

.modal-icon.error::after {
    background: #fff2f0;
}

.modal-message {
    color: var(--thm-gray);
    margin: 0;
    line-height: 1.7;
    font-size: 16px;
}

.modal-footer {
    border-top: 0;
    padding: 0 35px 35px;
    justify-content: center;
}

.modal-footer .btn {
    padding: 10px 35px;
    border-radius: 25px;
    font-weight: 600;
}

/* ========================================
   动画效果
   ======================================== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   响应式设计优化
   ======================================== */
@media (max-width: 991px) {
    .model-checkbox-group {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .atf-ticket-form-wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .atf-ticket-form-wrapper {
        padding: 35px 25px;
        border-radius: 15px;
    }

    .atf-after-sales-form .form-control {
        font-size: 16px;
        padding: 12px 15px;
    }

    .model-checkbox-group {
        max-height: 250px;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }

    .model-checkbox-item {
        padding: 10px 10px 10px 35px;
    }

    .captcha-group {
        flex-wrap: wrap;
        gap: 10px;
    }

    .captcha-group .form-control {
        width: 100%;
    }

    .captcha-image {
        width: auto;
        max-width: 120px;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }

    .atf-service-intro-area .row {
        margin: 0 -15px;
    }

    .atf-single-service {
        margin-bottom: 20px;
        padding: 30px 20px;
        min-height: 260px;
    }

    .atf-service-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }

    .atf-service-icon i {
        font-size: 30px;
    }

    .quick-support-content h3 {
        font-size: 26px;
    }

    .quick-support-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .atf-faq-area .card-title a {
        font-size: 15px;
        padding: 18px 25px;
    }

    .atf-faq-area .card-body {
        padding: 25px;
        font-size: 14px;
    }

    .file-upload-area {
        padding: 30px 20px;
    }

    .file-upload-text i {
        font-size: 42px;
    }

    .file-item {
        padding: 10px 12px;
    }

    .file-item-name {
        font-size: 13px;
    }

    .error-message {
        position: static;
        margin-top: 4px;
        padding: 3px 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .atf-section-title h2 {
        font-size: 26px;
    }

    .atf-section-title h5 {
        font-size: 13px;
        padding: 3px 12px;
    }

    .atf-section-title p {
        font-size: 14px;
        margin-top: 12px;
    }

    .atf-ticket-form-wrapper {
        padding: 25px 20px;
    }

    .atf-after-sales-form .form-group {
        margin-bottom: 20px;
    }

    .atf-after-sales-form label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .model-checkbox-item {
        font-size: 13px;
        padding-left: 30px;
    }

    .model-checkbox-item .checkmark {
        width: 18px;
        height: 18px;
        left: 8px;
    }

    .captcha-group {
        gap: 8px;
    }

    .btn-refresh-captcha,
    .captcha-image {
        height: 44px;
    }

    .btn-refresh-captcha {
        width: 44px;
        font-size: 16px;
    }

    .file-upload-text p {
        font-size: 14px;
    }

    .file-upload-text .file-hint {
        font-size: 12px;
    }

    .atf-quick-support {
        padding: 35px 0;
    }

    .quick-support-content h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .quick-support-content p {
        font-size: 14px;
    }
}

/* 打印样式 */
@media print {
    .atf-quick-support,
    .btn-refresh-captcha,
    .file-upload-area,
    .modal {
        display: none !important;
    }

    .atf-ticket-form-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* 产品型号下拉列表样式 */
select#productModels {
    min-height: 150px;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    background-color: #fafafa;
    font-size: 14px;
    line-height: 1.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

select#productModels:hover {
    border-color: #d0d0d0;
    background-color: #f8f8f8;
}

select#productModels:focus {
    outline: none;
    border-color: var(--thm-color);
    background-color: var(--thm-white);
    box-shadow: 0 0 0 4px rgba(58, 151, 255, 0.1);
}

/* 选项样式 */
select#productModels option {
    padding: 8px 12px;
    font-size: 14px;
    background-color: var(--thm-white);
    color: var(--thm-black);
    transition: background-color 0.2s ease;
}

select#productModels option:checked {
    background: var(--thm-color);
    color: var(--thm-white);
    font-weight: 600;
}

select#productModels option:hover {
    background-color: var(--thm-f6);
}

select#productModels option:disabled {
    color: var(--thm-gray);
    font-style: italic;
    cursor: not-allowed;
}

/* 提示文本样式 */
.form-text.text-muted {
    font-size: 13px;
    color: var(--thm-gray);
    margin-top: 8px;
    display: block;
}

/* 移动端优化 */
@media (max-width: 768px) {
    select#productModels {
        min-height: 120px;
        font-size: 16px; /* 防止iOS缩放 */
    }

    .form-text.text-muted {
        font-size: 12px;
        line-height: 1.5;
    }
}

#faqAccordion .card-body {
    color: var(--thm-white);
}

/* ============================================================
   V2 After-sales Overrides
   说明：
   - 售后页的 CTA、表单和上传区统一压回 V2 的浅底卡片语言。
   ============================================================ */

.atf-service-intro-area,
.atf-quick-support {
    background: linear-gradient(180deg, var(--v2-bg-primary) 0%, var(--v2-bg-functional) 100%);
    border-color: var(--v2-bg-divider);
}

.atf-single-service,
.atf-ticket-form-wrapper,
.support-tip-card,
.help-card,
.order-lookup-card {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-lg);
    box-shadow: var(--v2-shadow-card);
}

.atf-single-service:hover,
.support-tip-card:hover,
.help-card:hover,
.order-lookup-card:hover {
    box-shadow: var(--v2-shadow-card-hover);
}

.atf-service-icon,
.tip-icon,
.section-number,
.file-icon {
    background: var(--v2-primary-500);
}

.model-checkbox-group,
.submit-section,
.upload-placeholder,
.file-upload-label {
    background: var(--v2-bg-content);
    border-color: var(--v2-bg-divider);
}

.model-checkbox-item:hover,
.order-item-tag,
.file-item:hover {
    border-color: var(--v2-primary-200);
    background: rgba(var(--v2-primary-500-rgb), 0.05);
}

/* ============================================================
   V2 After-sales Final Alignment
   说明：
   - 售后页还有旧表单输入、按钮和步骤信息块的局部残留。
   - 这里补最终覆盖，统一票据、上传和帮助卡的焦点态与主次按钮语义。
   ============================================================ */

.atf-ticket-form-wrapper,
.support-tip-card,
.help-card,
.order-lookup-card,
.ticket-step-card,
.order-summary-card,
.file-item {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-lg);
    box-shadow: var(--v2-shadow-card);
}

.model-checkbox-group,
.submit-section,
.upload-placeholder,
.file-upload-label,
.order-item-tag {
    background: var(--v2-bg-content);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-md);
}

.atf-ticket-form-wrapper input,
.atf-ticket-form-wrapper textarea,
.atf-ticket-form-wrapper select,
.order-lookup-card input,
.order-lookup-card textarea,
.order-lookup-card select {
    background: var(--v2-bg-primary);
    border: 1px solid var(--v2-bg-divider);
    border-radius: var(--v2-radius-md);
    color: var(--v2-text-body);
}

.atf-ticket-form-wrapper input:focus,
.atf-ticket-form-wrapper textarea:focus,
.atf-ticket-form-wrapper select:focus,
.order-lookup-card input:focus,
.order-lookup-card textarea:focus,
.order-lookup-card select:focus {
    border-color: var(--v2-primary-500);
    box-shadow: 0 0 0 4px rgba(var(--v2-primary-500-rgb), 0.12);
}

.submit-section .btn-primary,
.help-card .btn-primary,
.order-lookup-card .btn-primary {
    background: var(--v2-primary-500);
    border-color: var(--v2-primary-500);
    color: var(--v2-text-inverse);
}

.submit-section .btn-primary:hover,
.help-card .btn-primary:hover,
.order-lookup-card .btn-primary:hover {
    background: var(--v2-primary-400);
    border-color: var(--v2-primary-400);
}

.atf-ticket-form-wrapper .form-control,
.atf-ticket-form-wrapper input,
.atf-ticket-form-wrapper textarea,
.atf-ticket-form-wrapper select,
.order-lookup-card .form-control,
.order-lookup-card input,
.order-lookup-card textarea,
.order-lookup-card select {
    background: var(--v2-bg-primary) !important;
    border: 1px solid var(--v2-bg-divider) !important;
    border-radius: var(--v2-radius-md) !important;
    color: var(--v2-text-body) !important;
}

.atf-ticket-form-wrapper .form-control:focus,
.atf-ticket-form-wrapper input:focus,
.atf-ticket-form-wrapper textarea:focus,
.atf-ticket-form-wrapper select:focus,
.order-lookup-card .form-control:focus,
.order-lookup-card input:focus,
.order-lookup-card textarea:focus,
.order-lookup-card select:focus {
    border-color: var(--v2-primary-500) !important;
    box-shadow: 0 0 0 4px rgba(var(--v2-primary-500-rgb), 0.12) !important;
}

.atf-single-service,
.atf-ticket-form-wrapper,
.support-tip-card,
.help-card,
.order-lookup-card,
.ticket-step-card,
.order-summary-card,
.file-item,
.file-upload-area,
#faqAccordion .card,
.atf-subscribe-panel,
.atf-subscribe-input,
.atf-subscribe-btn {
    border-radius: var(--v2-radius-sm);
}

.atf-ticket-form-wrapper .form-control,
.atf-ticket-form-wrapper input,
.atf-ticket-form-wrapper textarea,
.atf-ticket-form-wrapper select,
.order-lookup-card .form-control,
.order-lookup-card input,
.order-lookup-card textarea,
.order-lookup-card select {
    border-radius: var(--v2-radius-sm) !important;
}

.quick-support-content h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    letter-spacing: 0;
}

@media (max-width: 767px) {
    .atf-section-title h2 {
        font-size: 28px;
        line-height: 36px;
        font-weight: 500;
        letter-spacing: 0;
    }

    .atf-section-title h5 {
        font-size: 14px;
        line-height: 22px;
    }

    .quick-support-content h3 {
        font-size: 20px;
        line-height: 28px;
    }
}

body.functional-banner-light .atf-page-heading[style*="--after-sales-ban-bg"]::before {
    content: none;
    background: none;
    opacity: 0;
}

body.functional-banner-light .atf-page-heading[style*="--after-sales-ban-bg"] .atf-page-heading-title {
    color: var(--v2-text-heading) !important;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.42);
}

body.functional-banner-light .atf-page-heading[style*="--after-sales-ban-bg"] .atf-post-label {
    border-color: rgba(var(--v2-bg-dark-rgb), 0.08) !important;
    background: rgba(255, 255, 255, 0.68) !important;
    box-shadow: 0 12px 30px rgba(var(--v2-bg-dark-rgb), 0.1) !important;
}

body.functional-banner-light .atf-page-heading[style*="--after-sales-ban-bg"] .atf-post-label > span,
body.functional-banner-light .atf-page-heading[style*="--after-sales-ban-bg"] .atf-post-label > span a,
body.functional-banner-light .atf-page-heading[style*="--after-sales-ban-bg"] .atf-post-label > span:last-child,
body.functional-banner-light .atf-page-heading[style*="--after-sales-ban-bg"] .atf-post-label > span:not(:has(a)),
body.functional-banner-light .atf-page-heading[style*="--after-sales-ban-bg"] .atf-post-label > span:not(:last-child)::after {
    color: var(--v2-text-body) !important;
}

body.functional-banner-light .atf-page-heading[style*="--after-sales-ban-bg"] .atf-post-label > span a:hover {
    color: var(--v2-primary-600) !important;
}
