:root {
  --primary: #004d4a;
  --secondary: #b8d944;
  --accent: #facc15;
  --lightBg: #f3f4f6;
  --textOnPrimary: #ffffff;
  --mutedText: #4b5563;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  overflow-y: scroll;

  scrollbar-width: none;

  -ms-overflow-style: none;

}

body::-webkit-scrollbar {
  width: 0;

}

html {
  scroll-behavior: smooth;
}

.footer-link {
  color: white;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--accent);
}

.btn-custom-active {
  background-color: var(--primary) !important;
  color: var(--textOnPrimary) !important;
  pointer-events: auto;
}

.btn-custom-active:hover,
.btn-custom-active:focus,
.btn-custom-active:active {
  background-color: #004d4a !important;
  color: white !important;
  box-shadow: none !important;
}

.btn-sm {
  transition: none !important;
}

.btn-light,
.btn-light:hover,
.btn-light:focus {
  background-color: #f8f9fa !important;
  color: #6c757d !important;
  box-shadow: none !important;
}

.hero-section {
  padding: 60px 0;
  background-color: var(--primary);
  color: var(--textOnPrimary);
}

.edition-badge {
  display: inline-block;
  background-color: var(--lightBg);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: bold;
}


.step-circle {
  width: 2.5rem;
  /* w-10 */
  height: 2.5rem;
  /* h-10 */
  border-radius: 9999px;
  /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 1rem;
}

.step-circle.active {
  background: linear-gradient(to bottom right, var(--primary), var(--secondary));
  color: var(--textOnPrimary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-circle.inactive {
  background: #e5e7eb;
  /* bg-gray-200 */
  color: #6b7280;
  /* text-gray-500 */
}

/* Step line */
.step-line {
  width: 3rem;
  /* w-12 */
  height: 0.25rem;
  /* h-1 */
  border-radius: 9999px;
  transition: background 0.3s;
}

.step-line.active {
  background-color: #14b8a6;
  /* bg-teal-500 */
}

.step-line.inactive {
  background-color: #e5e7eb;
  /* bg-gray-200 */
}


.btn-custom-active {
  background-color: #008080;
  color: white;
}

.file-label {
  cursor: pointer;
}

.RegistrationForm {
  color: var(--primary);
  text-align: center;
  font-size: 30px;
  font-weight: normal;
}

.stepNo {
  font-size: 16px;
  font-weight: normal;
  color: oklch(0.446 0.03 256.802);
  text-align: center;
}

.personalTitle {
  color: var(--primary);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}


.custom-label {
  display: block;
  font-size: 0.875rem;
  /* text-sm */
  margin-bottom: 0.5rem;
  /* mb-2 */
  color: #374151;
  /* gray-700 */
}

.custom-input,
.custom-select {
  width: 100%;
  padding: 0.75rem 1rem;
  /* py-3 px-4 */
  border: 1px solid #d1d5db;
  /* gray-300 */
  border-radius: 0.5rem;
  /* rounded-lg */
  outline: none;
}

.custom-input:focus,
.custom-select:focus {
  box-shadow: 0 0 0 2px var(--primary);
  border-color: var(--primary);
}

.form-group {
  margin-bottom: 10px;
  /* spacing between fields */
}

#formButtons {
  flex-direction: row !important;
  /* force LTR row direction */
}

.custom-file-upload {
  width: 100%;
  padding: 0.75rem 1rem;
  /* same as inputs */
  border: 2px dashed #d1d5db;
  /* gray-300 */
  border-radius: 0.5rem;
  /* rounded-lg */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.custom-file-upload:hover {
  border-color: #14b8a6;
  /* teal-400 */
}

.custom-file-upload span {
  color: #4b5563;
  /* gray-600 */
}

.custom-file-upload input {
  display: none;
}

.file-hint {
  font-size: 0.75rem;
  /* text-xs */
  color: #6b7280;
  /* gray-500 */
  margin-top: 0.25rem;
  /* mt-1 */
}


.btn-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  /* from #00504e to teal (#0d9488) */
  color: #fff;
  padding: 10px 24px;
  border-radius: 0.5rem;
  /* 8px */
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* space between icon and text */
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

/* Hover Effect */
.btn-gradient:hover {
  background: linear-gradient(to right, var(--secondary), var(--primary));
  /* reverse gradient */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Disabled State */
.btn-gradient:disabled {
  background: #6c757d;
  cursor: not-allowed;
  box-shadow: none;
}

.country-dropdown {
  position: relative;
}

.country-list {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  background: #fff;
  z-index: 1000;
}

.country-item {
  padding: 6px 10px;
  cursor: pointer;
}

.country-item:hover {
  background: #f2f2f2;
}


/* Background gradient */
.hero-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Decorative container */
.hero-decor {
  inset: 0;
  opacity: 0.2;
}

/* Top left squares */
.decor-square-1 {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #14b8a6;
  /* teal-300 */
}

.decor-square-2 {
  position: absolute;
  top: 5rem;
  left: 5rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid #facc15;
  /* yellow-400 */
}

/* Top right bracket */
.corner-bracket.top-right {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 6rem;
  height: 6rem;
}

.corner-bracket.top-right .border-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-top: 2px solid #14b8a6;
  border-right: 2px solid #14b8a6;
  border-top-right-radius: 1.5rem;
  /* rounded-tr-3xl */
}

/* Bottom left bracket */
.corner-bracket.bottom-left {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  width: 5rem;
  height: 5rem;
}

.corner-bracket.bottom-left .border-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #facc15;
  border-left: 2px solid #facc15;
  border-bottom-left-radius: 1.5rem;
}

/* Scattered dots */
.dot {
  position: absolute;
  border-radius: 50%;
}

.dot-1 {
  top: 25%;
  right: 25%;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #facc15;
}

.dot-2 {
  top: 33%;
  left: 33%;
  width: 0.75rem;
  height: 0.75rem;
  background-color: #14b8a6;
}

.dot-3 {
  bottom: 25%;
  right: 33%;
  width: 0.5rem;
  height: 0.5rem;
  background-color: #facc15;
}

/* Center grid */
.grid-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(3, 0.75rem);
  gap: 0.5rem;
}

