/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Amiri:wght@400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --salaf-green: #2E8B57;
  --salaf-green-dark: #1a6b3c;
  --salaf-green-light: #3da86d;
  --salaf-gold: #f4d03f;
  --salaf-gold-dark: #c19d2e;
  --salaf-brown: #8B4513;
  --salaf-cream: #F5F5DC;
  --salaf-dark: #1a1a2e;
  --bg-primary: #f0f4f1;
  --bg-card: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #888;
  --border-color: #e0e5e2;
  --border-focus: #2E8B57;
  --error-color: #e74c3c;
  --success-color: #27ae60;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-focus: 0 0 0 3px rgba(46, 139, 87, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* ===== DECORATIVE BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 139, 87, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 208, 63, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* ===== MAIN CONTAINER ===== */
.form-container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* ===== HEADER SECTION ===== */
.form-header {
  text-align: center;
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease;
}

.form-header .logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--salaf-green), var(--salaf-green-dark));
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(46, 139, 87, 0.25);
  position: relative;
}

.form-header .logo-badge::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(46, 139, 87, 0.2);
}

.form-header .logo-badge i {
  font-size: 28px;
  color: white;
}

.form-header h1 {
  font-family: 'Amiri', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--salaf-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.form-header .subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.form-header .institution-name {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--salaf-green), var(--salaf-green-dark));
  color: white;
  font-family: 'Amiri', serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  letter-spacing: 0.5px;
}

/* ===== STEPPER / PROGRESS ===== */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  padding: 0 10px;
  animation: fadeInDown 0.6s ease 0.1s both;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.step-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
}

.step.active .step-circle {
  background: linear-gradient(135deg, var(--salaf-green), var(--salaf-green-dark));
  border-color: var(--salaf-green);
  color: white;
  box-shadow: 0 4px 12px rgba(46, 139, 87, 0.3);
  transform: scale(1.05);
}

.step.active .step-label {
  color: var(--salaf-green);
  font-weight: 600;
}

.step.completed .step-circle {
  background: var(--success-color);
  border-color: var(--success-color);
  color: white;
}

.step.completed .step-label {
  color: var(--success-color);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border-color);
  margin: 0 12px;
  position: relative;
  max-width: 60px;
  transition: var(--transition);
}

.step-line.completed {
  background: var(--success-color);
}

/* ===== FORM CARD ===== */
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 36px 32px;
  animation: fadeInUp 0.5s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* ===== SECTION INSIDE FORM ===== */
.form-section {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.form-section.active {
  display: block;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg-primary);
}

.section-title .section-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.section-icon.green {
  background: rgba(46, 139, 87, 0.1);
  color: var(--salaf-green);
}

.section-icon.gold {
  background: rgba(244, 208, 63, 0.15);
  color: var(--salaf-gold-dark);
}

.section-icon.brown {
  background: rgba(139, 69, 19, 0.1);
  color: var(--salaf-brown);
}

.section-title h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.section-title p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== FORM GRID ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

/* ===== FORM GROUP ===== */
.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--error-color);
  margin-left: 2px;
}

.form-group .input-wrapper {
  position: relative;
}

.form-group .input-wrapper .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: var(--transition);
}

.form-group .input-wrapper input,
.form-group .input-wrapper select,
.form-group .input-wrapper textarea {
  padding-left: 42px;
}

/* ===== INPUT STYLES ===== */
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #c0c8c3;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-focus);
}

input:focus~.input-icon,
select:focus~.input-icon,
textarea:focus~.input-icon {
  color: var(--salaf-green);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' 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 14px center;
  padding-right: 36px;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== RADIO GROUP ===== */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.radio-option {
  position: relative;
  flex: 1;
  min-width: 120px;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.radio-option .radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: var(--transition);
  text-align: center;
}

.radio-option .radio-label i {
  font-size: 1rem;
}

.radio-option input[type="radio"]:checked+.radio-label {
  border-color: var(--salaf-green);
  background: rgba(46, 139, 87, 0.06);
  color: var(--salaf-green);
  box-shadow: var(--shadow-focus);
}

.radio-option .radio-label:hover {
  border-color: #c0c8c3;
  background: var(--bg-primary);
}

/* ===== HELPER TEXT ===== */
.helper-text {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.helper-text i {
  margin-right: 4px;
}

/* ===== BUTTON GROUP ===== */
.button-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--bg-primary);
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  min-width: 140px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--salaf-green), var(--salaf-green-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(46, 139, 87, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-color);
}

.btn-secondary:hover {
  background: #e8ece9;
  border-color: #c0c8c3;
}

