.yn-form-body {
    padding: 6.875rem 2rem;
    background-color: #faf7f2;
}

.yn-form-body .form-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.yn-form-body .form-main .form-div {
    width: 100%;
    max-width: 41.125rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.yn-form-body .form-div h1 {
    margin-bottom: 1.5625rem;
    font-size: 47px;
}

.yn-form-body .form-div p {
    margin-bottom: 3.125rem;
    font-size: 18px;
}

.yn-form-body .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.yn-form-body .input-group {
    display: flex;
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
}

.yn-form-body input {
    padding: 10px;
    border: 1px solid #c9b89f;
    /*border-right: none;*/
    border-radius: 3px 0 0 3px;
    flex: 1;
    width: 450px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.yn-form-body input:focus {
    border-color: #a68f76;
}

.yn-form-body input:disabled {
    background-color: #f1ede6;
    cursor: not-allowed;
    border-color: #e0d6c3;
}

.yn-form-body .add-btn {
    padding: 10px 20px;
    background-color: #d4c2a7;
    color: #fff;
    border: 1px solid #c9b89f;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-size: 22px;
    transition: background-color 0.3s;
}

.yn-form-body .add-btn:disabled {
    background-color: #e9e2d5;
    cursor: not-allowed;
    border-color: #d8d0c1;
}

.yn-form-body .add-btn:not(:disabled):hover {
    background-color: #c9b89f;
}

.yn-form-body .tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 900px;
}

.yn-form-body .tag {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #c9b89f;
    border-radius: 3px;
    background-color: #fff;
}

.yn-form-body .tag-text {
    margin-right: 8px;
}

.yn-form-body .delete-btn {
    cursor: pointer;
    color: #c9b89f;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
}

.yn-form-body .delete-btn:hover {
    color: #a68f76;
}

.yn-form-body .next-step-btn {
    padding: 10px 30px;
    background-color: #d4c2a7;
    color: #fff;
    border: 1px solid #c9b89f;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.yn-form-body .next-step-btn:disabled {
    background-color: #e9e2d5;
    cursor: not-allowed;
    color: #b8b0a0;
    border-color: #d8d0c1;
}

.yn-form-body .next-step-btn:not(:disabled):hover {
    background-color: #c9b89f;
}

@media (max-width: 720px) {
    .yn-form-body input {
        width: 100%;
    }
}

.calendar-module {
    text-align: center;
    margin-top: -13px;
}

.year-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.nav-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #c9b89f;
    cursor: pointer;
    padding: 0 15px;
    transition: color 0.3s;
}

.nav-btn:hover {
    color: #a68f76;
}

.year-display {
    font-size: 22px;
    margin: 0 25px;
    color: #5a4b3c;
}

.year-warning {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.contact-form-app-options-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-app-options-inner .btns {
    display: flex;
    align-items: center;
    border: 1px solid #c9b89f;
    border-radius: 3px;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    position: relative;
    color: #5a4b3c;
    font-size: 16px;
    justify-content: flex-start;
    text-align: left;
}

.contact-form-app-options-inner .btns::before {
    content: "";
    width: 16px;  /* 增加尺寸使其更明显 */
    height: 16px;
    border: 2px solid #c9b89f;  /* 增加边框宽度 */
    border-radius: 50%;  /* 确保是圆形 */
    margin-right: 10px;
    display: inline-block;
    background-color: transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-form-app-options-inner .btns.selected {
    border-color: #a68f76;
}

.contact-form-app-options-inner .btns.selected::before {
    background-color: #a68f76;
}

.contact-form-app-options-inner .btns:hover {
    background-color: #f5f1e9;
    border-color: #a68f76;
}

.action-btns {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.action-btns .btn {
    padding: 12px 30px;
    border: 1px solid #c9b89f;
    border-radius: 3px;
    background-color: transparent;
    color: #c9b89f;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

.action-btns .btn:hover {
    background-color: #c9b89f;
    color: #fff;
}

#calendarNextStep {
    background-color: #d4c2a7;
    color: #fff;
    border-color: #c9b89f;
}

#calendarNextStep:disabled {
    background-color: #e9e2d5;
    color: #b8b0a0;
    cursor: not-allowed;
    border-color: #d8d0c1;
}

#calendarNextStep:not(:disabled):hover {
    background-color: #c9b89f;
}

/* 目的地模块样式 */
#destinationModule {
    margin: 20px;
}

