/* 试用装申请页面样式 */

/* 主内容区域 */
.trial-main {
    width: 100%;
    background-color: #0D1E3E;
    padding-top: 85px;
}

/* 顶部英雄区域 */
.trial-hero {
    width: 100%;
    display: block;
    text-align: center;
}

.trial-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 表单区域 */
.trial-form-section {
    position: relative;
}

.trial-form-container {
    background-color: #20417E;
    width: 1400px;
    margin: 0 auto;
    margin-top: -50px;
}

.trial-form-title {
    font-size: 35px;
    font-weight: 400;
    color: #FFF;
    text-align: center;
    margin-bottom: 5px;
    padding-top: 50px;
}

.trial-form-desc {
    font-size: 20px;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
}

/* 表单样式 */
.trial-application-form {
    background-color: #C0DFFF;
    padding: 60px 250px 120px;
    width: 1400px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    margin-bottom: 20px;
    gap: 80px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.full-width {
    width: 100%;
}

.form-label {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

/* 产品选择区域特殊标签样式 */
.form-group.full-width:nth-of-type(4) .form-label {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.required-mark {
    color: #FF0000;
    position: relative;
    top: -2px;
    margin-left: 4px;
    font-size: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DDD;
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* 单选按钮样式 */
.radio-group {
    display: flex;
    gap: 30px;
}

.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
}

/* 产品选择区域 */
.product-selection {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 15px;
    padding: 40px;
    border-radius: 0;
}

.product-row {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.product-row:first-child {
    margin-left: 40px;
}

.product-row:last-child {
    margin-left: 10px;
}

.product-item {
    text-align: center;
    width: auto;
}

.product-item label {
    cursor: pointer;
    display: block;
}


.product-img-container {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: transparent;
    height: 180px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-checkbox:checked + .product-img-container {
    border-color: #1B3B68;
}

.product-item img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.product-checkbox{
    width:20px;
    margin-right: 10px;
}

.product-name {
    font-size: 16px;
    margin-top: 12px;
    color: #333;
    display: flex;
    white-space: nowrap;
}

/* 复选框网格 */
.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    margin-top: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    width: calc(25% - 15px);
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

.checkbox-other {
    width: calc(50% - 10px);
}

.checkbox-other1 {
    width: calc(50% - 10px);
}

.checkbox-other input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #DDD;
    font-size: 14px;
    background-color: #fff;
}

.checkbox-other1 input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #DDD;
    font-size: 14px;
    background-color: #fff;
}


/* 隐私政策区域 */
.privacy-policy {
    margin-top: 30px;
}

.policy-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-weight: 500;
}

.policy-checkbox {
    margin-right: 8px;
    transform: scale(1.2);
    margin-top: 3px;
}

.policy-highlight {
    color: #FF0000;
    font-size: 14px;
    margin-bottom: 10px;
}

.policy-text {
    font-size: 14px;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.5;
}

.policy-item-secondary {
    margin-top: 20px;
    margin-bottom: 20px;
}

.required-mark-secondary {
    color: #FF0000;
    font-size: 16px;
    margin-right: 4px;
}

/* 条款及细则区域 */
.terms-section {
    margin-top: 20px;
}

.terms-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.terms-list {
    list-style-type: none;
    padding-left: 0;
}

.terms-list li {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* 提交按钮区域 */
.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background-color: #001130;
    color: #FFF;
    font-size: 22px;
    font-weight: bold;
    padding: 10px 80px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    opacity: 0.9;
} 

/* ========== 手机端专用样式 ========== */
@media (max-width: 576px) {

    .trial-main {
        padding-top: 70px;
    }
    .trial-form-container {
        margin-top:0;
        width:100%;
    }
    .trial-form-title {
        font-size: 24px;
        font-weight: 400;
        color: #FFF2D4;
    }
    .trial-form-desc {
        font-size: 14px;
        color: #FFF2D4;
        margin-bottom: 40px;
    }
    .trial-application-form {
        padding: 10px;
        width:100%;
    }
    .form-row {
        margin-bottom: 0px;
        gap: 20px;
    }
    .form-label {
        font-size: 16px;
        font-weight: 600;
    }
    
    .checkbox-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .radio-group {
        gap: 15px;
        font-size: 12px;
    }
    .form-control {
        padding: 8px;
        font-size: 13px;
    }
    .required-mark {
        top: 5px;
    }
    .product-row:first-child {
        margin-left: 15px;
    }
    .form-group.full-width:nth-of-type(4) .form-label {
        font-size: 18px;
        text-align: center;
    }
    .product-row {
        gap: 20px;
    }
    .product-img-container {
            width: 72px;
            height: auto;
    }
    .product-name {
       font-size: 9px !important;
        margin-top: 5px;
        letter-spacing: -1px;
    }
    .product-selection {
        gap: 20px;
        padding: 10px 0;
    }
    .product-checkbox {
        width: 12px;
        margin-right: 5px;
    }
    .checkbox-item {
        font-size: 14px;
        width:100%;
    }
    .checkbox-other {
        width:100%;
        grid-column: span 2;
    }
    .checkbox-other1 {
        width:100%;
    }
    .checkbox-item input[type="checkbox"] {
        width: 12px;
        margin-right: 5px;
    }
    .checkbox-other input {
         padding: 8px;
        font-size: 13px;
    }
    .checkbox-other1 input {
        padding: 8px;
        font-size: 13px;
        position: absolute;
        margin-left: -70px;
        width: 160px;
        margin-top: -6px;
    }
    .policy-item {
        font-size: 15px;
    }
    .submit-btn {
        font-size: 16px;
        padding: 10px;
        width: 100%;
    }
}