/* 申请样品页面样式 */

/* 申请样品标题 */
.request-header {
    background-color: #2070c4;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.request-header h1 {
    margin: 0;
    font-size: 42px;
    font-weight: bold;
}

/* 申请流程部分 */
.request-process-section {
    padding: 60px 0;
    background-color: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 100%;
    height: auto;
}

.process-step h3 {
    color: #2070c4;
    font-size: 20px;
    margin: 0 0 15px;
}

.process-step p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* 申请表单部分 */
.request-form-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.sample-request-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 0;
}

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

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group.half {
    width: calc(50% - 10px);
}

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

.required {
    color: red;
}

.sample-request-form input,
.sample-request-form select,
.sample-request-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    color: #333;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
}

.sample-request-form input:focus,
.sample-request-form select:focus,
.sample-request-form textarea:focus {
    outline: none;
    box-shadow: none;
    background-color: #f0f0f0;
}

.sample-request-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* 复选框样式 */
.privacy-policy {
    margin-top: 30px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #f9f9f9;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #2070c4;
    border-color: #2070c4;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.policy-text {
    line-height: 1.4;
    padding-top: 2px;
}

.policy-text a {
    color: #2070c4;
    text-decoration: none;
}

.policy-text a:hover {
    text-decoration: underline;
}

/* 按钮样式 */
.form-actions {
    margin-top: 30px;
    text-align: center;
}

.btn-primary {
    background-color: #2070c4;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #1a5ea0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half {
        width: 100%;
    }
    
    .sample-request-form {
        padding: 30px 20px;
    }
}