.tag {
    display: inline-block;
    background-color: #f5f1e9;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 15px;
}

.delete-btn {
    margin-left: 5px;
    cursor: pointer;
    color: #5a4b3c;
}
/* ------------------------------ 新增：同伴选择模块样式 ------------------------------ */
/* 1. 同伴模块整体布局：垂直单列，窄版适配 */
#companionModule .contact-form-app-options-inner {
    grid-template-columns: 1fr; /* 垂直单列排列，与图片一致 */
    max-width: 320px; /* 窄版选项，贴近图片视觉 */
    gap: 12px; /* 选项间距缩小，更紧凑 */
}

/* 2. 同伴选项样式：文字左、选择器右，边框明显 */
#companionModule .contact-form-app-options-inner .btns {
    justify-content: space-between; /* 文字左对齐，选择器右对齐 */
    padding: 10px 18px; /* 内边距调整，适配单列 */
    border: 1px solid #c9b89f; /* 明显边框，解决“无边框”问题 */
}

/* 3. 同伴模块下一步按钮：与日期模块风格统一 */
#companionNextStep {
    background-color: #d4c2a7;
    color: #fff;
    border-color: #c9b89f;
    transition: background-color 0.3s;
}

#companionNextStep:disabled {
    background-color: #e9e2d5;
    color: #b8b0a0;
    cursor: not-allowed;
    border-color: #d8d0c1;
}

#companionNextStep:not(:disabled):hover {
    background-color: #c9b89f;
}

/* 4. 适配小屏幕 */
@media (max-width: 720px) {
    #companionModule .contact-form-app-options-inner {
        max-width: 90%; /* 小屏幕占满宽度 */
    }
}
/* ------------------------------ 新增：人数选择模块样式 ------------------------------ */
/* 选择框基础样式（与现有输入框风格统一） */
.travel-select {
    width: 355px;
    padding: 8px 12px;
    border: 1px solid #c9b89f;
    border-radius: 3px;
    font-size: 16px;
    color: #5a4b3c;
    background-color: #faf7f2;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s;
}

/* 选择框 hover/focus 效果（与输入框一致） */
.travel-select:hover,
.travel-select:focus {
    border-color: #a68f76;
}

/* 选择框整体禁用态（总人数为0时） */
.travel-select:disabled {
    background-color: #f1ede6;
    color: #b8b0a0;
    border-color: #e0d6c3;
    cursor: not-allowed;
}

/* 选择框选项禁用态（大于总人数的选项） */
.travel-select option:disabled {
    color: #b8b0a0;
    background-color: #f1ede6;
}

/* 输入组布局（横向对齐） */
.people-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

/* 人数模块下一步按钮（与其他模块统一） */
#peopleNextStep {
    background-color: #d4c2a7;
    color: #fff;
    border-color: #c9b89f;
    transition: background-color 0.3s;
}

#peopleNextStep:disabled {
    background-color: #e9e2d5;
    color: #b8b0a0;
    cursor: not-allowed;
    border-color: #d8d0c1;
}

#peopleNextStep:not(:disabled):hover {
    background-color: #c9b89f;
}

/* 小屏幕适配（垂直排列） */
@media (max-width: 720px) {
    .people-input-group {
        flex-direction: column;
        gap: 10px;
    }
}


/* ------------------------------ 新增：货币选择和预算滑块样式 ------------------------------ */
/* ------------------------------ 修正：水平布局的货币选择和预算滑块样式 ------------------------------ */
/* 货币选择器容器（居中显示） */
.currency-selector-container {
    text-align: center;
    margin-bottom: 2.5rem; /* 增加与滑块的距离 */
}

