:root {
  --background1: #fff;
  --background2: #f4f4f4;
  --headline: #00a19d;
  --description: #fafafa;
  --count-number: #f8aa27;
  --drop-shadow: rgba(0, 0, 0, 0.08);
  --line-decor: rgba(255, 255, 255, 0.8);
  --rec-text-dark: #2d3748;
  --rec-text-muted: #718096;
  --rec-bg-light: #f7fafc;
  --rec-teal-light: #e6fffa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--background1);
  font-family: "Poppins", sans-serif;
  color: var(--cr-text-dark);
}

/* Section 1 */

.rec-main-wrapper {
  width: 100%;
  overflow: hidden;
  background: var(--background1);
}

.rec-detail-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rec-detail-background-desktop {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.rec-detail-background {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.rec-detail-background-mobile {
  display: none;
}

.rec-detail-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  height: auto;
  margin: 0 auto;
  padding: 0 clamp(20px, 2.5vw, 35px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.rec-detail-left {
  position: relative;
  z-index: 2;
  flex: 0 0 45%;
}

.rec-badge-type {
  padding: clamp(4px, 0.4vw, 6px) clamp(10px, 1vw, 14px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--background1);
  border: 1px solid #2525251a;
  border-radius: clamp(4px, 0.4vw, 6px);
  font-size: clamp(0.688rem, 0.9vw, 0.75rem);
  font-weight: 500;
  color: var(--rec-text-dark);
}

.rec-job-main-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--headline);
}

.rec-job-main-desc {
  max-width: 470px;
  margin-top: clamp(4px, 0.9vw, 12px);
  margin-bottom: clamp(70px, 7.1vw, 100px);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  line-height: 1.3;
  color: var(--rec-text-dark);
}

.rec-job-main-desc em {
  font-style: italic;
}

.rec-detail-section,
.rec-qualification-image {
  opacity: 1;
}

/* Section 2 */

.rec-qualification-section {
  width: 100%;
  background: var(--background1);
}

.rec-qualification-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 2.5vw, 35px);
  gap: clamp(20px, 2.1vw, 30px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.rec-qualification-left {
  flex: 0 0 50%;
}

.rec-section-title {
  padding: clamp(6px, 0.6vw, 8px) clamp(12px, 1.1vw, 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--headline);
  border-radius: clamp(4px, 0.4vw, 6px);
  font-size: clamp(1.75rem, 2.3vw, 2rem);
  font-weight: 800;
  color: var(--background1);
}

.rec-qualification-list {
  margin-top: clamp(8px, 0.9vw, 12px);
  list-style: none;
}

.rec-qualification-list li {
  gap: clamp(8px, 0.9vw, 12px);
  display: flex;
  align-items: center;
}

.rec-qualification-list span {
  margin: clamp(3px, 0.4vw, 5px) 0;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 500;
  color: var(--rec-text-dark);
}

.rec-qualification-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.rec-qualification-icon-bg {
  fill: var(--headline);
}

.rec-qualification-icon-check {
  fill: var(--background1);
}

.rec-qualification-right {
  flex: 0 0 45%;
  display: flex;
  justify-content: center;
}

.rec-qualification-image {
  width: 100%;
  max-width: 450px;
  display: block;
  border-radius: clamp(10px, 1.1vw, 15px);
  opacity: 1;
  transition: opacity 0.5s ease;
}

@media (max-width: 768px) {
  .rec-detail-section {
    min-height: auto;
  }

  .rec-detail-container {
    padding: 0;
    flex-direction: column;
  }

  .rec-detail-background-desktop {
    display: none;
  }

  .rec-detail-background-mobile {
    position: relative;
    width: 100%;
    max-height: 300px;
    display: block;
    order: -1;
    aspect-ratio: 1 / 1;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .rec-detail-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rec-job-main-title {
    width: 80%;
    margin-top: clamp(10px, 1.1vw, 15px);
    text-align: center;
  }

  .rec-job-main-title br {
    display: none;
  }

  .rec-job-main-desc {
    width: 80%;
    margin: clamp(6px, 0.7vw, 10px) auto;
    text-align: center;
  }

  .rec-qualification-container {
    display: block;
  }

  .rec-qualification-left {
    width: 100%;
  }

  .rec-section-title {
    width: fit-content;
    margin: clamp(16px, 1.7vw, 24px) auto;
    display: flex;
    font-size: clamp(1.2rem, 1.6vw, 1.4rem);
  }

  .rec-qualification-list {
    width: 90%;
    margin: 0 auto;
  }

  .rec-qualification-list li {
    align-items: flex-start;
  }

  .rec-qualification-list span {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
  }

  .rec-qualification-icon {
    margin-top: clamp(3px, 0.3vw, 4px);
  }

  .rec-qualification-right {
    display: none;
  }
}

/* Section 3 */

.rec-form-section {
  width: 100%;
  margin-top: clamp(20px, 3.6vw, 50px);
  padding: clamp(35px, 3.6vw, 50px) 0;
  background: var(--background2);
}

.rec-form-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 2.5vw, 35px);
  box-sizing: border-box;
}

