* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.social-icon {
  margin-right: 10px;
  color: #edddaf;
  height: 20px;
  width: 20px;
}

body {
  font-family: -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 {
  background-color: #0d193b;
  padding: 20px 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(237, 221, 175, 0.4);
}

.logo-image img {
  box-shadow: none;
  height: 65px;
  max-width: 100%;
  vertical-align: middle;
  border-style: none;
}

.tagline {
  color: #edddaf;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 15px;
  position: relative;
  z-index: 1;
}

header {
  /* background-color: #1a1a1a; */
  background-color: #0d193b;
  color: white;
  padding: 10px 0;
}

.header-content {
  display: flex;
  max-width: 700px;
  margin: 0 auto;
  justify-content: space-around;
  align-items: center;
}

.wrapper {
  background: #f8fafc;
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.logo {
  height: 60px;
}

header h1 {
  color: #edddaf;
  font-size: 20px;
  font-weight: 600;
  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: 8px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.payment-message {
  flex: 0 0 300px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  order: 2;
}

.payment-message h2 {
  color: #0d193b;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.payment-message p {
  color: #475569;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.registration-iframe {
  flex: 1;
  min-width: 600px;
  height: 1100px;
  border: none;
  order: 1;
}

.footer {
  padding: 30px 0 15px;
  background-color: #0d193b;
  backdrop-filter: blur(10px);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
  color: #edddaf;
}

.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.85;
  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: #edddaf;
}

.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: #edddaf;
  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(237, 221, 175, 0.2);
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}

@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: 12px;
  padding: 48px 32px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  border: 1px solid #e2e8f0;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid #e2e8f0;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

h1 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.subtitle {
  font-size: 15px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 0;
}

.error-container {
  background: white;
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  border: 1px solid #fee2e2;
  display: none;
}

.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: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.error-message {
  font-size: 15px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 32px;
}

.contact-section {
  padding: 24px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.contact-title {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  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: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
}

@media (max-width: 480px) {
  .container,
  .error-container {
    padding: 40px 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: 25px 15px;
  }

  header h1 {
    font-size: 20px;
  }
}
