:root {
  --xgc-primary: #1e824c;
  --xgc-primary-dark: #17663b;
  --xgc-surface: rgba(9, 33, 26, 0.45);
  --xgc-surface-solid: rgba(9, 33, 26, 0.82);
}

.xgc-auth-hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.6s ease;
}

.xgc-auth-hero.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.xgc-auth-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(7, 43, 31, 0.85),
      rgba(6, 17, 23, 0.78)
    );
}

.xgc-auth-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-bottom: 6.5rem;
}

.xgc-auth-row {
  min-height: 100vh;
}

.xgc-auth-info {
  color: #fff;
  padding: clamp(2.5rem, 2vw + 2rem, 4rem);
  background: linear-gradient(135deg, var(--xgc-surface-solid), rgba(7, 24, 35, 0.88));
  backdrop-filter: blur(4px);
  flex-direction: column;
  gap: 2rem;
}

.xgc-auth-info-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.xgc-auth-logo img {
  max-height: 80px;
  width: auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.xgc-auth-title {
  font-size: clamp(2rem, 1.8rem + 1vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.xgc-auth-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.xgc-auth-country {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #fff;
}

.xgc-auth-country-badge img {
  height: 44px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.xgc-auth-country-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.xgc-auth-country-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
}

.xgc-auth-points {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.xgc-auth-points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.xgc-auth-points i {
  color: #4ade80;
  margin-top: 0.1rem;
}

.xgc-auth-main {
  padding: clamp(2.5rem, 4vw, 5rem);
  position: relative;
  z-index: 2;
}

.xgc-auth-main .xgc-auth-title {
  color: #10221d;
}

.xgc-auth-cta {
  max-width: 540px;
  margin: 0 auto;
}

.xgc-auth-card {
  max-width: 520px;
  width: 100%;
  background: #ffffff;
  border-radius: 1rem;
  padding: clamp(2rem, 2vw + 1.5rem, 2.75rem);
  box-shadow: 0 30px 60px rgba(16, 34, 29, 0.12);
}

.xgc-auth-card .form-control {
  border-radius: 0.75rem;
  border-color: rgba(16, 34, 29, 0.12);
  box-shadow: none;
  padding-block: 0.85rem;
}

.xgc-auth-card .form-control:focus {
  border-color: var(--xgc-primary);
  box-shadow: 0 0 0 0.25rem rgba(30, 130, 76, 0.15);
}

.xgc-auth-card .form-check-input:checked {
  background-color: var(--xgc-primary);
  border-color: var(--xgc-primary);
}

.xgc-auth-submit {
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: 0 18px 45px rgba(30, 130, 76, 0.2);
  background-color: var(--xgc-primary);
  border-color: var(--xgc-primary);
  color: #e5e7eb;
}

.xgc-auth-submit:hover,
.xgc-auth-submit:focus {
  background-color: var(--xgc-primary-dark);
  border-color: var(--xgc-primary-dark);
  color: #f8fafc;
}

.xgc-auth-alert {
  border-radius: 0.75rem;
  box-shadow: 0 12px 30px rgba(220, 53, 69, 0.15);
}

@media (max-width: 767.98px) {
  .xgc-auth-card {
    padding: 1.75rem;
    border-radius: 0.85rem;
  }
}

.xgc-auth-btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-block: 0.9rem;
  box-shadow: 0 20px 45px rgba(30, 130, 76, 0.15);
}

.xgc-auth-btn.btn-success {
  background-color: var(--xgc-primary);
  border-color: var(--xgc-primary);
  color: #e5e7eb;
}

.xgc-auth-btn.btn-success:hover,
.xgc-auth-btn.btn-success:focus {
  background-color: var(--xgc-primary-dark);
  border-color: var(--xgc-primary-dark);
  color: #f8fafc;
}

.xgc-auth-btn.btn-outline-secondary {
  color: #10221d;
  border-color: rgba(16, 34, 29, 0.12);
  box-shadow: 0 16px 40px rgba(16, 34, 29, 0.08);
}

.xgc-auth-btn.btn-outline-secondary:hover {
  background-color: rgba(16, 34, 29, 0.06);
}

.xgc-auth-mobile-brand {
  margin-bottom: 2.5rem;
}

.xgc-auth-mobile-brand .xgc-auth-title {
  margin-top: 1.5rem;
  font-size: 2rem;
}

.xgc-auth-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem clamp(1.5rem, 4vw, 4rem);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.xgc-auth-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.xgc-auth-links .btn {
  border-radius: 999px;
  border-width: 1px;
  padding: 0.5rem 1.5rem;
}

@media (min-width: 992px) {
  .xgc-auth-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 991.98px) {
  .xgc-auth-inner {
    padding-bottom: 8rem;
  }

  .xgc-auth-main {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .xgc-auth-cta {
    max-width: 420px;
  }

  .xgc-auth-btn {
    padding-block: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .xgc-auth-main {
    padding-inline: 1.5rem;
  }

  .xgc-auth-btn {
    width: 100%;
  }

  .xgc-auth-links {
    flex-direction: column;
  }

  .xgc-auth-links .btn {
    width: 100%;
    justify-content: center;
  }
}