.rec-form-card {
  width: 100%;
  padding: clamp(35px, 3.6vw, 50px);
  background-color: var(--background1);
  border-radius: clamp(10px, 1.1vw, 15px);
  box-shadow: 0 clamp(7px, 0.7vw, 10px) clamp(20px, 2.1vw, 30px)
    var(--drop-shadow);
}

.rec-form-header {
  margin-bottom: clamp(28px, 2.9vw, 40px);
  text-align: center;
}

.rec-form-icon-head {
  margin-bottom: clamp(8px, 0.9vw, 12px);
  color: var(--headline);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
}

.rec-form-title {
  margin: 0 0 clamp(6px, 0.6vw, 8px) 0;
  color: var(--headline);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
}

.rec-form-subtitle {
  margin: 0 0 clamp(18px, 1.8vw, 25px) 0;
  color: var(--rec-text-muted);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.rec-form-divider {
  width: 50px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--headline);
}

.rec-info-alert {
  margin-bottom: clamp(17px, 1.7vw, 24px);
  padding: clamp(11px, 1.1vw, 16px) clamp(14px, 1.4vw, 20px);
  display: flex;
  gap: clamp(11px, 1.1vw, 16px);
  align-items: flex-start;
  background-color: var(--rec-teal-light);
  border-radius: clamp(6px, 0.6vw, 8px);
}

