/* ========== 新疆定制行程表单模块 ========== */

/* 页面背景 */
.xj-itinerary-section {
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* 表单容器 */
.xj-itinerary-wrapper {
    width: 100%;
    max-width: 550px;
}

/* ========== 头部区域 ========== */
.xj-itinerary-header {
    text-align: center;
    padding-left: 100px;
    margin-bottom: 36px;
}

.xj-itinerary-title {
    font-size: 28px;
    color: #333333;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.xj-itinerary-desc {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

/* ========== 表单主体 ========== */
.xj-itinerary-form {
    width: 100%;
}

/* 表单行 */
.xj-itinerary-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

/* 标签 */
.xj-itinerary-label {
    width: 100px;
    min-width: 100px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    line-height: 40px;
    padding-right: 16px;
    box-sizing: border-box;
}

/* 输入框容器 */
.xj-itinerary-input-wrap {
    flex: 1;
    position: relative;
}

/* 输入框 */
.xj-itinerary-input {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    font-family: 'Arial', 'Microsoft YaHei', Arial, Helvetica, sans-serif;
    transition: border-color 0.2s ease;
}

.xj-itinerary-input:focus {
    border-color: #6ba368;
}

.xj-itinerary-input::placeholder {
    color: #b0b0b0;
}

/* 提示文字 */
.xj-itinerary-hint {
    font-size: 14px;
    color: #555;
    margin: -5px 0 16px 0;
    padding-left: 100px;
    line-height: 1.5;
    font-family: 'Arial', 'Microsoft YaHei', Arial, Helvetica, sans-serif;
}

.xj-itinerary-input.b-error, .xj-itinerary-textarea.b-error {
    border: 1px solid #e40 !important;
}
.b-error~.invalid-error {
    display: inline;
}
.invalid-error {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
    margin-left: 0.1rem;
}

.xj-itinerary-wrap {
    display: flex;
    align-items: center;
}
.xj-itinerary-wrap .yzm-img{
    margin-left: 10px;
    border-radius: 5px;
}

/* ========== 电话输入（区号 + 号码） ========== */
.xj-itinerary-phone-wrap {
    display: flex;
}

.xj-itinerary-select {
    width: 120px;
    min-width: 120px;
    height: 40px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 6px 0 0 6px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
    box-sizing: border-box;
    font-family: 'Source Han Sans SC', 'Microsoft YaHei', Arial, Helvetica, sans-serif;
    transition: border-color 0.2s ease;
    text-align: center;
}

.xj-itinerary-select:focus {
    border-color: #6ba368;
}

.xj-itinerary-phone-input {
    flex: 1;
    border-radius: 0 6px 6px 0;
    border-left: none;
}

.xj-itinerary-phone-input:focus {
    border-color: #6ba368;
}

/* ========== 提交按钮 ========== */
.xj-itinerary-row-submit {
    margin-top: 24px;
    padding-left: 100px;
}

.xj-itinerary-submit-btn {
    width: 100%;
    height: 76px;
    background-color: #6ba368;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Source Han Sans SC', 'Microsoft YaHei', Arial, Helvetica, sans-serif;
    transition: background-color 0.2s ease;
    padding: 8px 16px;
    box-sizing: border-box;
}

.xj-itinerary-submit-btn:hover {
    background-color: #5a9157;
}

.xj-itinerary-submit-btn:active {
    background-color: #4e824b;
}

.xj-itinerary-btn-zh {
    font-size: 16px;
    font-weight: 600;
}

.xj-itinerary-btn-en {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Arial', 'Microsoft YaHei', Arial, Helvetica, sans-serif;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 600px) {
    .xj-itinerary-section {
        padding: 30px 16px;
    }

    .xj-itinerary-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .xj-itinerary-label {
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 6px;
        line-height: 1.4;
    }

    .xj-itinerary-hint {
        padding-left: 0;
    }

    .xj-itinerary-row-submit {
        padding-left: 0;
    }

    .xj-itinerary-select {
        width: 100px;
        min-width: 100px;
    }
}

