.mainregistration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url("../img/registration-bg.jpg") no-repeat center center/cover;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
  z-index: -1;
}

.registration-section {
  position: relative;
  min-height: calc(100vh - 250px);
  max-width: 1200px;
  margin: 20px auto;
  padding: 2rem;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}

.registration-intro {
  margin-bottom: 3rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--main-gray);
}

.banner {
  background-color: var(--lighter-blue);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.banner h2 {
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.dates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.date-item {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 1rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.date-highlight {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.date-label {
  font-size: 1rem;
  color: var(--orange);
}

.venue-info {
  margin-bottom: 3rem;
}

.venue-container {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.venue-image {
  flex: 1;
  min-width: 300px;
}

.venue-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.venue-details {
  flex: 2;
  min-width: 300px;
}

.venue-details h3 {
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.venue-details p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--main-gray);
}

.registration-types {
  margin-bottom: 3rem;
}

.tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--lighter-gray);
}

.tab-button {
  padding: 1rem 2rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--main-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-button:hover {
  color: var(--primary-blue);
}

.tab-button.active {
  color: var(--primary-blue);
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
}

.tab-content {
  padding: 1.5rem 0;
}

.pricing-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.pricing-table {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.pricing-table.wide {
  flex-basis: 100%;
}

.pricing-table.short {
  width: 42%;
  flex: none;
  margin: 0 auto;
}

.pricing-table h3 {
  background-color: var(--primary-blue);
  color: white;
  padding: 1rem;
  margin: 0;
  text-align: center;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
}

.pricing-table th {
  background-color: var(--light-blue);
  color: var(--primary-blue);
  font-weight: 600;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.date-small {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
  color: var(--main-gray);
  margin-top: 0.25rem;
}

.what-included {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--lighter-blue);
  border-radius: 8px;
}

.what-included h3 {
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.what-included ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  padding-left: 0;
  list-style-type: none;
}

.what-included li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
  color: var(--main-gray);
}

.what-included li::before {
  content: "✓";
  color: var(--green);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.info-note {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #fff;
  border-left: 4px solid var(--orange);
  border-radius: 4px;
}

.info-note2 {
  padding: 0 0.5rem;
}

.info-note p {
  margin: 0;
  color: var(--main-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--lighter-gray);
}

.region-tab {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--main-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.region-tab:hover {
  color: var(--primary-blue);
}

.region-tab.active {
  color: var(--primary-blue);
}

.region-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
}

.countries-grid.multi-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.countries-grid.multi-column ul {
  flex: 1;
  min-width: 150px;
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.countries-grid.multi-column li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--main-gray);
}

.registration-notes {
  margin-bottom: 3rem;
}

.note-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-left: 4px solid var(--yellow);
}

.note-card h3 {
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.note-card p {
  margin: 0 0 1rem 0;
  color: var(--main-gray);
  line-height: 1.6;
}

.note-card p:last-child {
  margin-bottom: 0;
}

.register-action {
  text-align: center;
  background-color: var(--lighter-blue);
  padding: 3rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.register-action h2 {
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.register-action p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--main-gray);
  line-height: 1.6;
}

.conduct-notice {
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  margin: 0 auto 2rem;
  max-width: 800px;
  border-left: 4px solid var(--green);
}

.conduct-notice p {
  margin: 0;
  font-size: 0.95rem;
}

.conduct-notice a {
  color: var(--primary-blue);
  text-decoration: underline;
  font-weight: 600;
}

.conduct-notice a:hover {
  color: var(--orange);
}

.register-button {
  display: inline-block;
  background-color: var(--orange);
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.register-button:hover {
  background-color: var(--primary-blue);
  transform: translateY(-3px);
}

.registration-contact {
  font-size: 0.95rem;
  margin-top: 2rem;
}

.registration-contact a {
  color: var(--primary-blue);
  text-decoration: none;
}

.registration-contact a:hover {
  text-decoration: underline;
  color: var(--orange);
}

.venue-map {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.visa-info-section {
  margin-bottom: 3rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.visa-intro {
  margin-bottom: 1.5rem;
}

.visa-intro p {
  color: var(--main-gray);
  line-height: 1.6;
}

.visa-lists {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.visa-list-card {
  background-color: var(--lighter-gray);
  border-radius: 8px;
  padding: 1.3rem;
}

.visa-list-card h3 {
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.visa-list-card p {
  margin: 0;
  color: var(--main-gray);
  line-height: 1.6;
}

.expandable-content {
  position: relative;
}

.visa-countries {
  max-height: 3.2em;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.expandable-content.expanded .visa-countries {
  max-height: 2000px;
}

.expand-toggle {
  background: none;
  border: none;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 0;
  text-decoration: underline;
  display: inline-block;
  margin-top: 0.5rem;
}

.expand-toggle:hover {
  color: var(--orange);
}

.expand-toggle .hide-text {
  display: none;
}

.expandable-content.expanded .expand-toggle .show-text {
  display: none;
}

.expandable-content.expanded .expand-toggle .hide-text {
  display: inline;
}

.visa-info-footer {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #fff;
  border-radius: 8px;
  border-left: 4px solid var(--orange);
}

.visa-info-footer p {
  margin: 0;
  color: var(--main-gray);
  line-height: 1.6;
}

.visa-info-footer a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.visa-info-footer a:hover {
  text-decoration: underline;
  color: var(--orange);
}

.health-requirements {
  margin-top: 1.5rem;
}

.health-requirements h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.health-requirements-list {
  padding-left: 0;
  list-style-type: none;
}

.health-requirements-list li {
  background-color: var(--lighter-blue);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--green);
}

.health-requirements-list li strong {
  color: var(--primary-blue);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.health-requirements-list li span {
  color: var(--main-gray);
  line-height: 1.6;
}

.timezone-note {
  margin-top: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-left: 3px solid #0056b3;
  font-size: 0.9rem;
}

.timezone-note p {
  margin: 0;
}

.banner.important-closed {
  background-color: #ebd5ca;
  border-bottom: 4px solid var(--orange);
}

.banner.important-dates h3 {
  font-size: 1rem;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .dates-grid {
    flex-direction: column;
  }

  .venue-container {
    flex-direction: column;
  }

  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .what-included ul {
    grid-template-columns: 1fr;
  }

  .region-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
  }

  .region-tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .countries-grid.multi-column {
    flex-direction: column;
  }

  .register-action {
    padding: 2rem 1rem;
  }

  .register-button {
    width: 95%;
    padding: 1rem 0.5rem;
  }

  .pricing-tables {
    gap: 0;
    display: block;
    width: 100%;
    margin: 0 auto;
  }

  .pricing-table {
    width: 100%;
    min-width: 100%;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .pricing-table.wide,
  .pricing-table.short {
    width: 100%;
    flex: none;
  }

  .pricing-table h3 {
    background-color: #2c3e5d;
    color: white;
    font-size: 1.1rem;
    padding: 1.2rem;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .pricing-table table {
    width: 100%;
    display: table;
    table-layout: fixed;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table tbody tr {
    display: block;
    width: 100%;
  }

  .pricing-table tbody td:first-child {
    display: block;
    width: 100%;
    background-color: #92b6d5;
    padding: 0.9rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    color: #2c3e5d;
    border: none;
    box-sizing: border-box;
  }

  .pricing-table tbody td:not(:first-child) {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #eee;
    background-color: white;
    position: relative;
    min-height: 3.5rem;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
  }

  .pricing-table tbody td:not(:first-child):hover {
    background-color: #f9f9f9;
  }

  .pricing-table tbody tr:last-child td:last-child {
    border-bottom: none;
  }

  .mobile-header {
    font-weight: 600;
    color: #2c3e5d;
    font-size: 0.95rem;
    margin-right: auto;
    padding-right: 10px;
  }

  .js-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: 500;
    font-size: 1.1rem;
    color: #333;
    white-space: normal !important;
    max-width: 110px !important;
  }

  .mobile-date {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.3rem;
    text-align: right;
  }

  #virtual-content {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }

  #virtual-content .pricing-tables {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  #virtual-content .pricing-table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 2rem 0 !important;
  }

  #virtual-content table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  #virtual-content table tbody {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #virtual-content table tbody tr {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #virtual-content table td {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 1rem !important;
  }

  #virtual-content table td:not(:first-child) {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #virtual-content .mobile-header {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 50% !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    margin-right: 1rem !important;
    padding-right: 0 !important;
  }

  #virtual-content .js-price-wrapper {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 110px !important;
    text-align: right !important;
    margin-left: auto !important;
    white-space: nowrap !important;
  }

  #virtual-content .mobile-date {
    display: block !important;
    width: 100% !important;
    text-align: right !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .visa-info-section {
    padding: 1.5rem;
  }

  .visa-list-card {
    padding: 1.2rem;
  }

  .health-requirements-list li {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .pricing-table h3 {
    font-size: 1rem;
    padding: 1rem;
  }

  .pricing-table tbody td:first-child {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .pricing-table tbody td:not(:first-child) {
    padding: 1rem 1.25rem;
  }

  .js-price-wrapper {
    font-size: 1rem;
  }

  .mobile-header {
    font-size: 0.9rem;
  }

  .mobile-date {
    font-size: 0.75rem;
  }

  #virtual-content table td:not(:first-child) {
    padding: 0.8rem !important;
  }

  #virtual-content .mobile-header {
    font-size: 0.8rem !important;
    max-width: 45% !important;
  }
}
