@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --surface: #ffffff;
  --page: #f4f7fb;
  --ink: #102033;
  --muted: #617083;
  --line: #dce5ef;
  --primary: #1479bd;
  --primary-dark: #126198;
  --success: #12805c;
  --danger: #c8324c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(34, 152, 223, 0.10), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, var(--page) 44%, #eef3f8 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.nav-link-pill {
  border-radius: 0.5rem;
  color: #475569;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  padding: 0.55rem 0.85rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-link-pill:hover,
.nav-link-pill.is-active {
  background: #eaf5ff;
  color: var(--primary-dark);
}

.mobile-nav-link {
  border-radius: 0.625rem;
  color: #334155;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.8rem 0.9rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  background: #eaf5ff;
  color: var(--primary-dark);
}

.app-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(220, 229, 239, 0.9);
  border-radius: 0.75rem;
  box-shadow: 0 18px 45px rgba(16, 32, 51, 0.08);
}

.app-panel-title {
  color: #0f172a;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.app-muted {
  color: var(--muted);
}

.legal-document {
  color: #334155;
}

.legal-document h2 {
  color: #0f172a;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.legal-document h3 {
  color: #1e293b;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  margin-top: 1.25rem;
}

.legal-document p {
  color: #475569;
  line-height: 1.75;
}

.legal-document ul {
  color: #475569;
  display: grid;
  gap: 0.6rem;
  line-height: 1.65;
  list-style: disc;
  margin-top: 0.8rem;
  padding-left: 1.25rem;
}

.legal-document section {
  scroll-margin-top: 7rem;
}

.legal-contact-link {
  align-items: center;
  background: #fff;
  border: 1px solid #bce4ff;
  border-radius: 0.5rem;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 800;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
}

.legal-contact-link:hover {
  background: #eef8ff;
}

.log-json {
  background: #0f172a;
  color: #dbeafe;
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 0;
  max-height: 22rem;
  overflow: auto;
  padding: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.btn-primary,
.btn-outline-primary,
.btn-light,
.btn {
  align-items: center;
  border-radius: 0.5rem;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid #9ccbed;
  color: var(--primary-dark);
}

.btn-outline-primary:hover {
  background: #eaf5ff;
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.form-control,
input[type="email"],
input[type="password"],
input[type="text"],
select,
textarea {
  background: #fff;
  border: 1px solid #cfd9e6;
  border-radius: 0.5rem;
  color: var(--ink);
  min-height: 2.75rem;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: #58b8f7;
  box-shadow: 0 0 0 3px rgba(34, 152, 223, 0.16);
  outline: none;
}

.g-recaptcha {
  max-width: 100%;
  overflow: hidden;
  transform-origin: left center;
}

/* Small compatibility layer for templates that still use Bootstrap naming. */
.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 72rem;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  width: 100%;
}

.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.fw-bold {
  font-weight: 800;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.display-4 {
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(220, 229, 239, 0.9);
  border-radius: 0.75rem;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.07);
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
}

.shadow-sm {
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.08);
}

.border-0 {
  border: 0;
}

.rounded,
.rounded-pill {
  border-radius: 0.5rem;
}

.rounded-circle {
  border-radius: 999px;
}

.img-fluid {
  display: block;
  height: auto;
  max-width: 100%;
}

.bg-light {
  background: #edf5fb;
}

.bg-primary {
  background: var(--primary);
}

.text-primary {
  color: var(--primary);
}

.text-success {
  color: var(--success);
}

.text-warning {
  color: #b7791f;
}

.text-secondary,
.text-muted {
  color: var(--muted);
}

.text-white {
  color: #fff;
}

.d-flex {
  display: flex;
}

.d-inline-flex {
  display: inline-flex;
}

.d-grid {
  display: grid;
}

.gap-3 {
  gap: 0.75rem;
}

.g-4 {
  row-gap: 1.5rem;
}

.py-5 {
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.py-4 {
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-lg-0 {
  margin-top: 0;
}

.me-2 {
  margin-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn-lg {
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
}

.form-label {
  color: #334155;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.list-group {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
}

.list-group-item {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1rem;
}

.list-group-item:last-child {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 420px) {
  .g-recaptcha {
    transform: scale(0.86);
  }
}
