@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.social-icon {
  margin-right: 10px;
  color: #ffffff;
  height: 20px;
  width: 20px;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.banner {
  padding: 0;
  text-align: center;
  position: relative;
  border-bottom: 2px solid rgba(199, 189, 199, 0.3);
}

.logo-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.logo-images img {
  border: 1px solid red;
  box-shadow: none;
  height: 120px;
  width: 100%;
  vertical-align: middle;
  border-style: none;
  object-fit: contain;
}

header {
  background-color: #580058;
  color: white;
  padding: 12px 0;
}

.header-content {
  display: flex;
  max-width: 700px;
  margin: 0 auto;
  justify-content: space-around;
  align-items: center;
}

.header-content h1 {
  line-height: 1;
  margin: 0;
}

.wrapper {
  background: #f8fafc;
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.logo {
  height: 60px;
}

header h1 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.form-container {
  margin: 20px auto;
  background: white;
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(199, 189, 199, 0.3);
}

.payment-message {
  flex: 0 0 300px;
  background: #ffffff;
  border: 1px solid rgba(118, 6, 255, 0.3);
  border-radius: 20px;
  padding: 24px;
  order: 2;
  /* box-shadow: 
    -60px -5px 60px 1px rgba(255, 0, 255, 0.1),
    0px -20px 60px 1px rgba(118, 6, 255, 0.2),
    0px -20px 60px -1px rgba(255, 9, 0, 0.1); */
}

.payment-message h2 {
  color: #240024;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.payment-message p {
  color: #808080;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  font-weight: 600;
}

.registration-iframe {
  flex: 1;
  min-width: 600px;
  height: 1100px;
  border: none;
  order: 1;
}

.footer {
  padding: 30px 0 15px;
  background-color: #580058;
  backdrop-filter: blur(10px);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
  color: #ffffff;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 0 15px 15px;
}

.footer-column:first-child {
  flex: 0 0 auto;
  min-width: 200px;
}

.footer-column:last-child {
  flex: 2;
  min-width: 400px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.95;
  margin-bottom: 10px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 6px;
}

.footer-heading:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #ffffff;
}

.footer-info {
  margin-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.footer-line {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-line a {
  color: #ffffff;
  text-decoration: none;
}

.footer-line:hover {
  opacity: 1;
}

.social-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  font-size: 13px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: center;
  }

  .footer-column:first-child,
  .footer-column:last-child {
    flex: 1;
    min-width: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .contact-grid {
    display: block;
  }

  .footer-line {
    margin-bottom: 10px;
  }
}

.trademark {
  font-size: 0.8em;
  vertical-align: super;
}

.spinner-container {
  background: white;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(199, 189, 199, 0.3);
  box-shadow:
    -60px -5px 60px 1px rgba(255, 0, 255, 0.1),
    0px -20px 60px 1px rgba(118, 6, 255, 0.2),
    0px -20px 60px -1px rgba(255, 9, 0, 0.1);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(199, 189, 199, 0.3);
  border-top: 2px solid #ff3300;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

h1 {
  font-size: 20px;
  font-weight: 700;
  color: #240024;
  margin-bottom: 8px;
  line-height: 1.3;
}

.subtitle {
  font-size: 15px;
  color: #808080;
  line-height: 1.4;
  margin-bottom: 0;
  font-weight: 600;
}

.error-container {
  background: white;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(199, 189, 199, 0.3);
  display: none;
  /* box-shadow: 
    -60px -5px 60px 1px rgba(255, 0, 255, 0.1),
    0px -20px 60px 1px rgba(118, 6, 255, 0.2),
    0px -20px 60px -1px rgba(255, 9, 0, 0.1); */
}

.error-icon {
  width: 48px;
  height: 48px;
  background: #fef2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.error-icon svg {
  width: 24px;
  height: 24px;
  color: #ef4444;
}

.error-title {
  font-size: 18px;
  font-weight: 700;
  color: #240024;
  margin-bottom: 8px;
}

.error-message {
  font-size: 15px;
  color: #808080;
  line-height: 1.4;
  margin-bottom: 32px;
  font-weight: 600;
}

.contact-section {
  padding: 24px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(199, 189, 199, 0.3);
}

.contact-title {
  font-size: 14px;
  font-weight: 700;
  color: #240024;
  margin-bottom: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item a {
  color: #ff3300;
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-icon {
  width: 16px;
  height: 16px;
  color: #808080;
}

@media (max-width: 480px) {
  .container,
  .error-container {
    padding: 15px 16px;
  }
}

@media (max-width: 768px) {
  .banner {
    padding: 30px 20px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin-bottom: 15px;
  }
  header h1 {
    font-size: 24px;
  }

  .form-container {
    flex-direction: column;
    gap: 20px;
    padding: 15px;
  }

  .payment-message {
    flex: none;
    order: 1;
    margin-bottom: 10px;
  }

  .registration-iframe {
    height: 900px;
    width: 100%;
    min-width: 100%;
    order: 2;
  }
  .footer {
    padding: 30px 20px 15px;
  }

  .footer-columns {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 25px;
  }

  .footer-heading:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-line {
    justify-content: center;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .banner {
    padding: 15px 15px;
  }

  header h1 {
    font-size: 20px;
  }
}
