:root {
  --background: #faf8ff;
  --on-surface: #191b22;
  --on-surface-variant: #424653;
  --primary: #004aaa;
  --vibrant-blue: #1e62d0;
  --outline: #737785;
  --outline-variant: #c2c6d5;
  --surface-container-lowest: #ffffff;
  --surface-container: #ededf7;
  --surface-container-low: #f2f3fd;
  --error: #ba1a1a;
  --error-container: #ffdad6;
  --on-error-container: #93000a;
  --sale-red: #d93025;
  --art-green: #2d7d46;
  --earthy-orange: #ed8042;
}

body {
  font-family: "Peyda", sans-serif !important;
  background-color: var(--background);
  color: var(--on-surface);
}

.title-form {
  font-family: "Anjoman", sans-serif !important;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .title-form {
    font-size: 1.5rem;
    line-height: 2.1rem;
  }
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

.sticker-shadow {
  box-shadow: 4px 4px 0 0 var(--vibrant-blue);
}

.loading-spinner {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 2px solid #fff;
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cat-path-divider {
  height: 4px;
  background-image: radial-gradient(var(--outline) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.3;
}

.page-header-bar {
  background: var(--surface-container-lowest);
  border-bottom: 1px solid var(--outline-variant);
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: 4px;
}

.main-wrap {
  max-width: 56rem;
}

/* @media (max-width: 767.98px) {
  .main-wrap {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
} */

.headline-xl {
  font-family: "Anjoman", sans-serif !important
  font-size: 40px;
  line-height: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
}

@media (max-width: 767.98px) {
  .headline-xl {
    font-size: 24px;
    line-height: 32px;
  }
}

.body-lg {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--on-surface-variant);
}

.title-md {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--on-surface);
  margin: 0;
}

.label-bold {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
}

.body-md {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.text-sale-red {
  color: var(--sale-red);
}
.text-primary-brand {
  color: var(--primary);
}
.text-outline {
  color: var(--outline);
}

.form-section-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-section-card {
    padding: 2rem;
  }
}

.form-section-card:hover {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.section-icon {
  font-size: 1.5rem;
  margin-left: 0.5rem;
}

.honar-form .form-control,
.honar-form .custom-select {
  border-color: var(--outline-variant);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 16px;
  line-height: 24px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.honar-form .form-control::placeholder {
  color: var(--outline-variant);
}

.honar-form .form-control:focus,
.honar-form .custom-select:focus {
  border-color: var(--vibrant-blue);
  box-shadow: 0 0 0 0.2rem rgba(30, 98, 208, 0.15);
}

.honar-form textarea.form-control {
  resize: none;
  min-height: 120px;
}

.help-text-xs {
  font-size: 12px;
  color: var(--outline);
  margin-top: 0.25rem;
}

.file-drop-zone {
  position: relative;
  border: 2px dashed var(--outline-variant);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.file-drop-zone:hover {
  background-color: var(--surface-container-low);
}

.file-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop-zone .upload-icon {
  font-size: 2.25rem;
  color: var(--outline);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.file-drop-zone:hover .upload-icon {
  color: var(--vibrant-blue);
}

.custom-radio-honar
  .custom-control-input:checked
  ~ .custom-control-label::before {
  border-color: var(--vibrant-blue);
  background-color: var(--vibrant-blue);
}

.custom-radio-honar
  .custom-control-input:focus
  ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(30, 98, 208, 0.25);
}

.custom-radio-honar .custom-control-label {
  cursor: pointer;
  color: var(--on-surface);
  font-size: 16px;
  line-height: 24px;
  transition: color 0.2s ease;
}

.custom-radio-honar:hover .custom-control-label {
  color: var(--vibrant-blue);
}

.custom-checkbox-honar
  .custom-control-input:checked
  ~ .custom-control-label::before {
  border-color: var(--vibrant-blue);
  background-color: var(--vibrant-blue);
}

.availability-box {
  background: var(--surface-container);
  border-radius: 0.5rem;
  padding: 1rem;
}

.message-banner {
  background: var(--error-container);
  border: 1px solid var(--error);
  border-radius: 0.5rem;
  color: var(--on-error-container);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.btn-submit {
  background-color: var(--vibrant-blue);
  border: none;
  color: #fff;
  padding: 1rem 3rem;
  border-radius: 0.5rem;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  min-width: 240px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn-submit:hover,
.btn-submit:focus {
  background-color: #1a56b8;
  color: #fff;
  box-shadow: none;
}

.btn-submit:hover.sticker-shadow {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.btn-submit.btn-success-state {
  background-color: var(--art-green);
}

.question-field-wrap {
  text-align: right;
  transition: transform 0.2s ease;
}

.question-field-wrap.is-focused {
  transform: scale(1.01);
}

.page-footer {
  background: var(--surface-container);
  margin-top: 6rem;
  min-height: 48px;
}

.dir-ltr {
  direction: ltr;
  text-align: right;
}



  
[dir="rtl"] .custom-control {
  padding-right: 1.5rem;
  padding-left: 0;
}

[dir="rtl"] .custom-control-label::before,
[dir="rtl"] .custom-control-label::after {
  right: -1.5rem;
  left: auto;
}

[dir="rtl"] .custom-control-label {
  text-align: right;
  cursor: pointer;
}


.file-drop-zone.is-uploading {
  background-color: var(--surface-container-low);
  border-color: var(--vibrant-blue);
}

.file-drop-zone.is-uploaded {
  border-style: solid;
  border-color: var(--art-green);
  background-color: rgba(45, 125, 70, 0.06);
}

.file-drop-zone.is-uploaded .upload-icon {
  color: var(--art-green);
}

.file-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
}

.js-file-name {
  color: var(--on-surface);
  font-weight: 600;
  direction: ltr;
  text-align: right;
}



/* success page style */

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
}

.page-header-bar {
  background: var(--surface-container-lowest);
  border-bottom: 1px solid var(--outline-variant);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  min-height: 4px;
}

.main-wrap {
  max-width: 48rem;
  position: relative;
  z-index: 10;
}

/* @media (max-width: 767.98px) {
  .main-wrap {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
} */

/* Abstract Atmospheric Elements */
.blob-bg-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(0, 74, 170, 0.05);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -10;
}

.blob-bg-2 {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 250px;
  height: 250px;
  background: rgba(237, 128, 66, 0.05);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -10;
}

/* Success Sticker Badge */
.sticker-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.success-sticker {
  width: 130px;
  height: 130px;
  background: var(--surface-container-lowest);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 0px 0px var(--primary);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .success-sticker {
    width: 160px;
    height: 160px;
  }
}

.success-sticker:hover {
  transform: scale(1.05);
}

.dot-bounce {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 2rem;
  height: 2rem;
  background-color: var(--earthy-orange);
  border-radius: 50%;
  animation: bounce 2s infinite;
}

.square-rotate {
  position: absolute;
  bottom: 8px;
  left: -20px;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--vibrant-blue);
  border-radius: 0.25rem;
  transform: rotate(12deg);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Text Styles */
.headline-xl {
  font-family: "Anjoman", sans-serif !important;
  font-size: 40px;
  line-height: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

@media (max-width: 767.98px) {
  .headline-xl {
    font-size: 24px;
    line-height: 34px;
  }
}

.body-lg {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  color: var(--on-surface-variant);
}

/* Bento-style Action Grid */
.bento-card-white {
  background-color: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: right;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--on-surface);
  text-decoration: none !important;
  min-height: 160px;
}

.bento-card-white:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bento-card-white .arrow-back {
  color: var(--outline-variant);
  transition: color 0.2s ease;
}

.bento-card-white:hover .arrow-back {
  color: var(--primary);
}

.bento-card-primary {
  background-color: var(--primary);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: right;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff !important;
  text-decoration: none !important;
  min-height: 160px;
}

.bento-card-primary:hover {
  background-color: var(--vibrant-blue);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bento-card-primary .arrow-back {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.bento-card-primary:hover .arrow-back {
  color: #ffffff;
}

.title-md {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.body-md {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin-bottom: 0;
}

.text-muted-variant {
  color: var(--on-surface-variant);
}

.text-primary-container-variant {
  color: rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-footer {
  background: var(--surface-container);
  margin-top: auto;
  min-height: 48px;
}