.btn-submit {
  background: linear-gradient(135deg, var(--salaf-green), var(--salaf-green-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(46, 139, 87, 0.25);
  padding: 14px 36px;
  font-size: 0.95rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 139, 87, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn i {
  font-size: 0.85rem;
}

/* ===== SUCCESS MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s ease;
}

.modal-content .success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(39, 174, 96, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content .success-icon i {
  font-size: 36px;
  color: var(--success-color);
}

.modal-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.modal-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ===== INFO CARD ===== */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(46, 139, 87, 0.05);
  border: 1px solid rgba(46, 139, 87, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.info-card i {
  color: var(--salaf-green);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ===== BACK TO HOME LINK ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 20px;
  transition: var(--transition);
  animation: fadeInDown 0.6s ease;
}

.back-link:hover {
  color: var(--salaf-green);
  transform: translateX(-3px);
}

.back-link i {
  font-size: 0.8rem;
}

/* ===== FOOTER NOTE ===== */
.form-footer {
  text-align: center;
  margin-top: 24px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.form-footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--salaf-green);
  text-decoration: none;
  font-weight: 500;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

.shake {
  animation: shake 0.4s ease;
}

/* ===== VALIDATION STATES ===== */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.error .error-message {
  display: block;
}

.error-message {
  display: none;
  font-size: 0.75rem;
  color: var(--error-color);
  margin-top: 4px;
}

.error-message i {
  margin-right: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .form-container {
    padding: 16px 12px 32px;
  }

  .form-header h1 {
    font-size: 1.4rem;
  }

  .form-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stepper {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .step-label {
    display: none;
  }

  .step-line {
    max-width: 30px;
    margin: 0 8px;
  }

  .button-group {
    flex-direction: column-reverse;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }

  .radio-group {
    gap: 8px;
  }

  .radio-option {
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .form-header .logo-badge {
    width: 60px;
    height: 60px;
  }

  .form-header .logo-badge i {
    font-size: 24px;
  }

  .form-header h1 {
    font-size: 1.2rem;
  }

  .section-title {
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .section-title .section-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .section-title h2 {
    font-size: 1.05rem;
  }

  .form-card {
    padding: 20px 16px;
  }
}

/* ===== LOADING SPINNER ===== */
.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.loading .btn-text {
  visibility: hidden;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  body {
    background: white;
  }

  body::before,
  body::after {
    display: none;
  }

  .stepper,
  .button-group,
  .back-link,
  .form-footer {
    display: none;
  }

  .form-section {
    display: block !important;
  }

  .form-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ===== SUCCESS MODAL ENHANCED ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px 32px 32px;
  text-align: center;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--salaf-green), var(--salaf-gold), var(--salaf-green));
  background-size: 200% 100%;
  animation: shimmer 2s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.modal-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  margin-top: 4px;
}

.modal-message {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ===== SUCCESS CHECKMARK ANIMATION ===== */
.success-animation {
  margin: 0 auto 16px;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  position: relative;
}

.success-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid var(--success-color);
  background: rgba(39, 174, 96, 0.08);
}

.success-checkmark .check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
  animation: rotate-circle 4.25s ease-in;
}

.icon-line {
  height: 5px;
  background-color: var(--success-color);
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s ease 0.2s both;
}

.icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s ease 0.2s both;
}

.icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  box-sizing: content-box;
  border: 4px solid rgba(39, 174, 96, 0.3);
}

.icon-fix {
  top: 8px;
  width: 5px;
  left: 26px;
  z-index: 1;
  height: 85px;
  position: absolute;
  transform: rotate(-45deg);
  background-color: var(--bg-card);
}

@keyframes rotate-circle {
  0% {
    transform: rotate(-45deg);
  }

  5% {
    transform: rotate(-45deg);
  }

  12% {
    transform: rotate(-405deg);
  }

  100% {
    transform: rotate(-405deg);
  }
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }

  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }

  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }

  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }

  100% {
    width: 25px;
    left: 14px;
    top: 46px;
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }

  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }

  84% {
    width: 55px;
    right: 0;
    top: 35px;
  }

  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

/* ===== MODAL DETAIL CARD ===== */
.modal-detail-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 16px 0 20px;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.detail-row:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.detail-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-label i {
  font-size: 0.85rem;
  color: var(--salaf-green);
  width: 18px;
  text-align: center;
}

.detail-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(244, 208, 63, 0.15);
  color: #b8860b;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.status-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4d03f;
  animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* ===== MODAL REDIRECT TEXT ===== */
.modal-redirect-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-redirect-text i {
  color: var(--salaf-green);
}

.modal-redirect-text span {
  font-weight: 700;
  color: var(--salaf-green);
  font-size: 1rem;
}

/* ===== MODAL BUTTON ===== */
.modal-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.95rem;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== CONFETTI CANVAS ===== */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1001;
}

/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 480px) {
  .modal-content {
    padding: 32px 20px 24px;
    border-radius: var(--radius-lg);
  }

  .modal-content h3 {
    font-size: 1.25rem;
  }

  .success-checkmark,
  .success-checkmark .check-icon {
    width: 64px;
    height: 64px;
  }

  .icon-line.line-tip {
    top: 38px;
    left: 11px;
    width: 20px;
  }

  .icon-line.line-long {
    top: 32px;
    right: 6px;
    width: 38px;
  }

  .icon-circle {
    width: 64px;
    height: 64px;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}