/* Modern login page refinements for SalesPort */
body.nk-body.ui-rounder.npc-default.pg-auth.no-touch.nk-nio-theme.ui-softy {
  background: radial-gradient(circle at top left, rgba(95,102,255,0.18) 0%, transparent 30%),
              radial-gradient(circle at bottom right, rgba(47,163,255,0.14) 0%, transparent 24%)!important;
    /* background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.20), transparent 28%), radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.18), transparent 32%), linear-gradient(180deg, #09153a 0%, #09153a 100%); */
  min-height: 100vh;
}
.nk-app-root {
  position: relative;
  z-index: 1;
}
.nk-app-root::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 25%),
              radial-gradient(circle at 85% 15%, rgba(255,255,255,0.08), transparent 18%),
              radial-gradient(circle at 50% 85%, rgba(79,99,255,0.08), transparent 20%);
  opacity: 0.85;
}
.nk-auth-body {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.brand-logo .logo-img {
  max-width: 175px;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.18));
}
.card.card-bordered {
  border: none;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 90px rgba(4, 23, 82, 0.18);
  overflow: hidden;
}
.card-inner.card-inner-lg {
  padding: 3rem 2.25rem;
}
.nk-block-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #101f47;
}
.nk-block-des p {
  color: #5d6f96;
  font-size: 0.95rem;
}
.form-label-group .form-label,
.form-group label.form-label {
  color: #22305f;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.form-control {
  border-radius: 16px;
  border: 1px solid rgba(125, 137, 178, 0.32);
  background: #fbfcff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}
.form-control:focus {
  border-color: #5f6cff;
  box-shadow: 0 0 0 0.2rem rgba(95, 108, 255, 0.18);
}
.form-control::placeholder {
  color: #9aa4c3;
}
.form-icon.form-icon-right.passcode-switch {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.form-icon .passcode-icon {
  color: #5f6cff;
}
.btn.btn-lg.btn-primary.btn-block {
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #5561ff 0%, #6d79ff 100%);
  border: none;
  box-shadow: 0 18px 35px rgba(85, 97, 255, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn.btn-lg.btn-primary.btn-block:hover,
.btn.btn-lg.btn-primary.btn-block:focus {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(85, 97, 255, 0.26);
}
.text-center.p-2.text-uppercase a,
.form-note-s2 a,
.link.link-primary.link-sm {
  color: #4b60ff;
  font-weight: 600;
}

.alert.alert-danger.err {
  display: none;
  border-radius: 16px;
  background: #fff2f2;
  border: 1px solid #ffbfc0;
  color: #9f2c33;
  margin-bottom: 1.25rem;
}
.nk-footer {
  background: transparent;
  border-top: none;
}
.nk-footer .nk-footer-wrap {
  justify-content: center;
}
.nk-footer-copyright {
  color: rgba(18, 28, 61, 0.75);
}
@media (max-width: 575px) {
  .card-inner.card-inner-lg {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================
   Terms & Agreement Styles (No Tailwind CSS)
   ========================================== */

.terms-page-container {
  min-height: 100vh;
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .terms-page-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.terms-max-container {
  max-width: 72rem; /* 6xl */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.terms-card {
  background-color: #ffffff;
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(4, 23, 82, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 800px;
  position: relative;
}

@media (min-width: 768px) {
  .terms-card {
    flex-direction: row;
  }
}

.terms-decor-circle {
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 16rem;
  height: 16rem;
  opacity: 0.03;
  pointer-events: none;
  color: #5f6cff;
}

.terms-sidebar {
  width: 100%;
  background-color: #fbfcfe;
  border-bottom: 1px solid #f1f5f9;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .terms-sidebar {
    width: 320px;
    border-bottom: none;
    border-right: 1px solid #f1f5f9;
  }
}

.terms-logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.terms-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: rgba(95, 108, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6cff;
}

.terms-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #101f47;
  font-size: 1.125rem;
}

.terms-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  max-height: 40vh;
  padding-right: 0.5rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .terms-nav {
    max-height: 70vh;
  }
}

/* Custom Scrollbar */
.terms-nav::-webkit-scrollbar,
.terms-content::-webkit-scrollbar {
  width: 4px;
}
.terms-nav::-webkit-scrollbar-track,
.terms-content::-webkit-scrollbar-track {
  background: transparent;
}
.terms-nav::-webkit-scrollbar-thumb,
.terms-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.terms-nav-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(16, 31, 71, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.terms-nav-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  color: #5d6f96;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.terms-nav-item:hover {
  background-color: #f8fafc;
  color: #101f47;
  text-decoration: none;
}

.terms-nav-item.terms-nav-item--active {
  background-color: #f0f2ff;
  color: #5f6cff;
  font-weight: 600;
}

.terms-nav-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #cbd5e1;
  margin-right: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.terms-nav-item:hover .terms-nav-bullet {
  opacity: 1;
}

.terms-nav-item.terms-nav-item--active .terms-nav-bullet {
  background-color: #5f6cff;
  opacity: 1;
}

.terms-sidebar-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.terms-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #5f6cff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.terms-back-link:hover {
  transform: translateX(-4px);
  color: #5561ff;
  text-decoration: none;
}

.terms-content {
  flex: 1;
  padding: 1.5rem;
  max-height: none;
  overflow-y: visible;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .terms-content {
    padding: 3rem;
    max-height: 85vh;
    overflow-y: auto;
    scroll-behavior: smooth;
  }
}

@media (min-width: 1024px) {
  .terms-content {
    padding: 4rem 3.5rem;
    padding-right: 3.5rem;
  }
}

.terms-header {
  margin-bottom: 3rem;
}

.terms-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: #f0f2ff;
  color: #5f6cff;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.terms-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: #101f47;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .terms-title {
    font-size: 2.25rem;
  }
}

.terms-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #5d6f96;
}

.terms-meta-date {
  background-color: #f0f2ff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  color: #5f6cff;
  font-weight: 600;
}

.terms-intro {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #5d6f96;
  line-height: 1.625;
}

.terms-sections-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.terms-section {
  scroll-margin-top: 1.5rem;
}

.terms-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #22305f;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #e2e8f0;
}

.terms-definitions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.terms-definition-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .terms-definition-item {
    flex-direction: row;
    gap: 1rem;
  }
}

