/* White label Loan Mate Hub home design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700;800&display=swap');

.wl-portal {
  --wl-primary: #22c55e;
  --wl-secondary: #1a1d29;
  --wl-header-bg: var(--wl-secondary);
  --wl-header-text: #ffffff;
  --wl-section-title: var(--wl-secondary);
  --wl-bg-lender: #f5f6f8;
  --wl-bg-welcome: #ffffff;
  --wl-bg-services: var(--wl-secondary);
  --wl-bg-why: #ffffff;
  --wl-bg-contact: var(--wl-primary);
  --wl-bg-contact-info: var(--wl-secondary);
  --wl-bg-footer: #ffffff;
  --wl-title-lender: var(--wl-section-title);
  --wl-title-welcome: var(--wl-section-title);
  --wl-title-services: #ffffff;
  --wl-title-why: var(--wl-section-title);
  --wl-title-contact: var(--wl-section-title);
  --wl-title-contact-info: #ffffff;
  --wl-primary-rgb: 34, 197, 94;
  --wl-secondary-rgb: 26, 29, 41;
  --wl-accent: #e8f7ee;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--wl-secondary);
}

.wl-portal h1,
.wl-portal h2,
.wl-portal h3,
.wl-portal h4,
.wl-portal h5 {
  font-family: 'Poppins', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.wl-portal input[type=range] {
  accent-color: var(--wl-primary);
}

.wl-text-primary {
  color: var(--wl-primary) !important;
}

/* Top bar */
.wl-portal header,
.wl-portal #top-nav-fixed,
.wl-portal .wl-site-header {
  display: block !important;
  width: 100%;
  background: var(--wl-header-bg) !important;
  box-shadow: none;
}

.wl-portal .wl-top-bar {
  width: 100%;
  background: var(--wl-header-bg);
  color: var(--wl-header-text);
  font-size: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--wl-header-text) 12%, transparent);
}

.wl-portal .wl-header-nav {
  width: 100%;
  background: var(--wl-header-bg);
}

.wl-top-bar {
  background: var(--wl-header-bg);
  color: var(--wl-header-text);
  font-size: 12px;
}

.wl-top-bar .wl-top-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.wl-top-bar .wl-top-inner > li {
  list-style: none;
}

.wl-top-bar a,
.wl-top-bar .wl-top-item {
  color: var(--wl-header-text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wl-top-bar a:hover {
  color: var(--wl-primary);
}

.wl-top-bar .dropdown-menu a,
.wl-top-bar .dropdown-menu .dropdown-item {
  color: #1a1d29;
  display: block;
}

.wl-top-bar .dropdown-menu a:hover,
.wl-top-bar .dropdown-menu .dropdown-item:hover {
  color: var(--wl-secondary);
  background: var(--wl-accent);
}

/* Navigation */
.wl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
}

.wl-nav--overlay {
  position: relative;
  z-index: 10;
}

.wl-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--wl-header-text);
}

.wl-logo img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.wl-logo-badge {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: var(--wl-primary);
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--wl-secondary);
  font-size: 14px;
}

.wl-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.wl-logo-text .wl-logo-title {
  font-size: 14px;
  color: var(--wl-header-text);
}

.wl-logo-text .wl-logo-sub {
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.wl-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 24px;
}

.wl-menu > li {
  position: relative;
}

.wl-menu a.nav-link {
  color: var(--wl-header-text);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: none;
  border: none;
}

.wl-menu a.nav-link:hover,
.wl-menu a.nav-link:focus {
  color: var(--wl-primary);
}

.wl-menu .dropdown-menu {
  background: #fff;
  border: 1px solid #e7e8ec;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-top: 8px;
}

.wl-menu .dropdown-item {
  font-size: 14px;
  padding: 8px 16px;
}

.wl-menu .dropdown-item:hover {
  background: var(--wl-accent);
  color: var(--wl-secondary);
}

.wl-btn-primary {
  display: inline-block;
  background: var(--wl-primary);
  color: var(--wl-button-text) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  transition: all 0.3s;
}

.wl-btn-primary:hover {
  filter: brightness(0.92);
  color: var(--wl-button-text) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.wl-nav-toggle {
  display: flex;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--wl-header-text) 40%, transparent);
  border-radius: 6px;
  padding: 6px 10px;
  color: var(--wl-header-text);
}

.wl-nav--solid {
  background: var(--wl-header-bg);
  padding: 12px 0;
}

.wl-header-nav {
  padding: 12px 0;
}

.wl-header-nav .wl-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.wl-nav--solid .wl-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 992px) {
  .wl-menu {
    display: flex;
  }

  .wl-nav-toggle {
    display: none;
  }
}

.wl-mobile-menu {
  display: none;
  background: var(--wl-header-bg);
  padding: 16px;
  border-top: 1px solid color-mix(in srgb, var(--wl-header-text) 12%, transparent);
}

