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

:root {
  --primary: #5b67ff;
  --primary-hover: #4a56de;
  --secondary: #6d28d9;
  --line: #dbeafe;
  --surface: #f3f6ff;
  --surface-soft: #f8fbff;
  --text: #111827;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow: 0 18px 48px -28px rgba(28, 35, 78, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", "Trebuchet MS", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(900px 400px at 10% -5%, #d9e6ff 0%, transparent 58%),
    radial-gradient(900px 300px at 100% -10%, #efe6ff 0%, transparent 60%),
    var(--surface);
}

.site-shell {
  width: min(1200px, 100% - 2rem);
  min-height: 100vh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding: 1rem 0 2.5rem;
}

.site-footer {
  margin-top: auto;
}

.site-content {
  animation: site-fade 180ms ease-out;
}

@keyframes site-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  color: #1d4ed8;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: #1e40af;
}

.container {
  width: min(1200px, 100%);
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 0.75rem;
}

.site-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  padding: 0.55rem 1rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(91, 103, 255, 0.3);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(110deg, var(--primary), var(--secondary));
}

.btn-primary:hover {
  background: linear-gradient(110deg, var(--primary-hover), #5a3db8);
}

.btn-secondary {
  color: #1f2937;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-danger {
  color: #fff;
  background: #dc2626;
  border-color: #dc2626;
}

.btn-danger:hover {
  background: #b91c1c;
}

.btn-success {
  color: #fff;
  background: #16a34a;
  border-color: #16a34a;
}

.btn-success:hover {
  background: #15803d;
}

.btn-outline-primary {
  color: #4338ca;
  background: #eef2ff;
  border-color: #c7d2fe;
}

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

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
}

.form-control,
.form-select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.55rem;
  background-color: #fff;
  padding: 0.55rem 0.75rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.4);
}

.form-group {
  margin-bottom: 0.75rem;
}

