.rs-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(28px, 5vw, 56px) 12px;
  background-color: #0f4a49;
  background-image: linear-gradient(180deg, rgba(6, 26, 31, 0.28) 0%, rgba(6, 26, 31, 0.58) 100%), url('https://hrways.co/wp-content/uploads/2025/06/goodBkg.svg');
  background-size: cover;
  background-position: center;
}

.rs-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.rs-wrap-centered {
  display: flex;
  justify-content: center;
}

.rs-panel {
  width: min(100%, 700px);
  text-align: center;
  color: #ffffff;
}

.rs-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.1;
  text-wrap: balance;
}

.rs-subtitle {
  margin: 10px auto 0;
  max-width: 660px;
  color: #d8eceb;
  font-size: clamp(14px, 1.9vw, 19px);
  line-height: 1.4;
}

.rs-upload-box {
  margin: 22px auto 0;
  width: min(100%, 640px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-radius: 18px;
  padding: clamp(16px, 2.4vw, 24px);
  box-shadow: 0 26px 55px rgba(2, 8, 23, 0.28);
  backdrop-filter: blur(2px);
}

.rs-upload-box.is-dragover {
  border-color: #3b82f6;
  box-shadow: 0 26px 55px rgba(37, 99, 235, 0.2);
}

.rs-upload-copy {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  text-wrap: balance;
}

.rs-upload-limit {
  display: block;
  margin-top: 8px;
  color: #475569;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.3;
}

.rs-cta-row {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.rs-btn {
  appearance: none;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 44px;
  border-radius: 10px;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 800;
  line-height: 1.1;
  padding: 9px 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background-color 0.15s ease;
}

.rs-btn-primary {
      background: #222;
    border-color: #222;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(8, 59, 89, 0.28);
    border-radius: 4px;
}

.rs-btn:hover,
.rs-btn:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.rs-upload-trigger {
  width: min(100%, 240px);
}

.rs-btn:focus-visible,
.rs-submit:focus-visible,
.rs-modal-close:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

#rs_resume_file {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.rs-file-note {
  margin-top: 10px;
  min-height: 20px;
  color: #1f2937;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  border: 1px solid #dbeafe;
  background: #f8fafc;
  border-radius: 8px;
  padding: 7px 10px;
}

.rs-file-note.is-error {
  color: #991b1b;
  border-color: #fecaca;
  background: #fef2f2;
}

.rs-submit {
  margin-top: 10px;
  border: none;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
}

.rs-submit:hover {
  background: #0b1222;
}

.rs-trusted-badge {
  display: block;
  margin: 16px auto 0;
  width: min(100%, 300px);
  height: auto;
}

.rs-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.rs-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.rs-modal.is-open {
  display: block;
}

.rs-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.rs-modal-box {
  width: min(92vw, 580px);
  margin: 12vh auto;
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  position: relative;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.2);
}

.rs-modal-box h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 30px);
  color: #0f172a;
}

.rs-modal-box p {
  margin: 0;
  color: #334155;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.5;
}

.rs-modal-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.rs-file-note {
    margin: 20px auto;
}
.rs-submit {
    color: #fff !important;
    
}
button.rs-submit:hover {
    color: #222 !important;
    font-family: "Figtree", sans-serif;
}


@media (max-width: 768px) {
  .rs-upload-box {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .rs-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .rs-btn {
    width: 100%;
    min-width: 0;
  }

  .rs-submit {
    width: 100%;
  }

  .rs-file-note {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .rs-modal-box {
    margin-top: 16vh;
    padding: 18px;
  }
}
