/* ============================= */
/* RESET */
/* ============================= */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #f8f9fa !important;
}
/* Kill ALL background images */
body,
#layoutAuthentication,
.reg-page-wrap,
.reg-right,
[class*="gbsfd"] {
  background-image: none !important;
  background: #f6f8f7 !important;
}

body {
  padding-top: 64px; /* match navbar height */
  font-family: "DM Sans", sans-serif !important;
}
/* 🔥 FORCE REMOVE BACKGROUND IMAGE */
#gbsfd-body-wrap {
  background: #f8f9fa !important;
  background-image: none !important;
}
body::before,
body::after {
  display: none !important;
}
/* remove theme background classes completely */
.gbsfd-bg-main,
.gbsfd-have-bg,
.gbsfd-dashboard-wrap,
.page-5 {
  background: none !important;
  background-image: none !important;
}

/* remove overlay layer */
.gbsfd-have-bg::before,
.gbsfd-have-bg::after,
.page-5::before,
.page-5::after {
  display: none !important;
  content: none !important;
}

/* ============================= */
/* NAVBAR */
/* ============================= */
.custom-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 64px;
  padding: 0 20px;

  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

  z-index: 9999;
}

/* LEFT SIDE */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.brand-sub {
  font-size: 14px;
  color: #9aa3af;
  margin: 0;
  line-height: 1;
}

/* RIGHT WRAPPER (YOUR FIX) */
.nav-right-wrapper {
  margin-left: auto;
  margin-right: 16px;
  display: flex;
  align-items: center;
}

/* RIGHT CONTENT */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-left: auto;
  /* margin-right: 20px;   */
}

.register-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* BUTTON */
.btn-register {
  height: 34px;
  padding: 0 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #2bbbad;
  border-radius: 8px;

  font-size: 16px;
  font-weight: 500;

  background: transparent;
  color: #2bbbad;

  text-decoration: none; /* remove underline */
  cursor: pointer;

  transition: all 0.2s ease;
}

.btn-register:hover {
  background: #2bbbad;
  color: #fff;
  text-decoration: none;
}

.btn-register:active {
  transform: scale(0.96);
}

/* ============================= */
/* LOGIN FORM */
/* ============================= */
.login-type-toggle {
  display: flex;
  background: #f1f3f5;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid #dee2e6;
}

.login-type-toggle .toggle-btn {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
}

.login-type-toggle .toggle-btn.active {
  background: linear-gradient(135deg, #3bb2a3, #4a7bd0);
  color: #fff;
}

.welcome-title {
  font-weight: 700;
  margin-top: 10px;
  color: #1f2d3d;
}

.welcome-sub {
  font-size: 14px;
  color: #8a94a6;
  margin-bottom: 20px;
}

.custom-field {
  border-radius: 12px !important;
  padding: 12px 14px !important;
  border: 1px solid #d6dbe1 !important;
  background: #f8fafc !important;
}

.custom-field:focus {
  border-color: #17a2b8 !important;
  box-shadow: 0 0 0 2px rgba(23, 162, 184, 0.15) !important;
  background: #fff !important;
}

.btn-gradient {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #3bb2a3, #4a7bd0);
}

/* ============================= */
/* TRUST STRIP */
/* ============================= */
.trust-strip {
  text-align: center;
  padding: 20px 10px;
}

.trust-text {
  font-size: 13px;
  color: #6b7280;
}

.trust-highlight {
  font-weight: 600;
  color: #2bbbad;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-badge {
  font-size: 13px;
  background: #f1f5f9;
  padding: 5px 10px;
  border-radius: 20px;
}

/* ============================= */
/* FOOTER */
/* ============================= */
#layoutAuthentication {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#layoutAuthentication_content {
  flex: 1;
}

#layoutAuthentication_footer {
  margin-top: auto;
}

.site-footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: 12px;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.passwordVisibility {
  opacity: 0.6;
  transition: 0.3s;
}

.input-group:focus-within .passwordVisibility {
  opacity: 1;
}

.toggle-eye {
  position: absolute;
  right: 15px;
  top: 50%; /* center vertically */
  transform: translateY(-10%); /* exact alignment */
  cursor: pointer;
  color: #666;
  user-select: none;
}

.toggle-eye:hover {
  color: #000;
}
/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 576px) {
  body {
    padding-top: 60px;
  }

  .custom-navbar {
    height: 60px;
    padding: 0 10px;
  }

  .logo {
    width: 28px;
    height: 28px;
  }

  .brand-sub {
    display: none;
  }

  /* FIX RIGHT SHIFT */
  .nav-right-wrapper {
    padding-right: 10px;
  }

  .register-text {
    display: none;
  }

  /* .btn-register {
        height: 28px;
        font-size: 12px;
        padding: 0 10px;
    } */

  /* Card & form spacing */
  .login-card {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    border-radius: 12px;
  }

  .login-card .card-body {
    padding: 1.5rem 1.25rem !important;
  }

  .login-logo {
    max-width: 160px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .welcome-title {
    font-size: 1.25rem;
  }

  .welcome-sub {
    font-size: 13px;
  }

  .login-type-toggle .toggle-btn {
    font-size: 13px;
    padding: 7px 8px;
  }

  .custom-field {
    padding: 10px 12px !important;
    font-size: 14px;
  }

  .btn-gradient {
    padding: 12px;
    font-size: 15px;
    border-radius: 10px;
  }

  .google-btn {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* Trust strip */
  .trust-strip {
    padding: 15px 10px;
  }

  .trust-text {
    font-size: 12px;
  }

  .trust-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-inner .footer-left,
  .footer-inner .footer-right {
    justify-content: center;
  }

  .footer-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .footer-right a {
    font-size: 12px;
  }

  .footer-sep {
    display: none;
  }
}

/* ============================= */
/* TABLET */
/* ============================= */
@media (min-width: 577px) and (max-width: 992px) {
  .nav-right-wrapper {
    padding-right: 20px;
  }

  /* .btn-register { */
  /* font-size: 12px; */
  /* padding: 0 12px; */
  /* } */

  .login-card .card-body {
    padding: 2rem 1.75rem !important;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 6px;
  }

  .footer-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
}
/* ========================= */
/* SIGN IN BUTTON */
/* ========================= */
.btn-gradient {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px; /* smoother */
  font-size: 16px;
  font-weight: 600;
  color: #fff;

  background: linear-gradient(135deg, #3bb2a3, #4a7bd0);

  box-shadow: 0 6px 14px rgba(74, 123, 208, 0.25);

  transition: all 0.25s ease;
}

.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(74, 123, 208, 0.35);
}

.btn-gradient:active {
  transform: scale(0.98);
}

/* ========================= */
/* DIVIDER */
/* ========================= */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e5e7eb;
}

.divider span {
  padding: 0 12px;
  font-size: 13px;
  color: #9aa3af;
}

/* ========================= */
/* GOOGLE BUTTON */
/* ========================= */
.google-btn {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;

  background: #f8fafc;

  font-size: 14px;
  font-weight: 500;
  color: #4a5568;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  transition: all 0.2s ease;
}

.google-btn img {
  width: 18px;
  height: 18px;
}

.google-btn:hover {
  background: #f1f5f9;
}

/* ========================= */
/* COMING SOON BADGE */
/* ========================= */
.coming-soon {
  font-size: 14px;
  background: #e2e8f0;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}

/* ========================= */
/* REGISTER LINK */
/* ========================= */
.register-link {
  color: #2bbbad;
  font-weight: 500;
  text-decoration: none;
}

.register-link:hover {
  text-decoration: underline;
}