.terms-definition-term {
  font-weight: 700;
  color: #101f47;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .terms-definition-term {
    min-width: 120px;
  }
}

.terms-definition-desc {
  font-size: 0.875rem;
  color: #5d6f96;
}

.terms-prohibitions-card {
  background-color: #f8fafc;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #f1f5f9;
  margin-top: 1rem;
}

.terms-prohibitions-title {
  font-weight: 700;
  font-size: 0.75rem;
  color: #101f47;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.terms-bullets {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 0;
  margin: 0;
}

.terms-bullets li {
  font-size: 0.875rem;
  color: #5d6f96;
  margin-bottom: 0.375rem;
}

.terms-bullets li:last-child {
  margin-bottom: 0;
}

.terms-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .terms-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.terms-grid-card {
  padding: 1rem;
  background-color: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
}

.terms-grid-card--accent {
  border-color: #e0e7ff;
  background-color: rgba(240, 242, 255, 0.3);
}

.terms-card-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #101f47;
  margin-bottom: 0.25rem;
}

.terms-grid-card--accent .terms-card-title {
  color: #5f6cff;
}

.terms-card-desc {
  font-size: 0.75rem;
  color: #5d6f96;
  line-height: 1.5;
}

.terms-icon-list-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}

.terms-icon-list-item:last-child {
  margin-bottom: 0;
}

.terms-check-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: #f0fdf4;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.terms-check-icon i {
  font-size: 0.75rem;
}

.terms-liability-card {
  background-color: rgba(254, 242, 242, 0.2);
  border: 1px solid #fee2e2;
  border-radius: 20px;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .terms-liability-card {
    padding: 2rem;
  }
}

.terms-liability-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #7f1d1d;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.terms-liability-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #450a0a;
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.625;
}

.terms-liability-text p {
  margin: 0;
}

.terms-contact-card {
  padding: 1rem;
  border-radius: 1rem;
  background-color: rgba(240, 242, 255, 0.3);
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.terms-contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6cff;
  flex-shrink: 0;
}

.terms-contact-label {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.125rem;
}

.terms-contact-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #101f47;
}

.terms-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .terms-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.terms-footer-brand-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.terms-footer-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #101f47;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
}

.terms-footer-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #101f47;
  font-size: 0.875rem;
}

.terms-footer-copy {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  margin-top: 0.125rem;
}

.terms-footer-links {
  display: flex;
  gap: 1rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.terms-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.terms-footer-links a:hover {
  color: #5f6cff;
}

.dark-mode .card.card-bordered{
  background: #141c26;
}

.dark-mode .nk-footer{
  background: transparent;

}

.dark-mode .nk-footer-copyright{
  color: #5f6f84;
}

