/* FAQ Page Styles */

:root {
  --color-bg-gradient-start: #0a0e1a;
  --color-bg-gradient-mid: #0f172b;
  --color-bg-gradient-end: #1e3a8a;
  --color-text-primary: #ffffff;
  --color-text-secondary: #afbcd5;
  --color-text-dark: #0f172b;
  --color-border: #343e4b;
  --color-accent-primary: #2b7fff;
  --color-accent-secondary: #3b82f6;
  --color-surface-light: #ffffff;
  --color-surface-dark: #0f172b;
  --color-faq-item-bg: #1a2539;

  --font-family-primary: 'Plus Jakarta Sans', sans-serif;
  --font-family-secondary: 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
}
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease-out forwards;
  opacity: 0;
}

.animate-slide-in-top {
  animation: slideInFromTop 0.5s ease-out forwards;
        opacity: 0;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Stagger animation for FAQ items */
.stagger-faq {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}

.stagger-faq:nth-child(1) { animation-delay: 0.4s; }
.stagger-faq:nth-child(2) { animation-delay: 0.5s; }
.stagger-faq:nth-child(3) { animation-delay: 0.6s; }
.stagger-faq:nth-child(4) { animation-delay: 0.7s; }
.stagger-faq:nth-child(5) { animation-delay: 0.8s; }
.stagger-faq:nth-child(6) { animation-delay: 0.9s; }
.stagger-faq:nth-child(7) { animation-delay: 1.0s; }
.stagger-faq:nth-child(8) { animation-delay: 1.1s; }
.stagger-faq:nth-child(9) { animation-delay: 1.2s; }
.stagger-faq:nth-child(10) { animation-delay: 1.3s; }

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Disable hover effects on touch devices for better performance */
@media (hover: none) {
  .faq-item:not(.is-open):hover,
  .faq-item.is-open:hover,
  .faq-toggle-button:hover,
  .contact-box:hover,
  .contact-button:hover {
    transform: none;
    box-shadow: none;
    background-color: inherit;
    border-color: inherit;
  }
  .faq-toggle-button:hover img {
    filter: none;
  }
  .contact-button:hover::before {
    left: -100%;
  }
}

body {
    margin: 0;
  font-family: var(--font-family-primary);
  color: var(--color-text-primary);
  background: linear-gradient(180deg, var(--color-bg-gradient-start) 0%, var(--color-bg-gradient-mid) 50%, var(--color-bg-gradient-end) 100%);
    min-height: 100vh;
}

.container {
    width: 100%;
  max-width: 1136px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, p {
    margin: 0;
}

a {
  text-decoration: none;
}

/* Navigation Bar */
.main-navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  padding: 20px clamp(20px, 5vw, 94px);
  background-color: rgba(15, 23, 43, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-logo img {
  width: clamp(100px, 15vw, 135px);
  height: auto;
}

.nav-links {
    display: flex;
  gap: clamp(16px, 3vw, 32px);
  color: var(--color-text-primary);
  font-size: clamp(12px, 2vw, 14px);
    font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.2px;
}

.nav-links a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-accent-secondary);
}

.nav-actions {
    display: flex;
    align-items: center;
  gap: clamp(16px, 3vw, 32px);
}

.btn-login {
  color: var(--color-text-primary);
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.3px;
  padding: 10px 0;
    transition: color 0.2s ease;
}

.btn-login:hover {
  color: var(--color-accent-secondary);
}

.btn-primary-nav {
  background-color: var(--color-accent-primary);
  color: var(--color-surface-light);
  padding: clamp(8px, 1.5vw, 10px) clamp(16px, 3vw, 20px);
  border-radius: 999px;
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.3px;
  transition: opacity 0.2s ease;
}

.btn-primary-nav:hover {
  opacity: 0.9;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all 0.3s ease;
}

.mobile-nav-dropdown {
  display: none;
    position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 80vh;
  overflow-y: auto;
  background-color: rgba(15, 23, 43, 0.98);
  padding: 20px;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-dropdown.active {
    display: flex;
}

.mobile-nav-dropdown a {
  color: var(--color-text-primary);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px 0;
}

.mobile-nav-actions .btn-login,
.mobile-nav-actions .btn-primary-nav {
  display: block;
  text-align: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-nav-actions .btn-login {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-primary);
}

.mobile-nav-actions .btn-login:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.mobile-nav-actions .btn-primary-nav {
  background-color: var(--color-accent-primary);
  color: var(--color-surface-light);
  border: none;
}

.mobile-nav-actions .btn-primary-nav:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Top Banner */
.top-banner-wrapper {
    padding: 16px 24px;
  }
  .top-banner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-surface-light);
    border-radius: 20px;
    padding: 12px 48px;
    min-height: 56px;
  }
  .top-banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .top-banner-text {
    font-family: var(--font-family-secondary);
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: var(--color-text-dark);
    letter-spacing: -0.2px;
  }
  .top-banner-button {
    display: flex;
    align-items: center;
    gap: 4px;
    background-color: var(--color-accent-primary);
    color: var(--color-surface-light);
    font-family: var(--font-family-secondary);
    font-weight: 500;
    font-size: clamp(10px, 2vw, 12px);
    line-height: 16px;
    padding: 8px 12px 8px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
  }
  .top-banner-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
  }
  .top-banner-button img {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
  .top-banner-close {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .top-banner-close img {
    width: 11.25px;
    height: 11.25px;
}

/* FAQ Section */
.faq-section {
    padding-top: 80px;
    padding-bottom: 120px;
  }
.faq-header {
    text-align: center;
    margin-bottom: 56px;
}
  .faq-header h1 {
    font-weight: 500;
    font-size: 64px;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
  }
  .faq-header p {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    letter-spacing: -0.2px;
  }

  .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    max-width: 770px;
    margin-left: auto;
    margin-right: auto;
  }
  .faq-item {
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .faq-item:not(.is-open) {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 24px;
  }
  .faq-item:not(.is-open):hover {
    border-bottom-color: var(--color-accent-secondary);
    transform: translateX(4px);
  }
  .faq-item.is-open {
    background-color: var(--color-faq-item-bg);
    border: 1px solid var(--color-border);
    padding: 24px 35px;
  }
  .faq-item.is-open:hover {
    border-color: var(--color-accent-secondary);
    box-shadow: 0 4px 20px rgba(43, 127, 255, 0.15);
  }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    user-select: none;
}
  .faq-question h3 {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.3px;
    color: var(--color-text-primary);
  }
  .faq-toggle-button {
    background-color: var(--color-surface-light);
    border: none;
    border-radius: 12px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .faq-toggle-button:hover {
    background-color: var(--color-accent-primary);
    transform: scale(1.1) rotate(90deg);
  }
  .faq-toggle-button img {
    width: 16px;
    height: 16px;
    transition: filter 0.3s ease;
  }
  .faq-toggle-button:hover img {
    filter: brightness(0) invert(1);
  }
  .faq-item:not(.is-open) .icon-minus {
    display: none;
}
  .faq-item.is-open .icon-plus {
    display: none;
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    font-weight: 300;
    letter-spacing: -0.2px;
    opacity: 0;
  }
  .faq-item.is-open .faq-answer {
    padding-top: 12px;
    max-height: 1000px;
    opacity: 1;
  }
  .faq-answer strong {
    font-weight: 700;
    color: var(--color-text-secondary);
  }
  .answer-intro {
    margin-bottom: 1em;
  }
  .answer-list {
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75em;
  }
  .answer-list li::marker {
    color: var(--color-accent-secondary);
  }

  .answer-spacing {
    margin-top: 1em;
  }

  .list-spacing {
    margin-bottom: 1.5em;
  }

  .tier-title {
    margin-bottom: 1em;
  }

  .contact-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-surface-dark);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 22px 24px;
    max-width: 770px;
    margin: 80px auto 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .contact-box:hover {
    border-color: var(--color-accent-secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(43, 127, 255, 0.2);
  }
  .contact-text h4 {
    font-family: var(--font-family-secondary);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}
  .contact-text p {
    font-family: var(--font-family-secondary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    letter-spacing: -0.2px;
  }
  .contact-button {
    background-color: var(--color-accent-secondary);
    color: var(--color-surface-light);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  .contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
  }
  .contact-button:hover::before {
    left: 100%;
  }
  .contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  }

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .main-navbar {
      padding: 20px 40px;
    }
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .nav-links {
      display: none;
    }
    .nav-actions {
      display: none;
    }
    .mobile-menu-toggle {
      display: flex;
    }
    .main-navbar {
      padding: 16px 24px;
    }
    .navbar-logo img {
      width: 120px;
    }
    .top-banner-wrapper {
      padding: 12px 16px;
    }
    .top-banner-content {
      flex-direction: column;
      gap: 12px;
    }
    .top-banner {
      padding: 16px;
    }
    .top-banner-close {
      top: 16px;
      right: 16px;
      transform: none;
    }
    .top-banner-text {
      font-size: 13px;
      text-align: center;
    }
    .faq-section {
      padding-top: 40px;
      padding-bottom: 60px;
    }
    .faq-header {
      margin-bottom: 40px;
    }
    .faq-header h1 {
      font-size: 40px;
      letter-spacing: -1px;
    }
    .faq-header p {
      font-size: 16px;
    }
    .faq-accordion {
      gap: 20px;
    }
    .faq-item:not(.is-open) {
      padding-bottom: 20px;
    }
    .faq-item.is-open {
      padding: 20px;
    }
    .faq-question h3 {
      font-size: 15px;
    }
    .faq-answer {
      font-size: 13px;
    }
    .contact-box {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
      padding: 20px;
    }
    .contact-text h4 {
      font-size: 15px;
    }
    .contact-text p {
      font-size: 13px;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .container {
      padding-left: 16px;
      padding-right: 16px;
    }
    .main-navbar {
      padding: 12px 16px;
    }
    .navbar-logo img {
      width: 100px;
    }
    .top-banner-wrapper {
      padding: 8px 12px;
    }
    .top-banner {
      padding: 12px;
      border-radius: 16px;
    }
    .top-banner-text {
      font-size: 12px;
    }
    .top-banner-button {
      font-size: 11px;
      padding: 6px 10px 6px 12px;
    }
    .top-banner-close {
    width: 16px;
    height: 16px;
    }
    .faq-section {
      padding-top: 32px;
      padding-bottom: 48px;
    }
    .faq-header h1 {
      font-size: 32px;
    }
    .faq-header p {
      font-size: 14px;
    }
    .faq-accordion {
      gap: 16px;
    }
    .faq-item:not(.is-open) {
      padding-bottom: 16px;
    }
    .faq-item.is-open {
      padding: 16px;
    }
    .faq-question h3 {
      font-size: 14px;
    }
    .faq-toggle-button {
      width: 28px;
      height: 28px;
    }
    .faq-toggle-button img {
      width: 14px;
      height: 14px;
    }
    .faq-answer {
      font-size: 12px;
    }
    .answer-list {
      padding-left: 16px;
      gap: 0.6em;
    }
    .contact-box {
      padding: 16px;
      gap: 14px;
    }
    .contact-text h4 {
      font-size: 14px;
    }
    .contact-text p {
      font-size: 12px;
    }
    .contact-button {
      font-size: 11px;
      padding: 7px 14px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .faq-header h1 {
      font-size: 28px;
    }
    .faq-question h3 {
      font-size: 13px;
      line-height: 1.4;
    }
    .contact-box {
      padding: 14px;
    }
  }

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay .form-container {
    position: relative;
    max-width: 695px;
    width: 100%;
    background-color: #0e1629;
    border: 1px solid #45556c;
    border-radius: 20px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    padding: 50px 72px 40px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay .close-button-modal {
    position: absolute;
    top: 32px;
    right: 41px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.modal-overlay .close-button-modal img {
    width: 18px;
    height: 18px;
    display: block;
}

.modal-overlay .form-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modal-overlay .form-title {
    color: #ffffff;
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.25;
    text-align: left;
    margin: 0;
}

.modal-overlay .contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-overlay .form-fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-overlay .form-row {
    display: flex;
    flex-direction: row;
    gap: 22px;
}

.modal-overlay .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.modal-overlay .form-group label {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.2px;
    font-family: var(--font-family-primary);
}

.modal-overlay .input-wrapper-modal {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(49, 65, 88, 0.3);
    border: 1px solid #45556c;
    border-radius: 12px;
    padding: 8px 12px;
    height: 40px;
}

.modal-overlay .input-wrapper-modal input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3px;
}

.modal-overlay .input-wrapper-modal input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-overlay .phone-input-wrapper {
    padding-left: 12px;
}

.modal-overlay .country-code-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.modal-overlay .country-code-selector span {
    color: #ffffff;
    font-weight: 400;
}

.modal-overlay .country-code-selector img {
    width: 24px;
    height: 24px;
}

/* Custom Select Dropdown */
.modal-overlay .custom-select {
    position: relative;
    width: 100%;
}

.modal-overlay .select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background-color: rgba(49, 65, 88, 0.3);
    border: 1px solid #45556c;
    border-radius: 12px;
    padding: 8px 12px;
    height: 40px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.modal-overlay .select-trigger:hover {
    border-color: #5a6b7f;
}

.modal-overlay .select-trigger.active {
    border-color: #3b82f6;
}

.modal-overlay .select-trigger span {
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3px;
    color: rgba(255, 255, 255, 0.5);
    flex-grow: 1;
    text-align: left;
}

.modal-overlay .select-trigger.has-value span {
    color: #ffffff;
}

.modal-overlay .select-trigger img {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.modal-overlay .select-trigger.active img {
    transform: rotate(180deg);
}

.modal-overlay .select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a2539;
    border: 1px solid #45556c;
    border-radius: 12px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-overlay .select-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modal-overlay .select-option {
    padding: 12px 16px;
    font-family: var(--font-family-primary);
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.modal-overlay .select-option:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.modal-overlay .select-option:first-child {
    border-radius: 12px 12px 0 0;
}

.modal-overlay .select-option:last-child {
    border-radius: 0 0 12px 12px;
}

.modal-overlay .select-option.selected {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* Custom scrollbar for select options */
.modal-overlay .select-options::-webkit-scrollbar {
    width: 6px;
}

.modal-overlay .select-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.modal-overlay .select-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.modal-overlay .select-options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.modal-overlay .notes-textarea {
    background-color: rgba(49, 65, 88, 0.3);
    border: 1px solid #45556c;
    border-radius: 12px;
    padding: 8px 12px;
    height: 112px;
    resize: vertical;
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    outline: none;
}

.modal-overlay .notes-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-overlay .submit-button-modal {
    background-color: #3b82f6;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.2px;
    text-align: center;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    width: 100%;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: var(--font-family-primary);
}

.modal-overlay .submit-button-modal:hover:not(:disabled) {
    opacity: 0.9;
}

.modal-overlay .submit-button-modal:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Success Modal */
.success-card {
    position: relative;
    max-width: 695px;
    width: 100%;
    background-color: #0e1629;
    border: 1px solid #45556c;
    border-radius: 20px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    padding: 90px 72px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-height: 90vh;
    overflow-y: auto;
}

.success-icon {
    width: 108px;
    height: 108px;
    margin-bottom: 36px;
}

.success-title {
    color: #ffffff;
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    margin: 0 0 11px 0;
}

.success-description {
    color: #ffffff;
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    opacity: 0.4;
    margin: 0 0 22px 0;
}

.success-info {
    color: #ffffff;
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    opacity: 0.6;
    margin: 0;
}

.success-button {
    background-color: #3b82f6;
    color: #ffffff;
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.2px;
    text-decoration: none;
    text-align: center;
    padding: 10px 16px;
    border-radius: 999px;
    margin-top: 115px;
    align-self: center;
    display: block;
    width: 100%;
    max-width: 551px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-button:hover {
    opacity: 0.9;
}

/* Modal responsive styles */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 16px;
    }

    .modal-overlay .form-container {
        padding: 40px 24px;
        border-radius: 16px;
    }

    .modal-overlay .close-button-modal {
        top: 20px;
        right: 20px;
    }

    .modal-overlay .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .modal-overlay .form-title {
        font-size: 28px;
    }

    .modal-overlay .form-fields {
        gap: 20px;
    }

    .success-card {
        padding: 60px 40px;
        border-radius: 16px;
    }

    .success-title,
    .success-description {
        font-size: 28px;
        line-height: 1.3;
    }

    .success-button {
        margin-top: 80px;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
    }

    .modal-overlay .form-container {
        padding: 30px 20px;
    }

    .modal-overlay .form-title {
        font-size: 24px;
    }

    .modal-overlay .form-group label {
        font-size: 13px;
    }

    .modal-overlay .input-wrapper-modal {
        height: 38px;
    }

    .modal-overlay .input-wrapper-modal input {
        font-size: 14px;
    }

    .modal-overlay .notes-textarea {
        height: 100px;
        font-size: 14px;
    }

    .modal-overlay .submit-button-modal {
        height: 38px;
        font-size: 13px;
    }

    .success-card {
        padding: 40px 24px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
    }

    .success-title,
    .success-description {
        font-size: 24px;
    }

    .success-info {
        font-size: 13px;
    }

    .success-button {
        margin-top: 60px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .modal-overlay .form-container {
        padding: 24px 16px;
    }

    .modal-overlay .form-title {
        font-size: 22px;
    }

    .success-card {
        padding: 32px 20px;
    }

    .success-icon {
        width: 70px;
        height: 70px;
    }

    .success-title,
    .success-description {
        font-size: 22px;
    }
}