.grid-dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #14b8a6;
  opacity: 0.3;
  border-radius: 0.1rem;
}

/* Main content */
.event-title {
  font-size: 24px;
  /* text-2xl */
  line-height: 30px;
  font-weight: normal;
}

.event-info .badge {
  font-size: 0.875rem;
  padding: 0.375rem 1rem;
  /* px-4 py-1.5 */
}

.venue {
  font-size: 1rem;
  opacity: 0.9;
}

.location {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Bottom accent line */
.bottom-line {
  height: 0.25rem;
  /* 1px in Tailwind ~ 4px here */
  background: linear-gradient(to right, transparent, #b8d944, transparent);
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}

.stepTitle {
  color: var(--primary);
  font-size: 24px;
  font-weight: 400;
  padding-bottom: 0.75rem;
  /* pb-3 */
  margin-bottom: 1.5rem;
  /* mb-6 */
  border-bottom: 2px solid var(--primary);
  /* border-b-2 border-teal-200 */
}

.sectionTitle {
  color: #00504e;
  font-size: 18px;
  /* text-lg */
  font-weight: 400;
  margin-bottom: 1rem;
}

.summaryCard {
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.text-small {
  font-size: 0.875rem;
}

#prevBtn {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background-color: #e5e7eb;
  color: #374151;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

#prevBtn:hover {
  background-color: #d1d5db;
}


.modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.modal-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.email-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  font-size: 20px;
}


.icon-border {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
  /* border color */
  border-radius: 50%;
  padding: 4px;
  font-size: 24px;
  /* match icon size */
}

/* Validation Styles */
.text-danger {
  color: #dc3545 !important;
}

.border-danger {
  border-color: #dc3545 !important;
}

.small {
  font-size: 0.875em;
}

.text-start {
  text-align: left !important;
}

[dir="rtl"] .text-start {
  text-align: right !important;
}

/* --- Choices.js & intl-tel-input Overrides --- */

/* Choices.js Container */
.choices {
  margin-bottom: 0;
}

.choices__inner,
.choices__list--single,
.choices__item--selectable {
  background-color: #ffffff !important;
}

.choices__inner {
  border: 1px solid #d1d5db !important;
  border-radius: 0.5rem !important;
  padding: 0.4rem 0.5rem !important;
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

/* Choices.js Focus State */
.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px var(--primary);
}

/* Choices.js Dropdown */
.choices__list--dropdown {
  border-radius: 0.5rem !important;
  border-color: #d1d5db !important;
  margin-top: 4px;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: #f3f4f6 !important;
  color: #111827 !important;
}

/* Choices.js Search Input in Dropdown */
.choices__list--dropdown .choices__input {
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 0.4rem;
  padding: 8px 12px;
  margin-bottom: 8px;
}

/* intl-tel-input Styling */
.iti {
  width: 100%;
}

.iti__country-list {
  z-index: 1000;
  border-radius: 8px;
  border-color: #d1d5db;
}

.intl-tel-wrapper {
  border-radius: 0.5rem;
}

.intl-tel-wrapper .custom-input:focus {
  /* Ensure the wrapper doesn't clip the shadow */
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px var(--primary) !important;
}

/* Fix for intl-tel-input padding to match custom-input */
.iti--separate-dial-code .iti__selected-dial-code {
  padding-left: 8px;
}

/* Custom adjustment for the dropdown in screenshot */
.choices[data-type*="select-one"] .choices__inner {
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}

.choices[data-type*="select-one"]::after {
  border-color: #4b5563 transparent transparent transparent;
}