.wl-mobile-menu.show {
  display: block;
}

.wl-mobile-menu a {
  display: block;
  color: var(--wl-header-text);
  padding: 10px 0;
  text-decoration: none;
  font-size: 14px;
}

.wl-mobile-menu a:hover {
  color: var(--wl-primary);
}

.wl-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero */
.wl-hero {
  position: relative;
  overflow: hidden;
}

.wl-hero-bg {
  position: absolute;
  inset: 0;
}

.wl-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(var(--wl-secondary-rgb), 0.95),
    rgba(var(--wl-secondary-rgb), 0.7),
    rgba(var(--wl-secondary-rgb), 0.1)
  );
}

.wl-hero-content {
  position: relative;
  z-index: 2;
}

.wl-hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0;
}

.wl-hero-title span {
  color: var(--wl-primary);
}

.wl-loan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 420px;
  margin-top: 32px;
  list-style: none;
  padding: 0;
}

.wl-loan-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--wl-secondary);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  cursor: pointer;
}

.wl-loan-btn i {
  color: var(--wl-primary);
  font-size: 16px;
}

.wl-loan-btn:hover,
.wl-loan-btn.selected {
  background: var(--wl-primary);
  color: var(--wl-button-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.wl-loan-btn.selected i,
.wl-loan-btn:hover i {
  color: var(--wl-button-text);
}

.wl-amount-wrap {
  max-width: 420px;
  margin-top: 32px;
}

.wl-amount-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 14px;
  margin-bottom: 8px;
}

.wl-amount-display {
  background: #fff;
  color: var(--wl-secondary);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
}

.wl-amount-wrap input[type=range] {
  width: 100%;
  accent-color: var(--wl-slider-thumb, var(--wl-primary));
}

.wl-amount-wrap .slider::-webkit-slider-thumb {
  background: var(--wl-slider-thumb, var(--wl-primary));
  border: 2px solid #fff;
}

.wl-amount-wrap .slider::-moz-range-thumb {
  background: var(--wl-slider-thumb, var(--wl-primary));
  border: 2px solid #fff;
}

.wl-hero-body {
  padding: 40px 0 80px;
}

/* Sections */
.wl-section-muted {
  background: #f5f6f8;
  padding: 48px 0;
}

.wl-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--wl-title-lender, var(--wl-section-title));
}

.wl-section-title span {
  color: inherit;
}

.wl-portal .wl-lender-panel {
  background: var(--wl-bg-lender);
  padding: 48px 0 40px;
  position: relative;
}

.wl-portal .wl-lender-panel:after {
  content: '';
  background: linear-gradient(to right top, var(--wl-bg-lender) 49.5%, transparent 50%);
  width: 100%;
  position: absolute;
  right: 0;
  top: -70px;
  z-index: 2;
  height: 70px;
}

.wl-portal .wl-lender-panel .lender-img {
  background: #fff;
  border: 1px solid #e7e8ec;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.wl-portal .wl-lender-panel .lender-img img {
  max-height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.wl-portal .wl-lender-panel #slide-section .slide {
  display: inline-block;
  max-width: 128px !important;
  padding: 15px 0;
}

.wl-portal .wl-lender-panel #slide-section {
  overflow: hidden;
}

.wl-welcome {
  padding: 80px 0;
  background: var(--wl-bg-welcome);
}

.wl-welcome-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .wl-welcome-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wl-img-frame {
  position: relative;
}

.wl-img-frame::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 96px;
  height: 96px;
  border-left: 4px solid var(--wl-primary);
  border-top: 4px solid var(--wl-primary);
}

.wl-img-frame::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 96px;
  height: 96px;
  border-right: 4px solid var(--wl-primary);
  border-bottom: 4px solid var(--wl-primary);
}

.wl-img-frame img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

.wl-title-lg {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--wl-section-title);
}

.wl-title-lg span,
.wl-title-lg .wl-text-primary {
  color: inherit;
}

.wl-title-underline {
  width: 80px;
  height: 4px;
  background: var(--wl-primary);
  border-radius: 4px;
  margin-top: 12px;
}

.wl-text-muted {
  color: #6b7280;
  line-height: 1.7;
  margin-top: 24px;
}

.wl-services {
  background: var(--wl-bg-services);
  color: #fff;
  padding: 80px 0;
  position: relative;
}

.wl-services-header {
  text-align: center;
  margin-bottom: 48px;
}

.wl-services-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 576px) {
  .wl-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .wl-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wl-service-card {
  background: #fff;
  color: var(--wl-secondary);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.wl-service-card:hover {
  transform: translateY(-4px);
}

.wl-service-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  transition: transform 0.5s;
}

.wl-service-card:hover img {
  transform: scale(1.05);
}

.wl-service-card-body {
  padding: 20px;
}

.wl-service-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wl-service-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}