.form-inline {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.form-inline .form-control {
  flex: 1;
  min-width: 230px;
}

.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.table thead th {
  background: #f8fafc;
  padding: 0.7rem 0.8rem;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #334155;
  border-bottom: 1px solid var(--line);
}

.table th,
.table td {
  border-bottom: 1px solid #eef2ff;
  padding: 0.75rem 0.8rem;
  vertical-align: top;
}

.table td {
  color: #374151;
}

.table-striped tbody tr:nth-child(even) {
  background: #f8fafc;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #e5e7eb;
}

.table tbody tr:hover {
  background: #f0f5ff;
}

.card {
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.card-header {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.75rem 1rem;
}

.card-body {
  padding: 1rem;
}

.card-title {
  margin: 0;
  font-weight: 600;
}

.list-group {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-group-item {
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  margin-bottom: 0.55rem;
}

.list-group-item-action {
  display: block;
  text-decoration: none;
}

.list-group-item-action:hover {
  background: #eff6ff;
}

.alert {
  padding: 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid;
}

.alert-danger {
  color: #7f1d1d;
  background: #fef2f2;
  border-color: #fecaca;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem;
}

.row > * {
  padding: 0.5rem;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col-md-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

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

.col-md-4 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

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

@media (max-width: 768px) {
  .col-md-6,
  .col-md-4,
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.thead-dark th {
  background: #0f172a;
  color: #fff;
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

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

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

.text-end {
  text-align: right;
}

.d-none {
  display: none;
}

.text-small {
  font-size: 0.9rem;
}

.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

.input-group {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.input-group-append {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

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

.bg-danger {
  background-color: #dc2626 !important;
}

.bg-success {
  background-color: #16a34a !important;
}

.bg-body-tertiary {
  background-color: #f1f5f9 !important;
}

.text-white {
  color: #fff !important;
}

.text-light {
  color: #f8fafc !important;
}

.link-body-emphasis {
  color: var(--text) !important;
}

.no-underline {
  text-decoration: none;
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.rounded {
  border-radius: 0.5rem;
}

.transfer-details p,
.transfer-items li {
  margin-bottom: 0.5rem;
}

.status-badge {
  display: inline-block;
  border-radius: 9999px;
  padding: 0.18rem 0.56rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-confirmed,
.status-done {
  color: #166534;
  background: #dcfce7;
}

.status-not-confirmed,
.status-not-processed,
.status-waiting {
  color: #7c2d12;
  background: #fed7aa;
}

.status-in-progress,
.status-processed {
  color: #1d4ed8;
  background: #dbeafe;
}

.status-deleted,
.status-cancelled {
  color: #7f1d1d;
  background: #fee2e2;
}

.landing-shell {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
  padding-top: 0.35rem;
}

.landing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1.35rem;
  padding: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(130deg, #2735a5 0%, #4a56de 42%, #6d28d9 100%);
  color: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.landing-hero::before,
.landing-hero::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  z-index: -1;
  filter: blur(0);
}

.landing-hero::before {
  width: 180px;
  height: 180px;
  right: -50px;
  top: -45px;
  background: rgb(255 255 255 / 18%);
}

.landing-hero::after {
  width: 240px;
  height: 120px;
  left: 10%;
  bottom: -40px;
  background: rgb(255 255 255 / 12%);
}

.landing-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  opacity: 0.9;
}

.landing-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.15;
  font-weight: 800;
}

.landing-subtitle {
  margin: 0 auto 1rem;
  color: #e5e7ff;
  max-width: 56ch;
}

.landing-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.landing-cta .btn {
  animation: landingFloat 260ms ease both;
}

.landing-hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.landing-chip {
  border: 1px solid rgb(255 255 255 / 32%);
  color: #f8fbff;
  border-radius: 9999px;
  padding: 0.26rem 0.72rem;
  font-size: 0.85rem;
}

.landing-quick-values {
  list-style: none;
  margin: 1.5rem auto 0;
  padding: 0.75rem;
  border-radius: 0.95rem;
  background: rgb(255 255 255 / 20%);
  border: 1px solid rgb(255 255 255 / 26%);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
  max-width: 520px;
}

.landing-quick-values__item {
  background: rgb(255 255 255 / 12%);
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgb(255 255 255 / 20%);
  color: #e2e8ff;
}

.landing-quick-values__item strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
}

.landing-section {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}

.landing-section__title {
  margin: 0 0 0.45rem;
  color: #111827;
  font-weight: 800;
  font-size: 1.25rem;
}

.landing-section__text {
  margin: 0;
  color: #334155;
}

.landing-section__text + * {
  margin-top: 0.9rem;
}

.landing-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.landing-card,
.landing-support-card {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #f8fbff;
  padding: 0.9rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.landing-card:hover,
.landing-support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -22px rgba(30, 41, 59, 0.55);
}

.landing-card__icon {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.landing-card__title,
.landing-support-card {
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: #1e293b;
}

.landing-card p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
}

.landing-steps {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.6rem;
}

.landing-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem;
  background: #fff;
}

.landing-step__num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
}

.landing-step h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  color: #111827;
}

.landing-step p {
  margin: 0;
  color: #475569;
}

.landing-list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: #334155;
  display: grid;
  gap: 0.55rem;
}

.landing-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
}

.landing-contact {
  border-radius: 0.9rem;
  border: 1px solid #dbeafe;
  background: linear-gradient(160deg, #eef2ff, #faf8ff);
  padding: 1rem;
}

.landing-contact h3 {
  margin: 0;
  color: #111827;
  font-size: 1.1rem;
}

.landing-contact p {
  margin: 0.45rem 0 0.7rem;
  color: #334155;
}

.landing-contact__cta .btn {
  width: 100%;
  justify-content: center;
}

.landing-support-card {
  text-decoration: none;
  color: #1d4ed8;
  display: block;
  background: #f8fafc;
}

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

.landing-center {
  font-weight: 600;
  color: #374151;
}

@keyframes landingFloat {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .landing-hero,
  .landing-split {
    grid-template-columns: 1fr;
  }

  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-quick-values {
    align-self: stretch;
  }
}