.rec-alert-icon {
  margin-top: clamp(1px, 0.1vw, 2px);
  color: var(--headline);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.rec-alert-text strong {
  margin-bottom: clamp(3px, 0.3vw, 4px);
  display: block;
  color: var(--rec-text-dark);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
}

.rec-alert-text p {
  margin: 0;
  color: var(--rec-text-dark);
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  line-height: 1.5;
}

.rec-form-grid {
  margin-bottom: clamp(21px, 2.1vw, 30px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(17px, 1.7vw, 24px);
}

.rec-input-group {
  display: flex;
  flex-direction: column;
}

.rec-label {
  margin-bottom: clamp(6px, 0.6vw, 8px);
  color: var(--rec-text-dark);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 600;
}

.rec-required {
  color: #e53e3e;
}

.rec-input {
  width: 100%;
  padding: clamp(8px, 0.9vw, 12px) clamp(11px, 1.1vw, 16px);
  box-sizing: border-box;
  background-color: var(--background1);
  border: 1px solid var(--background2);
  border-radius: clamp(4px, 0.4vw, 6px);
  color: inherit;
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  outline: none;
  transition: border-color 0.2s;
}

.rec-input:focus {
  border-color: var(--headline);
}

.rec-phone-wrapper {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--background2);
  border-radius: clamp(4px, 0.4vw, 6px);
}

.rec-phone-prefix {
  padding: clamp(8px, 0.9vw, 12px) clamp(11px, 1.1vw, 16px);
  background-color: var(--rec-teal-light);
  border-right: 1px solid var(--rec-bg-light);
  color: var(--rec-text-dark);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 500;
}

.rec-input-phone {
  border: none;
}

.rec-textarea-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.rec-textarea {
  width: 100%;
  height: clamp(91px, 10.7vw, 150px);
  padding: clamp(8px, 0.9vw, 12px) clamp(11px, 1.1vw, 16px);
  box-sizing: border-box;
  border: 1px solid var(--background2);
  border-radius: clamp(4px, 0.4vw, 6px);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  resize: none;
  outline: none;
}

.rec-textarea:focus {
  border-color: var(--headline);
}

.rec-char-count {
  position: absolute;
  right: clamp(8px, 0.9vw, 12px);
  bottom: clamp(6px, 0.6vw, 8px);
  color: var(--rec-text-muted);
  font-size: clamp(0.6rem, 0.8vw, 0.7rem);
}

.rec-input-hint {
  margin-top: clamp(4px, 0.4vw, 6px);
  color: var(--rec-text-muted);
  font-size: clamp(0.6rem, 0.8vw, 0.7rem);
}

.rec-upload-area {
  position: relative;
  padding: clamp(24px, 2.5vw, 35px);
  overflow: hidden;
  background: #e6fffa66;
  border: 2px dashed rgb(231, 231, 231, 0.8);
  border-radius: clamp(4px, 0.4vw, 6px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.rec-upload-area::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  margin-left: -13px;
  border: 3px solid rgba(0, 0, 0, 0.15);
  border-top-color: var(--headline);
  border-radius: 50%;
  content: "";

  opacity: 0;
  visibility: hidden;
}

.rec-upload-area.loading::after {
  opacity: 1;
  visibility: visible;
  animation: recUploadSpin 0.8s linear infinite;
}

.rec-upload-area:hover {
  background: rgba(0, 150, 136, 0.08);
  border-color: var(--headline);
}

.rec-upload-area.dragover {
  background: rgba(0, 150, 136, 0.15);
  border-color: var(--headline);
  transform: scale(1.01);
}

.rec-upload-area.success {
  background: #f0fdf4;
  border-style: solid;
  border-color: var(--headline);
}

.rec-upload-area.success .rec-upload-default {
  display: none;
}

.rec-upload-area.success .rec-upload-success {
  display: flex;
}

.rec-upload-area.loading {
  opacity: 0.75;
  pointer-events: none;
}

.rec-file-input {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.rec-upload-default {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.rec-upload-icon {
  margin-bottom: clamp(7px, 0.7vw, 10px);
  color: var(--headline);
  font-size: clamp(2rem, 2.7vw, 2.4rem);
}

.rec-upload-text {
  margin: 0 0 clamp(4px, 0.4vw, 6px);
  color: var(--rec-text-dark);
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 700;
}

.rec-upload-subtext {
  margin: 0;
  color: var(--rec-text-muted);
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
}

.rec-upload-success {
  display: none;
  gap: clamp(11px, 1.1vw, 16px);
  align-items: center;
}

.rec-upload-success-icon {
  width: 52px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: #fee2e2;
  border-radius: 50%;
  color: #dc2626;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
}

.rec-upload-success-info {
  flex: 1;
  overflow: hidden;
}

.rec-upload-file-name {
  margin: 0;
  overflow: hidden;
  color: var(--rec-text-dark);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rec-upload-file-size {
  margin: clamp(3px, 0.4vw, 5px) 0 0;
  color: var(--rec-text-muted);
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
}

.rec-upload-success-check {
  flex-shrink: 0;
  color: #22c55e;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
}

.rec-checkbox-group {
  display: flex;
  gap: clamp(6px, 0.6vw, 8px);
  align-items: center;
}

.rec-checkbox-group label {
  color: var(--rec-text-dark);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 500;
}

#rec-agreement,
#rec-agreement + label {
  cursor: pointer;
}

.rec-btn-submit {
  width: 100%;
  margin-top: clamp(14px, 1.4vw, 20px);
  padding: clamp(10px, 1vw, 14px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 0.7vw, 10px);
  background-color: var(--headline);
  border: none;
  border-radius: clamp(4px, 0.4vw, 6px);
  color: var(--background1);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 600;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  cursor: pointer;
}

.rec-btn-submit:hover {
  background-color: #006664;
}

.rec-or-separator {
  position: relative;
  margin: clamp(21px, 2.1vw, 30px) 0;
  text-align: center;
}

.rec-or-separator::before {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--background2);
  content: "";
}

.rec-or-separator span {
  position: relative;
  z-index: 2;
  padding: 0 clamp(11px, 1.1vw, 15px);
  background-color: var(--background1);
  color: var(--rec-text-muted);
  font-size: clamp(0.6rem, 0.8vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 1px;
}

.rec-email-alternative {
  padding: clamp(14px, 1.4vw, 20px);
  display: flex;
  gap: clamp(11px, 1.1vw, 16px);
  align-items: center;
  border: 1px solid rgb(0, 161, 157, 0.2);
  border-radius: clamp(6px, 0.6vw, 8px);
}

.rec-email-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background-color: var(--rec-teal-light);
  border-radius: 50%;
  color: var(--headline);
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
}

.rec-email-text-box {
  flex: 1;
}

.rec-email-text-box strong {
  margin-bottom: clamp(1px, 0.1vw, 2px);
  display: block;
  color: var(--rec-text-dark);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
}

.rec-email-text-box p {
  margin: 0;
  color: var(--rec-text-muted);
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
}

.rec-email-target-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 0.3vw, 4px);
  align-items: center;
}

.rec-email-badge {
  position: relative;
  padding: clamp(6px, 0.6vw, 8px) clamp(10px, 1vw, 14px);
  display: flex;
  gap: clamp(6px, 0.6vw, 8px);
  align-items: center;
  overflow: hidden;
  background-color: var(--rec-bg-light);
  border: 1px dashed var(--background2);
  border-radius: clamp(4px, 0.4vw, 6px);
  color: var(--headline);
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  font-weight: 600;
  cursor: pointer;
}

.rec-email-badge.copied .rec-email-content {
  opacity: 0;
  transform: translateY(-100%);
}

.rec-email-badge.copied .rec-email-copied {
  opacity: 1;
  transform: translateY(0);
}

.rec-email-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 0.6vw, 8px);
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.rec-email-copied {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 0.6vw, 8px);
  opacity: 0;
  transform: translateY(100%);
  background: var(--rec-bg-light);
  color: #16a34a;
  font-weight: 600;
  transition: all 0.3s ease;
}

