
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden;
  }

  ::-webkit-scrollbar {
    display: none; 
  }
  
  * {
    scrollbar-width: none;
  }
  
  * {
    -ms-overflow-style: none; 
  }

  input:focus, textarea:focus {
    font-size: 16px !important;
    outline: none;
  }

  .recruit-submit {
    width: 100%;
    min-height:50vh;
    max-height: 100vh;
    overflow: hidden;
  }

  .t-bg {
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: .9
  }

  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
  }

  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
 
  .box {
    width: 90%;
    max-width: 100%;
    max-height: calc(100vh - 6rem);
    text-align: center;
    background: rgba(255,255,255,.95);
    padding: 1.5rem 22.5px 1.1rem;
    box-sizing: border-box;
    overflow-y: auto;
    /* box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1); */
    transform: translateY(100%);
    animation: slideUp 0.5s ease-out forwards;
  }
  .logo{
    width:4rem;
    margin-bottom:1.1rem;
  }

  @keyframes slideUp {
    to {
      transform: translateY(0);
    }
  }

  .title {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #e2211c;
  }

  .subtitle {
    position: relative;
    margin: 16px 0 30px;
    color: #FF6B6B;
    font-size: 13.5px;
  }

  .subtitle::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 1px;
    top: 50%;
    left: 43px;
    background: #ffcaca;
  }

  .subtitle::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 1px;
    top: 50%;
    right: 43px;
    background: #ffcaca;
  }

  .uni-input {
    background: rgba(0, 0, 0, .05);
    width: 100%;
    height: 38.5px;
    border: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin: .85rem 0;
    padding-left: 15px;
    font-size: 14px;
    outline: none;
  }

  .uni-input::placeholder {
    color: #999;
    font-size: 14px;
  }

  .picker-wrapper {
    background: rgba(0, 0, 0, .05);
    width: 100%;
    height: 38.5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin: .85rem 0;
    padding-left: 15px;
    font-size: 14px;
  }

  .picker-wrapper .picker {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: #333;
  }

  .picker-wrapper .picker.placeholder {
    color: #999;
  }

  .file-upload {
    background: rgba(0, 0, 0, .05);
    width: 100%;
    height: 38.5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: .85rem 0;
    padding: 0 15px;
    font-size: 14px;
  }

  .file-content {
    flex: 1;
    text-align: left;
  }

  .file-placeholder {
    color: #999;
  }

  .file-name {
    color: #333;
  }

  .file-icon{
    width: 1.3rem;
  }

  .submit-btn {
    background-color: #e2211c;
    color: #FFF;
    border-radius: 0;
    height: 44px;
    line-height: 44px;
    margin: 1.3rem 0 1.6rem;
    font-size: 16px;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
  }

  .submit-btn:active {
    opacity: 0.8;
  }

  .company {
    color: #999;
    font-size: .9rem;
    margin-top: 20px;
  }
  .company .about-us{
    text-decoration: none;
    color:#e2211c
  }

  /* 隐藏文件输入 */
  .file-input {
    display: none;
  }

  /* 自定义选择器弹窗 */
  .custom-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
  }

  .custom-picker-popup {
    width: 100%;
    max-height: 50vh;
    background: #fff;
    border-radius: 8px 8px 0 0;
    display: flex;
    flex-direction: column;
    animation: slideUpPicker 0.3s ease-out;
  }

  @keyframes slideUpPicker {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  .picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }

  .picker-cancel,
  .picker-confirm {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
  }

  .picker-cancel {
    color: #666;
  }

  .picker-confirm {
    color: #e2211c;
    font-weight: 500;
  }

  .picker-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
  }

  .picker-content {
    max-height: 40vh;
    overflow-y: auto;
    padding: 10px 0;
  }

  .picker-option {
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .picker-option:hover {
    background-color: #fff6f5;
  }

  .picker-option.selected {
    color: #e2211c;
    background-color: #fff6f5;
  }

  /* Toast 样式 */
  .toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3000;
    pointer-events: none;
  }

  .toast {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    animation: toastFadeIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .toast.fail {
    background: rgba(0, 0, 0, 0.7);
  }

  .toast.success {
    background: rgba(82, 196, 26, 0.9);
  }

  @keyframes toastFadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* 提交按钮 loading 和 disabled 状态 */
  .submit-btn.loading {
    position: relative;
    color: transparent;
  }

  .submit-btn.submitted {
    background-color: #999;
    cursor: not-allowed;
    opacity: 0.6;
  }

  .submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }

  .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin {
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  /* 提交成功弹窗 */
  .success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
  }

  .success-modal {
    background: #fff;
    padding: 50px 30px 40px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    animation: modalScaleIn 0.3s ease-out;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  @keyframes modalScaleIn {
    from {
      opacity: 0;
      transform: scale(0.8);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
  }

  .checkmark {
    width: 100%;
    height: 100%;
  }

  .checkmark-circle {
    fill: #e2211c;
    stroke: #e2211c;
    stroke-width: 0;
  }

  .checkmark-check {
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkmarkDraw 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards;
  }

  @keyframes checkmarkDraw {
    0% {
      stroke-dashoffset: 48;
    }
    100% {
      stroke-dashoffset: 0;
    }
  }

  @keyframes stroke {
    100% {
      stroke-dashoffset: 0;
    }
  }

  .success-title {
    font-size: 23px;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
  }

  .success-message {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .success-btn {
    background-color: #e2211c;
    color: #FFF;
    border-radius: 0;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .success-btn:active {
    opacity: 0.8;
  }