.wl-know-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--wl-primary);
  text-decoration: none;
}

.wl-know-more:hover {
  text-decoration: underline;
  filter: brightness(0.92);
}

.wl-why {
  padding: 80px 0;
  background: var(--wl-bg-why);
}

.wl-why-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 992px) {
  .wl-why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wl-why-img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-top: 32px;
  object-fit: cover;
}

.wl-features {
  display: grid;
  gap: 32px;
}

@media (min-width: 576px) {
  .wl-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wl-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wl-primary);
  color: var(--wl-secondary);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
  transition: transform 0.3s;
}

.wl-feature:hover .wl-feature-icon {
  transform: scale(1.1) rotate(6deg);
}

.wl-feature h3 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
}

.wl-feature p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-top: 4px;
}

.wl-cta {
  background: var(--wl-accent);
  padding: 40px 0;
}

.wl-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 576px) {
  .wl-cta-inner {
    flex-direction: row;
    align-items: center;
  }
}

.wl-cta-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--wl-secondary);
  margin: 0;
}

/* Contact */
.wl-contact {
  background: var(--wl-bg-contact);
  color: var(--wl-secondary);
  padding: 64px 0;
}

.wl-contact-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 992px) {
  .wl-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.wl-contact-form input,
.wl-contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(26, 29, 41, 0.4);
  outline: none;
  padding: 8px 0;
  color: var(--wl-secondary);
  margin-bottom: 16px;
}

.wl-contact-form input::placeholder,
.wl-contact-form textarea::placeholder {
  color: rgba(26, 29, 41, 0.7);
}

.wl-contact-form input:focus,
.wl-contact-form textarea:focus {
  border-bottom-color: var(--wl-secondary);
}

.wl-btn-secondary {
  display: inline-block;
  background: var(--wl-secondary);
  color: var(--wl-button-text, #fff) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 6px;
  border: none;
  transition: all 0.3s;
}

.wl-btn-secondary:hover {
  background: #2d3142;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.wl-contact-info {
  background: var(--wl-bg-contact-info);
  color: #fff;
  border-radius: 6px;
  padding: 32px;
}

.wl-contact-info h3 span {
  color: inherit;
}

.wl-contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.wl-contact-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
}

.wl-contact-list .wl-ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wl-primary);
  color: var(--wl-secondary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wl-contact-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.wl-contact-list a:hover {
  color: var(--wl-primary);
}

/* Footer */
.wl-footer {
  background: #fff;
  border-top: 1px solid #e7e8ec;
  padding: 40px 0;
  text-align: center;
}

.wl-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.wl-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wl-secondary);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all 0.3s;
}

.wl-social a:hover {
  background: var(--wl-primary);
  color: var(--wl-secondary);
  transform: translateY(-4px) rotate(6deg);
}

.wl-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.wl-footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--wl-secondary);
  text-decoration: none;
}

.wl-footer-links a:hover {
  color: var(--wl-primary);
}

.wl-footer-copy {
  font-size: 14px;
  color: #6b7280;
}

.wl-footer-disclaimer {
  max-width: 900px;
  margin: 12px auto 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
}

/* Restore normal cursor on white label pages (default-1.css hides it) */
.wl-portal,
.wl-portal .home-page-cursor {
  cursor: auto !important;
}

.wl-portal a,
.wl-portal button,
.wl-portal [type="button"],
.wl-portal [type="submit"],
.wl-portal .wl-loan-btn,
.wl-portal input[type="range"],
.wl-portal select,
.wl-portal label {
  cursor: pointer !important;
}

.wl-portal input[type="text"],
.wl-portal input[type="email"],
.wl-portal input[type="tel"],
.wl-portal textarea {
  cursor: text !important;
}

.wl-portal .cursor {
  display: none !important;
}

.wl-portal .home-page-cursor {
  overflow-x: hidden;
}

/* Header — consistent dark bar on all white label pages */
.wl-portal #top-nav-fixed {
  position: relative;
  z-index: 1000;
}

.wl-portal #top-nav-fixed.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--wl-header-bg) !important;
}

.wl-portal header.sticky {
  background: var(--wl-header-bg) !important;
}

.wl-portal .wl-top-bar .notification-wrap .notification-icon,
.wl-portal .wl-top-bar .top-nav .nav-link {
  color: var(--wl-header-text) !important;
}

.wl-portal .wl-top-bar .dropdown-menu {
  font-size: 13px;
  background: #fff !important;
  min-width: 180px;
  padding: 8px 0;
  z-index: 1050;
}

.wl-portal .wl-top-bar .dropdown-menu .dropdown-item {
  color: #1a1d29 !important;
  padding: 8px 16px;
  white-space: nowrap;
}

.wl-portal .wl-top-bar .dropdown-menu .dropdown-item:hover {
  background: var(--wl-accent) !important;
  color: var(--wl-secondary) !important;
}