/* 货币选择下拉框 */
#currency-selector {
    border: 1px solid #c9b89f;
    border-radius: 3px;
    padding: 8px 12px;
    background-color: #fff;
    color: #5a4b3c;
    font-size: 16px;
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a4b3c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    outline: none;
    transition: border-color 0.3s;
}

#currency-selector:focus {
    border-color: #a68f76;
}

/* 水平滑块容器 */
.horizontal-slider-wrapper {
    width: 100%;
    max-width: 900px; /* 增加最大宽度以容纳所有标签 */
    margin: 0 auto;
}

/* 水平滑块轨道和标记点容器 */
.slider-horizontal-container {
    width: 825px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 5px; /* 左右留白 */
}

/* 水平轨道线 */
.slider-track-horizontal {
    margin-left: 16px;
    width: 800px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #c9b89f;
    transform: translateY(-50%);
    z-index: 1;
}

/* 滑块标记点 */
.slider-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #c9b89f;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 2; /* 确保在轨道上方 */
}

.slider-marker.active {
    background-color: #a68f76;
    border-color: #a68f76;
    transform: scale(1.3); /* 适当放大选中状态 */
}

/* 水平排列的金额标签容器 */
.amount-labels-horizontal {
    width: 896px;
    display: flex;
    justify-content: space-between;
    margin-top: 1rem; /* 标签与滑块的距离 */
    padding: 0 5px; /* 与滑块对齐 */
}

/* 金额标签样式 */
.slider-label {
    color: #5a4b3c;
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
    width: 80px; /* 固定宽度确保对齐 */
    transform: translateX(-35px); /* 居中对齐到标记点 */
}

/* 调整最后一个标签的位置，防止右偏 */
.amount-labels-horizontal .slider-label:last-child {
    transform: translateX(-40px);
}

/* 预算模块容器 */
#budgetModule {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* 底部按钮容器 */
.budget-buttons {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    /* 右对齐按钮 */
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem; /* 与滑块保持距离 */
}

/* 按钮样式调整 */
.budget-prev {
    color: #c9b89f;
    background-color: transparent;
    border: 1px solid #c9b89f;
}

.budget-next {
    background-color: #d4c2a7;
    color: #fff;
    border: 1px solid #c9b89f;
}

.budget-prev:hover {
    background-color: #f5f1e9;
}

.budget-next:hover {
    background-color: #c9b89f;
}
/* 联系表单标题样式 */
#contactTitle h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-style: italic;
    margin-bottom: 2.5rem;
    text-transform: lowercase;
    letter-spacing: -1px;
}

/* 输入框基础样式 */
.form-input-base {
    padding: 10px;
    border: 1px solid #c9b89f;
    border-radius: 3px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fff;
    color: #5a4b3c;
}

.form-input-base:focus {
    border-color: #a68f76;
}

/* 复选框样式（与偏好模块保持一致） */
.consent-checkbox-custom {
    width: 16px;
    height: 16px;
    border: 2px solid #c9b89f;
    border-radius: 50%;
    display: inline-block;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

/* 选中状态样式 */
#consentEmail:checked ~ .consent-checkbox-custom,
#consentSms:checked ~ .consent-checkbox-custom,
#consentRequired:checked ~ .consent-checkbox-custom {
    background-color: #a68f76;
    border-color: #a68f76;
}

/* 提交按钮样式 */
#contactSubmitBtn {
    background-color: #d4c2a7;
    color: #fff;
    border-color: #c9b89f;
}

#contactSubmitBtn:disabled {
    background-color: #e9e2d5;
    color: #b8b0a0;
    cursor: not-allowed;
    border-color: #d8d0c1;
}

#contactSubmitBtn:not(:disabled):hover {
    background-color: #c9b89f;
}
.error-message {
    color: #e74c3c; /* 红色 */
    font-size: 14px;
    margin-top: 5px; /* 与输入框保持距离 */
    display: none; /* 默认隐藏 */
    text-align: left; /* 左对齐，贴近输入框 */
}
/* 响应式适配 */
@media (max-width: 720px) {
    .form-input-base {
        width: 100% !important;
    }

    .action-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .action-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}
