:root {
  --bg-soft: #f4f6f9;
  --card-radius: 0.75rem;
  --tp-blue: #21448a;
  --tp-ink: #0f172a;
  --tp-sky: #eef5ff;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 0% 0%, #e7f0ff 0, #f4f6f9 38%) fixed;
}

h1, h2, h3, h4, .brand-text {
  font-family: "Sora", "Manrope", sans-serif;
}

.content-wrapper {
  background: transparent;
}

.main-sidebar {
  background: linear-gradient(180deg, #1f2d3d 0%, #17212b 100%);
}

.main-sidebar .brand-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-sidebar .nav-sidebar .nav-link.active {
  background: #0d6efd;
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.35);
}

.main-sidebar .nav-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.main-header.navbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.main-footer {
  background: #fff;
  border-top: 1px solid #dee2e6;
}

.card {
  border-radius: var(--card-radius);
  box-shadow: 0 10px 24px rgba(31, 45, 61, 0.08);
  border: 1px solid rgba(31, 45, 61, 0.1);
}

.card .card-header {
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
}

.dashboard-hero {
  background: linear-gradient(120deg, #ffffff 0%, #f2f7ff 100%);
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.dashboard-hero .display-5 {
  font-weight: 700;
}

.content-header h1 {
  font-weight: 700;
}

pre {
  max-height: 260px;
  overflow: auto;
}

body.guest-layout {
  background: linear-gradient(145deg, #eef3fb 0%, #dfe7f2 45%, #edf3fb 100%) fixed;
}

body.guest-layout .main-header,
body.guest-layout .main-footer {
  margin-left: 0 !important;
}

body.guest-layout .main-sidebar {
  display: none !important;
}

.guest-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(26, 41, 68, 0.12);
}

.guest-brand-logo {
  height: 34px;
  width: auto;
}

.guest-brand-app {
  margin-left: 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #18366f;
  letter-spacing: 0.3px;
}

.guest-nav {
  margin-left: 0.8rem;
}

.guest-nav-link {
  color: #1f3f7f !important;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2px;
}

.guest-nav-link:hover {
  color: #0b63f3 !important;
}

.guest-content-wrapper {
  min-height: calc(100vh - 114px);
  padding-top: 0.25rem;
}

.guest-footer {
  background: transparent;
  border-top: 0;
  text-align: center;
  color: #57657a;
}

.auth-page {
  min-height: calc(100vh - 220px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  border-radius: 0.5rem;
}

.auth-card .card-header {
  border-top: 3px solid #007bff;
  border-radius: 0.5rem 0.5rem 0 0;
}

.auth-title {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.auth-card .login-box-msg {
  color: #49586f;
}

.auth-card .input-group-text {
  min-width: 42px;
  justify-content: center;
}

.dashboard-hero {
  padding: 2.5rem 2rem;
}

.dashboard-hero .display-5 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
}

@media (max-width: 991.98px) {
  .dashboard-hero .display-5 {
    font-size: 2.2rem;
  }

  .guest-brand-app {
    display: none;
  }
}

.tp-landing {
  max-width: 1260px;
  margin: 0 auto;
}

.tp-hero {
  background: linear-gradient(130deg, #ffffff 0%, #f4f8ff 48%, #ebf2ff 100%);
  border: 1px solid rgba(33, 68, 138, 0.2);
  border-radius: 1.25rem;
  box-shadow: 0 18px 44px rgba(21, 46, 95, 0.12);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.tp-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 68, 138, 0.15) 0%, rgba(33, 68, 138, 0) 72%);
}

.tp-kicker {
  display: inline-block;
  background: rgba(33, 68, 138, 0.08);
  color: #21448a;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.tp-title {
  color: var(--tp-ink);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 0.9rem;
}

.tp-subtitle {
  color: #334155;
  font-size: 1.08rem;
  max-width: 46ch;
}

.tp-logo {
  max-width: 360px;
  width: 100%;
  height: auto;
}

.tp-hero-image {
  max-width: 420px;
  border-radius: 1rem;
  box-shadow: 0 18px 42px rgba(17, 37, 74, 0.18);
}

.tp-info-card {
  background: #fff;
  border: 1px solid rgba(33, 68, 138, 0.16);
  border-radius: 1rem;
  padding: 1.2rem 1.1rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.tp-info-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
  color: #0f2e67;
}

.tp-info-card p {
  margin-bottom: 0;
  color: #334155;
}

.tp-section-title h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #142a57;
}

.tp-section-title p {
  margin-bottom: 1rem;
  color: #64748b;
}

.tp-platform {
  background: linear-gradient(145deg, #ffffff, #f6f9ff);
  border: 1px solid rgba(33, 68, 138, 0.18);
  border-radius: 0.9rem;
  text-align: center;
  font-weight: 700;
  color: #204182;
  padding: 0.9rem 0.65rem;
  box-shadow: 0 8px 18px rgba(17, 37, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tp-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.14rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.25px;
}

.tp-badge-live {
  background: rgba(40, 167, 69, 0.14);
  color: #1e7e34;
  border: 1px solid rgba(40, 167, 69, 0.25);
}

.tp-badge-planned {
  background: rgba(255, 193, 7, 0.16);
  color: #875f00;
  border: 1px solid rgba(255, 193, 7, 0.32);
}

.tp-badge-custom {
  background: rgba(0, 123, 255, 0.12);
  color: #0f53b8;
  border: 1px solid rgba(0, 123, 255, 0.24);
}

.tp-step {
  background: #fff;
  border: 1px solid rgba(33, 68, 138, 0.16);
  border-radius: 1rem;
  padding: 1rem;
}

.tp-step span {
  display: inline-block;
  background: #21448a;
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.tp-step h4 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  color: #123066;
}

.tp-step p {
  margin-bottom: 0;
  color: #475569;
  font-size: 0.95rem;
}

.tp-contact {
  background: linear-gradient(130deg, #11306c 0%, #1b478f 100%);
  color: #fff;
  border-radius: 1rem;
  padding: 1.35rem 1.2rem;
  box-shadow: 0 16px 38px rgba(9, 23, 51, 0.24);
}

.tp-contact h3 {
  color: #fff;
  margin-bottom: 0.45rem;
}

.tp-contact-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.8rem;
  padding: 0.8rem;
}

.tp-contact-box > div {
  margin-bottom: 0.42rem;
}

.tp-contact-box > div:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .tp-hero {
    padding: 1.3rem;
  }

  .tp-title {
    font-size: 2rem;
  }
}