.rec-email-subject {
  color: var(--rec-text-dark);
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  font-weight: 700;
}

.rec-form-footer {
  margin-top: clamp(21px, 2.1vw, 30px);
  color: var(--rec-text-muted);
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  text-align: center;
}

@keyframes recUploadSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .rec-form-section {
    margin-top: clamp(30px, 4.3vw, 60px);
    padding: clamp(30px, 4.3vw, 60px) 0;
  }

  .rec-form-card {
    padding: clamp(20px, 2.9vw, 40px);
  }

  .rec-form-header {
    margin-bottom: clamp(20px, 2.9vw, 40px);
  }

  .rec-form-title {
    text-align: center;
  }

  .rec-form-subtitle {
    width: 90%;
    margin: 0 auto clamp(16px, 1.7vw, 24px);
    text-align: center;
  }

  .rec-info-alert {
    padding: clamp(14px, 1.4vw, 20px);
  }

  .rec-form-grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 2vw, 28px);
  }

  .rec-upload-area {
    padding: clamp(20px, 2.3vw, 32px);
  }

  .rec-upload-success {
    gap: 12px;
    align-items: flex-start;
  }

  .rec-upload-success-info {
    min-width: 0;
  }

  .rec-upload-file-name {
    white-space: normal;
    word-break: break-word;
  }

  .rec-upload-success-check {
    margin-left: auto;
  }

  .rec-checkbox-group {
    align-items: flex-start;
  }

  .rec-checkbox-group input {
    margin-top: 3px;
    flex-shrink: 0;
  }

  .rec-email-alternative {
    padding: 18px;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .rec-email-icon-box {
    width: 52px;
    height: 52px;
  }

  .rec-email-text-box {
    width: 100%;
  }

  .rec-email-text-box strong {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
  }

  .rec-email-text-box p {
    margin-top: 4px;
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    line-height: 1.6;
  }

  .rec-email-target-box {
    width: 100%;
  }

  .rec-email-badge {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .rec-email-content,
  .rec-email-copied {
    width: 100%;
    justify-content: center;
  }

  .rec-email-address {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rec-email-subject {
    margin-top: 8px;
    text-align: center;
  }

  .cf-turnstile {
    margin-top: clamp(18px, 2vw, 28px);
    display: flex;
    justify-content: center;
  }
}

/* State Loading */

.rec-loading-overlay {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.rec-loading-card {
  width: 320px;
  padding: clamp(24px, 2.5vw, 35px) clamp(20px, 2.1vw, 30px);
  background: #fff;
  border-radius: clamp(12px, 1.3vw, 18px);
  text-align: center;
  box-shadow: 0 clamp(14px, 1.4vw, 20px) clamp(35px, 3.6vw, 50px)
    rgba(0, 0, 0, 0.12);
}

.rec-loading-card h3 {
  margin-top: clamp(16px, 1.6vw, 22px);
  margin-bottom: clamp(6px, 0.6vw, 8px);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.rec-loading-card p {
  color: #666;
  line-height: 1.6;
}

.rec-loading-spinner {
  width: 60px;
  height: 60px;
  margin: auto;
  border: 5px solid #e8e8e8;
  border-top-color: var(--headline);
  border-radius: 50%;
  animation: none;
}

.rec-loading-overlay.show .rec-loading-spinner {
  animation: recSpin 0.8s linear infinite;
}

.rec-loading-overlay.show {
  opacity: 1;
  visibility: visible;
}

.rec-btn-submit.loading {
  pointer-events: none;
  opacity: 0.8;
}

.rec-btn-submit.loading i {
  animation: recSpin 0.8s linear infinite;
}

@keyframes recSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .rec-loading-card {
    width: calc(100% - 40px);
    max-width: 340px;
    padding: clamp(20px, 2vw, 28px) clamp(16px, 1.6vw, 22px);
    border-radius: clamp(10px, 1vw, 14px);
  }

  .rec-loading-card h3 {
    margin-top: clamp(14px, 1.3vw, 18px);
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  }

  .rec-loading-card p {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
  }

  .rec-loading-spinner {
    width: 52px;
    height: 52px;
    border-width: 4px;
  }
}

/* Pengiriman Berhasil */

.rec-success-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  padding: clamp(16px, 1.7vw, 24px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
}

.rec-success-card {
  width: min(900px, 100%);
  max-height: calc(100vh - 30px);
  padding: clamp(14px, 1.4vw, 20px) clamp(42px, 4.3vw, 60px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--background1);
  border-radius: clamp(14px, 1.4vw, 20px);
  box-shadow: 0 clamp(12px, 1.4vw, 20px) clamp(36px, 4.3vw, 60px)
    rgba(0, 0, 0, 0.18);
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: translateY(20px) scale(0.96);
  transition: 0.35s ease;
}

.rec-success-icon-wrap {
  gap: clamp(18px, 2.6vw, 36px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.rec-success-icon {
  width: clamp(88px, 8vw, 120px);
  height: clamp(88px, 8vw, 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #dff4f3;
  border-radius: 50%;
}

.rec-success-icon i {
  color: var(--headline);
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.rec-confetti {
  width: 65px;
  gap: clamp(6px, 0.6vw, 8px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.rec-confetti i:nth-child(1) {
  color: #7c3aed;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.rec-confetti i:nth-child(2) {
  color: #f59e0b;
  font-size: clamp(0.55rem, 0.7vw, 0.625rem);
}

.rec-confetti i:nth-child(3) {
  color: #22c55e;
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
}

.rec-success-title {
  margin: clamp(20px, 2.1vw, 30px) 0 clamp(10px, 1vw, 14px);
  color: var(--rec-text-dark);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 700;
  text-align: center;
}

.rec-success-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--rec-text-muted);
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  line-height: 1.7;
  letter-spacing: 0.03rem;
  text-align: center;
}

.rec-success-divider {
  height: 1px;
  margin: clamp(24px, 2.6vw, 36px) 0;
  background: #e8e8e8;
}

.rec-success-summary h3 {
  margin: 0 0 clamp(12px, 1.3vw, 18px);
  color: var(--rec-text-dark);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
}

.rec-summary-table {
  overflow: hidden;
  border: 1px solid #ebebeb;
  border-radius: clamp(8px, 0.9vw, 12px);
}

.rec-summary-row {
  gap: clamp(14px, 1.4vw, 20px);
  padding: clamp(14px, 1.3vw, 18px) clamp(16px, 1.7vw, 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #efefef;
}

.rec-summary-row span {
  color: var(--rec-text-dark);
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
  font-weight: 600;
}

.rec-summary-row strong {
  color: var(--rec-text-muted);
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

.rec-summary-row:last-child {
  border-bottom: none;
}

.rec-success-note {
  margin: clamp(20px, 2vw, 28px) 0;
  color: var(--rec-text-muted);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  text-align: center;
}

.rec-success-btn {
  min-width: 220px;
  margin: 0 auto;
  padding: clamp(10px, 1vw, 14px) clamp(18px, 1.9vw, 26px);
  display: block;
  background: transparent;
  border: 2px solid var(--headline);
  border-radius: clamp(7px, 0.7vw, 10px);
  color: var(--headline);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 700;
  transition: 0.3s;
  cursor: pointer;
}

.rec-success-btn:hover {
  background: var(--headline);
  color: var(--background1);
}

.rec-success-modal.active {
  opacity: 1;
  visibility: visible;
}

.rec-success-modal.active .rec-success-card {
  transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
  .rec-success-card {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: clamp(20px, 2vw, 28px) clamp(14px, 1.4vw, 20px);
    border-radius: clamp(12px, 1.1vw, 16px);
  }

  .rec-confetti {
    display: none;
  }

  .rec-success-icon {
    width: 78px;
    height: 78px;
  }

  .rec-success-icon i {
    font-size: clamp(1.8rem, 2.3vw, 2rem);
  }

  .rec-success-title {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  }

  .rec-success-desc {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    line-height: 1.7;
  }

  .rec-summary-row {
    gap: clamp(3px, 0.3vw, 4px);
    flex-direction: column;
    align-items: flex-start;
  }

  .rec-summary-row strong {
    width: 100%;
    text-align: left;
  }

  .rec-success-btn {
    width: 100%;
    min-width: 0;
  }
}
