*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.header_top{
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    background-color: rgb(0 0 0 / 24%);
    padding: 15px 20px;
}
.header_top img{
    width: 25px;
    height: 25px;
}
.top_bg img{
        width: 100%;
        height: auto;
}
.tx{
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}
.tx img{
    position: absolute;
    top: -30%;
    border-radius: 12px;
    width: 5rem;
    height: 5rem;
}
.tx h2{
    margin-top: 3.2rem;
    color: #333;
    font-size: 18px;
}
.tx p{
    font-size: 15px;
    margin: 15px 0;
    color: rgba(22, 24, 35, 0.34);
    font-family: TikTokFont-Regular;
}
.tx h3{
    color: rgba(22, 24, 35, 0.75);
    font-weight: normal;
    font-size: 15px;
    background-color: rgba(22, 24, 35, 0.03);
    padding: 10px 13px;
}

.form_1 h4{
        font-size: 18px;
        padding: 30px 0 30px 17px;
        color: rgb(22, 24, 35);
        font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.form-item {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .form-label {
    display: block;
    color: rgb(22, 24, 35);
    font-size: 16px;
    font-weight: 700 !important;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 16px;
    font-weight: 500;
    padding: 0 0 0 17px;
  }
  
  .option-group {
    border-radius: 8px;
    overflow: hidden;
  }
  
  .option-item {
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(22, 24, 35, 0.12);
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .option-item:hover {
    background-color: rgba(22, 24, 35, 0.03);
  }
  
  .option-item.selected {
    background-color: rgba(22, 24, 35, 0.05);
  }
  
  .option-label {
    color: rgb(22, 24, 35);
    font-size: 16px;
    flex-grow: 1;
  }
  
  .option-radio {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
  }
  
  .radio-icon {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(22, 24, 35, 0.2);
    border-radius: 50%;
    position: relative;
    transition: all 0.2s;
  }
  
  .radio-icon.checked {
    border-color: #ff0000;
  }
  
  .radio-icon.checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    background-color: #ff0000;
    border-radius: 50%;
  }



  .input-container {
    margin: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  }
  
  .input-header {
    /* border-bottom: 1px solid rgba(22, 24, 35, 0.12); */
    padding-bottom: 12px;
  }
  
  .input-title {
    display: block;
    color: rgb(22, 24, 35);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  
  .input-subtitle {
    color: rgba(22, 24, 35, 0.5);
    font-size: 15px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 12px;
  }
  
  .input-field {
    padding: 8px 0;
    width: 100%;
  }
  
  .text-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 14px;
    color: rgb(22, 24, 35);
    caret-color: rgb(254, 44, 85);
    background-color: transparent;
  }
  /* 聚焦 */

  /* 聚焦 */

  .text-input::placeholder {
    color: rgba(22, 24, 35, 0.34);
  }
  
  .error-container {
    display: flex;
    align-items: center;
    margin-top: 8px;
    color: #FF4C3A;
    font-size: 12px;
    opacity: 1;
  }
  
  .error-img {
    width: 15px;
    height: 15px;
    margin-right: 4px;
  }



/* 表单 */
/* 新增：字段级错误提示样式 */
.field-error {
    display: none;
    align-items: center;
    margin-top: 4px;
    color: #bd0000;
    font-size: 12px;
    font-weight: 700;
  }


  
  .field-error img {
    width: 14px;
    margin-right: 6px;
  }



  .form-container {
    width: 100%; /* 10rem */
    margin: 30px 0 0; /* -0.213333rem 0rem 0rem */
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  }
  
  .form-field {
    margin: 8px 16px; /* 0.426667rem */
  }
  
  .field-label,#errorContainer{
    display: block;
    color: rgb(22, 24, 35);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  .error-text{
    font-size: 12px;
    color: #bd0000;
  }
  .input-wrapper, .phone-input {
    
    width: 100%;
  }
  
  .text-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 14px;
    color: rgb(22, 24, 35);
    caret-color: rgb(254, 44, 85);
    background-color: transparent;
  }
  
  .text-input::placeholder {
    color: rgba(22, 24, 35, 0.34);
  }
  
  .phone-input {
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .country-code {
    display: flex;
    align-items: center;
    color: rgb(22, 24, 35);
    margin-right: 8px;
  }
  
  .country-code img {
    width: 16px;
    height: 16px;
    margin-left: 4px;
  }






  /* 电话号码 */
  .form-field {
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
    position: relative;
  }
  
  .field-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
  }
  
  .phone-input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
  }
  
  .country-code {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-right: 8px;
    margin-right: 8px;
    border-right: 1px solid #eee;
  }
  
  .country-flag {
    margin-right: 6px;
    width: 20px;
  }
  
  .dropdown-icon {
    width: 12px;
    margin-left: 6px;
  }
  
  .text-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 4px;
  }
  
  .country-dropdown {
    display: none;
    position: absolute;
    width: 300px;
    max-height: 300px; /* 限制最大高度 */
    overflow-y: auto;  /* 添加垂直滚动条 */
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 4px;
  }
  
  .search-box {
    padding: 8px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
  }
  
  .search-box input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  .country-list {
    max-height: 250px; /* 列表区域高度限制 */
    overflow-y: auto; /* 列表区域也可滚动 */
    padding: 0;
  }
  
  /* 自定义滚动条样式 */
.country-dropdown::-webkit-scrollbar {
  width: 6px;
}

.country-dropdown::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

  .country-group {
    margin-bottom: 8px;
  }
  
  .group-title {
    padding: 4px 12px;
    background: #f5f5f5;
    font-weight: bold;
  }
  
  .country-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    cursor: pointer;
  }
  
  .country-item:hover {
    background-color: #f5f5f5;
  }


.photo_1 p{
        text-align: center;
        font-size: 15px;
        padding: 15px;
        line-height: 25px;
}
.photo_1 img{
    width: 100%;
    height: auto;
}
.photo_2{
    margin-bottom: 130px;
}
.photo_2 img{
    width: 100%;
    height: auto;
}
.photo_2 h4{
    font-size: 20px;
    text-align: center;
    padding: 25px;
}
.photo_2 p{
    text-align: center;
    font-size: 15px;
    padding: 15px;
    line-height: 25px;
}
.footer_1 .btn{
    padding: 15px 25px;
}
.footer_1 .btn .btn_hover{
  color: #000;
}
.footer_1 .btn .btn_hover:hover{
    background-color: #dddd;
    color: #000;
}
.footer_1 p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #6d6d6d;
}
.footer_1 button{
    -webkit-appearance: none;
    width: 100%;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 700;
    border: none;
    background-color: #dddddd;
    transition: background-color 0.3s ease;
}
.footer_1 .fooetr-top{
    border-top: 1px solid #b4b4b4;
    font-family: 'MyHeiti', sans-serif;
    padding: 10px 17px 0 17px;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;

}
.footer_1 .fooetr-top h5 a{
  text-decoration: none;
  color: #000;
}
.footer_1{
    width: 100%;
    z-index: 999;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column; 
}



/* 弹出层样式 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
  }
  
  .popup-content {
    width: 100%;
    max-height: 80vh;
    background: white;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .popup-overlay.active .popup-content {
    transform: translateY(0);
  }
  
  .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
  }
  
  .close-btn {
    font-size: 24px;
    cursor: pointer;
  }
  
  .popup-body {
    padding: 16px;
    overflow-y: auto;
    max-height: 70vh;
  }
