/*
  NOTE: Team convention — place all future CSS in this file.
  Do not add <style> blocks or inline styles in Blade views; centralize here.
*/
/* Base layout and color palette */
:root {
  --navy-900: #121a2a;
  --navy-800: #1c273a;
  --navy-700: #25354d;
  --border: #2f3b52;
  --text: #c9d1e5;
  --text-muted: #a8b3c7;
  --blue: #4ea3ff;
  --blue-400: #93c5fd;
  --green: #18c47f;
  --blue-btn: #3a6ff7;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Header (already implemented) */
.site-header { border-bottom: 1px solid var(--border); background: var(--navy-900); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; background: var(--navy-800); }
.topbar-left { display: flex; align-items: center; gap: 14px; }
.icon-button { background: transparent; border: none; color: var(--text); font-size: 18px; cursor: pointer; }
.topnav a { color: var(--text-muted); text-decoration: none; margin-right: 16px; font-size: 13px; }
.topbar-right a { color: var(--text-muted); text-decoration: none; margin-left: 16px; font-size: 13px; }
.brandbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: var(--navy-800); border-top: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 18px; height: 18px; border-radius: 3px; background: linear-gradient(135deg,#ff5858,#ffc371); display: inline-block; }
.logo-text { font-weight: 800; letter-spacing: 0.5px; }
.brand-actions { display: flex; align-items: center; gap: 10px; }
.btn { padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.btn-green { background: var(--green); color: #0b111f; }
.btn-blue { background: var(--blue-btn); color: #fff; }

/* User dropdown menu in header (click-to-open) */
.topbar-right { display: flex; align-items: center; }
.topbar-right .user-menu { position: relative; margin-left: 16px; }
.topbar-right form { margin-left: 16px; }
/* Remove default summary marker */
.user-menu > summary { list-style: none; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.user-trigger .caret { color: var(--text-muted); font-size: 12px; transition: transform .15s ease; }
.user-menu[open] .user-trigger .caret { transform: rotate(180deg); }
.user-dropdown { position: absolute; top: 28px; right: 0; min-width: 220px; background: var(--navy-800); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(2,6,23,0.35); padding: 10px; display: none; z-index: 20; }
.user-menu[open] .user-dropdown { display: block; }
.menu-link { display: block; color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.menu-link:hover { background: var(--navy-700); color: #fff; }


/* Hero banner */
.hero { padding: 24px 0; min-height: 360px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: flex-start; gap: 28px; }
.hero-left { flex: 1 1 680px; }
.hero-right { width: 300px; flex: 0 0 300px; }

.hero-title { font-size: 36px; line-height: 1.2; margin: 10px 0 6px; font-weight: 800; color: #fff; }
.hero-sub { color: var(--text-muted); margin: 0 0 18px; font-size: 14px; }
.hero-sub .link-blue { color: var(--blue-400); text-decoration: none; }
.hero-sub .link-blue:hover { text-decoration: underline; }

/* Search bar composed of label, input and icon */
.searchbar { display: grid; grid-template-columns: 180px 1fr 46px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--navy-800); }
.search-label { background: #e7edf5; color: #0f172a; font-weight: 700; font-size: 12px; letter-spacing: 0.3px; text-transform: uppercase; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.search-label .caret { color: #6b7280; margin-left: 8px; }
.search-input { border: none; outline: none; padding: 0 14px; font-size: 14px; background: #ffffff; color: #0b111f; height: 46px; }
.search-btn { background: transparent; border: none; color: #ffffff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; height: 46px; }
.search-btn:hover { background: rgba(255,255,255,0.06); }

.hero-note { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.hero-note .link-green { color: var(--green); text-decoration: none; font-weight: 700; }
.hero-note .link-green:hover { text-decoration: underline; }

/* Right side ad card with image */
.ad-card { width: 100%; height: 300px; background: var(--navy-800); border: 1px solid var(--border); border-radius: 10px; position: relative; overflow: hidden; }
.ad-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-badge { position: absolute; top: 10px; left: 10px; background: #ffd34d; color: #0b111f; font-weight: 800; font-size: 11px; padding: 4px 6px; border-radius: 4px; }

/* Responsive tweaks */
@media (max-width: 980px) {
  .hero-inner { flex-direction: column; }
  .hero-right { width: 100%; flex: 0 0 auto; }
}

/* Features section */
.features { padding: 18px 0 10px; background: var(--navy-900); }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: none; }
.feature-item { padding: 0 24px; position: relative; }
.feature-item:not(:last-child) { border-right: none; }
.feature-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.feature-icon { color: var(--green); font-size: 18px; line-height: 1; }
.feature-title { margin: 0; font-size: 22px; font-weight: 800; color: #fff; }
.feature-text { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 980px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-item:not(:last-child) { border-right: none; border-bottom: none; }
}

/* Light providers section */
.providers-section { background: #eef2f7; padding: 32px 0; }
.page-content .providers-section { margin-left: -24px; margin-right: -24px; }
.page-content .unique { margin-left: -24px; margin-right: -24px; }
.providers-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.providers-title { color: #0f172a; margin: 0 0 4px; font-size: 26px; font-weight: 800; text-align: center; }
.providers-subtitle { color: #475569; text-align: center; margin: 0 0 24px; font-size: 14px; }

.providers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.provider-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06); }
.provider-img-wrap { position: relative; height: 140px; background: #e2e8f0; }
.provider-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.provider-badge { position: absolute; left: 12px; top: 12px; background: #ecfdf5; color: #065f46; font-weight: 700; font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid #a7f3d0; }
.provider-body { padding: 14px 16px 16px; }
.provider-title { margin: 0 0 6px; color: #0f172a; font-size: 16px; font-weight: 800; }
.provider-desc { margin: 0 0 10px; color: #475569; font-size: 13px; line-height: 1.6; }
.provider-link { display: inline-block; color: #0ea5e9; text-decoration: none; font-weight: 700; font-size: 13px; }
.provider-link:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .providers-grid { grid-template-columns: 1fr; }
}

/* Unique benefits section */
.unique {
  background: #f7fafc;
  border-top: none;
  padding: 64px 0;
}

.unique-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.unique-title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}

.unique-subtitle {
  font-size: 16px;
  color: #64748b;
  margin: 0 0 32px;
}

.unique-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 32px 0 40px;
}

.unique-item {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.unique-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e0f2fe; /* light blue */
  color: #0ea5e9; /* blue */
  font-size: 22px;
  margin-bottom: 12px;
}

.unique-item-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 8px 0 8px;
}

.unique-item-text {
  font-size: 14px;
  color: #475569;
  margin: 0;
}

.unique-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ecfdf5; /* light green */
  color: #065f46; /* green text */
  border: 1px solid #a7f3d0;
  text-decoration: none;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 980px) {
  .unique-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* --- Video Hero --- */
.hero-video { position: relative; min-height: 70vh; color: #fff; overflow: hidden; background: #0b1220; }
.page-content .hero-video { margin-left: -24px; margin-right: -24px; }
.hero-video .video-bg { position: absolute; inset: 0; }
.hero-video .video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video .overlay { position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 40%, rgba(12,20,35,0.2) 0%, rgba(7,12,22,0.7) 60%, rgba(6,10,18,0.9) 100%); }
.hero-video .hero-content { position: relative; z-index: 2; max-width: 960px; margin: 0 auto; text-align: center; padding: 120px 20px 80px; }
.hero-video .hero-heading { font-size: clamp(28px, 6vw, 54px); line-height: 1.06; font-weight: 700; margin: 0 0 18px; letter-spacing: 0.4px; }
.hero-video .hero-desc { max-width: 860px; margin: 0 auto 26px; font-size: 16px; line-height: 1.7; color: #c7d2fe; }
.hero-video .hero-cta { padding: 12px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.hero-video .brand-row { position: absolute; z-index: 2; left: 0; right: 0; bottom: 24px; display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; padding: 0 20px; }
.hero-video .brand { color: #e5e7eb; opacity: 0.85; font-weight: 700; letter-spacing: 0.6px; text-transform: none; }
.hero-video .brand:nth-child(3) { letter-spacing: 1.4px; }

@media (max-width: 640px) {
  .unique {
    padding: 40px 0;
  }
  .unique-title {
    font-size: 22px;
  }
  .unique-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .unique-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0 28px;
  }
  .unique-item {
    padding: 20px;
  }
  .unique-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* My Account — Latest Messages */
.messages-title { margin: 0; }
.messages-list { display: grid; gap: 10px; margin-top: 12px; }
.message-link { display: block; padding: 12px; }
.no-underline { text-decoration: none; }
.inherit-color { color: inherit; }
.messages-footer { margin-top: 12px; }
.align-center { align-items: center; }
/* Messages list: unread vs read */
.app .message-thread { transition: background-color 120ms ease; }
.app .message-thread.unread { background-color: #eef6ff; } /* very light blue */
.app .message-thread.read { background-color: #effaf1; }   /* very light green */

/* Featured Providers section */
.featured-providers { padding: 24px 0; background: #ffffff; }
.page-content .featured-providers { margin-left: -24px; margin-right: -24px; }

/* Blog Carousel */
.blog-swiper-section { padding: 24px; }
.blog-swiper-inner { max-width: 1200px; margin: 0 auto; }
.blog-swiper-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.blog-swiper-title { margin:0; font-size:22px; }
.swiper { width: 100%; padding: 8px 0 24px; }
.swiper-slide { width: 280px; }
.blog-card { width:280px; border-radius:12px; background:#0b1220; color:#e6eef8; border:1px solid #1f2a37; box-shadow:0 4px 12px rgba(0,0,0,0.25); overflow:hidden; }
.blog-card-link { text-decoration:none; color:inherit; display:block; }
.blog-thumb { width:100%; height:160px; background:#0f172a; }
.blog-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.blog-thumb--placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#94a3b8; }
.blog-body { padding:12px; }
.blog-meta { font-size:12px; color:#94a3b8; margin-bottom:6px; }
.blog-title { margin:0 0 8px; font-size:16px; line-height:1.4; }
.blog-author { font-size:12px; color:#cbd5e1; }
.swiper-button-prev, .swiper-button-next { width:36px; height:36px; border-radius:50%; border:1px solid #1f2a37; background:#0b1220; color:#e6eef8; }
.swiper-button-prev:hover, .swiper-button-next:hover { background:#111827; }
.swiper-pagination-bullet { background:#94a3b8; opacity:1; }
.swiper-pagination-bullet-active { background:#4f46e5; }
.featured-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.featured-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.featured-title { margin: 0; color: #0f172a; font-size: 22px; font-weight: 800; }
.featured-sub { margin: 4px 0 0; color: #64748b; font-size: 13px; }
.sort-btn { background: #f8fafc; border: 1px solid #e5e7eb; color: #0f172a; font-size: 13px; border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.sort-btn .caret { color: #64748b; }

/* Layout: filters left, cards right */
.featured-layout { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }

/* Filters panel */
.filters { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; }
.filters-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-title { font-weight: 700; color: #334155; font-size: 14px; }
.filters-clear { color: #0ea5e9; text-decoration: none; font-size: 12px; }
.filter-label { display: block; margin: 14px 0 6px; color: #64748b; font-size: 12px; font-weight: 700; }
.filter-select { width: 100%; text-align: left; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; color: #0f172a; font-size: 13px; cursor: pointer; }
.filter-select .caret { color: #64748b; float: right; }
.filter-range { width: 100%; }
.filter-range-scale { display: flex; justify-content: space-between; color: #94a3b8; font-size: 11px; margin-top: 4px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: #e2e8f0; color: #334155; font-size: 12px; }
.chip-active { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Providers cards grid */
.providers-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.provider-card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06); }
.provider-img-wrap { height: 200px; background: #e2e8f0; }
.provider-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.provider-body { padding: 16px; }
.provider-name { margin: 0 0 6px; color: #0f172a; font-size: 16px; font-weight: 800; }
.provider-desc { margin: 0 8px 10px 0; color: #475569; font-size: 13px; line-height: 1.6; }
.badges { display: flex; gap: 8px; margin-bottom: 10px; }
.badge { background: #eef2ff; color: #374151; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 12px; padding: 6px 10px; }
.provider-stats { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; color: #334155; font-size: 12px; }
.stat-icon { margin-right: 6px; }
.provider-footer { display: flex; align-items: center; justify-content: space-between; }
.rating { color: #10b981; font-weight: 700; font-size: 12px; }
.btn-view { display: inline-block; background: #14b8a6; color: #ffffff; border: none; border-radius: 10px; padding: 10px 14px; font-size: 12px; text-decoration: none; }

/* Responsive */
@media (max-width: 980px) {
  .featured-layout { grid-template-columns: 1fr; }
  .providers-list { grid-template-columns: 1fr; }
}

/* Footer (dark) */
.site-footer {
  background: var(--navy-900);
  color: var(--gray-200);
  padding: 48px 0 32px;
  border-top: 1px solid var(--navy-800);
}
.site-footer a {
  color: var(--gray-200);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--teal-400);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}
.footer-brand .brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-brand .brand-text {
  color: var(--gray-300);
  margin: 8px 0 12px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.contact-list li {
  margin: 6px 0;
  color: var(--gray-300);
}
.contact-list a {
  color: var(--gray-100);
}
.socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.socials a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--navy-800);
  color: var(--gray-100);
}
.socials a:hover {
  background: var(--teal-600);
  color: #fff;
}
.footer-links h4,
.footer-newsletter h4 {
  color: var(--gray-100);
  font-weight: 600;
  margin: 0 0 12px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin: 6px 0;
}
.footer-links a {
  color: var(--gray-300);
}
.footer-links a:hover {
  color: var(--teal-400);
}
.footer-newsletter .newsletter-form {
  display: flex;
  gap: 8px;
}
.footer-newsletter input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 20px;
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  color: var(--gray-100);
}
.footer-newsletter input::placeholder {
  color: var(--gray-400);
}
.footer-newsletter input:focus {
  outline: none;
  border-color: var(--teal-500);
}
.footer-newsletter .btn-go {
  padding: 10px 16px;
  border-radius: 20px;
  border: none;
  background: var(--teal-600);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.footer-newsletter .btn-go:hover {
  background: var(--teal-500);
}
.footer-divider {
  border: none;
  border-top: 1px solid var(--navy-700);
  margin: 24px 0;
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 12px;
  font-size: 14px;
  color: var(--gray-300);
}
.footer-bottom .copyright {
  color: var(--gray-200);
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.legal-links a {
  color: var(--gray-300);
}
.legal-links a:hover {
  color: var(--teal-400);
}
.legal-text {
  color: var(--gray-400);
  line-height: 1.5;
}

/* Footer responsive */
@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-newsletter .newsletter-form {
    flex-direction: column;
  }
  .footer-newsletter .btn-go {
    width: 100%;
  }
}

/* Join page hero */
.join-hero { padding: 80px 24px; min-height: 320px; background: var(--navy-900); }
.join-hero-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.join-title { font-size: 56px; line-height: 1.15; font-weight: 800; color: #fff; margin: 0 0 16px; }
.join-title .underline { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 6px; text-underline-offset: 6px; }
.join-sub { font-size: 20px; color: var(--text-muted); margin: 0 0 28px; }
.join-cta { padding: 14px 22px; border-radius: 10px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Showcase section under hero */
.join-showcase {
  background: #14213d;
  color: var(--color-text);
}
.join-showcase .showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 30px;
}
/* Laptop image container and sizing */
.join-showcase .laptop-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 28px;
}
.join-showcase .laptop-image {
  width: 100%;
  max-width: 1100px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

/* Providers strip - full width */
.providers-strip {
  width: 100%;
  background: #f9fafb;
  color: #0f172a;
  border-radius: 0;
  padding: 32px 0;
  border-top: 1px solid #0b1227;
}
.providers-title {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}
.provider-logos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(9, minmax(90px, 1fr));
  gap: 12px;
  align-items: center;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  color: #334155;
}

/* Feature section under logos */
.join-feature {
  background: #ffffff;
  padding: 36px 0 40px;
}
.feature-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.feature-image {
  width: 100%;
  max-width: 1100px;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

@media (max-width: 1024px) {
  .join-showcase .laptop-image { max-width: 920px; }
  .provider-logos { grid-template-columns: repeat(6, minmax(90px, 1fr)); }
  .feature-image { max-width: 920px; }
}
@media (max-width: 640px) {
  .join-showcase .showcase-inner { padding: 28px 14px 24px; }
  .providers-strip { padding: 24px 0; }
  .providers-title { font-size: 16px; }
  .provider-logos { grid-template-columns: repeat(3, minmax(90px, 1fr)); gap: 10px; }
  .logo-item { padding: 10px 6px; font-size: 12px; }
  .feature-image { max-width: 600px; border-radius: 10px; }
}

/* Top Feature two-column section */
.join-top-feature {
  background: #f9fafb;
  padding: 40px 0 50px;
}
.feature-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.feature-media-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.feature-content { color: #0f172a; }
.feature-title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 14px;
}
.form-container {
      background: #fff;
      border-radius: 6px;
      padding: 30px;
      width: 400px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .form-row {
      display: flex;
      gap: 10px;
    }

    .form-group {
      margin-bottom: 15px;
      width: 100%;
    }

    label {
      display: block;
      font-weight: bold;
      margin-bottom: 5px;
      font-size: 14px;
      color: #222;
    }

    input, select {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 14px;
      box-sizing: border-box;
    }

    input:focus, select:focus {
      outline: none;
      border-color: #007bff;
      box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
    }

/* Error page styles */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--navy-900); }
.error-card { width: 100%; max-width: 520px; background: var(--navy-800); border: 1px solid var(--border); border-radius: 16px; padding: 28px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.error-icon { font-size: 42px; line-height: 1; margin-bottom: 12px; }
.error-title { margin: 0 0 8px; font-size: 24px; font-weight: 800; color: #fff; }
.error-sub { margin: 0 0 20px; font-size: 14px; color: var(--text-muted); }
.error-actions { display: flex; align-items: center; justify-content: center; gap: 12px; }
.btn-green { background: var(--green); color: #0b111f; }
.btn-blue { background: var(--blue-btn); color: #fff; }

    .info {
      font-size: 12px;
      color: #999;
      display: inline-block;
      margin-left: 4px;
      cursor: help;
    }

    .lf-form .btn {
      width: 100%;
      padding: 12px;
      background-color: #21c179;
      color: white;
      border: none;
      border-radius: 4px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
 .app .settings-content {
  background: var(--card);
  border: 1px solid #e6edf3;
  border-radius: 12px;
  padding: 16px;
}

.app .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.app .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app label {
  font-size: 12px;
  color: #6b7280;
}

.app input,
.app select {
  padding: 10px 12px;
  border: 1px solid #e6edf3;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

.app .actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.app .alert {
  padding: 10px 12px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #d1fae5;
  margin-bottom: 12px;
}

.lf-form .btn:hover {
  background-color: #1aa261;
}

.app .settings-wrapper {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
}

.app .settings-sidebar {
  background: var(--card);
  border: 1px solid #e6edf3;
  border-radius: 12px;
  padding: 16px;
}

@media (max-width: 900px) {
  .app .settings-wrapper {
    grid-template-columns: 1fr;
  }

  .app .form-grid {
    grid-template-columns: 1fr;
  }
}

    .terms {
      font-size: 12px;
      color: #555;
      text-align: center;
      margin-bottom: 15px;
    }

    .terms a {
      color: #007bff;
      text-decoration: none;
    }

    .terms a:hover {
      text-decoration: underline;
    }

    .signin {
      text-align: center;
      font-size: 14px;
      margin-top: 15px;
      color: #fff;
    }

    .signin a {
      color: #21c179;
      font-weight: bold;
      text-decoration: none;
    }

    .signin a:hover {
      text-decoration: underline;
    }
.feature-highlight {
  border-bottom: 4px solid #16a34a;
  color: #334155;
}
.feature-desc{
  font-size: 15px;
  color: #334155;
  margin: 0 0 14px;
}
.feature-title-text {
  color: #334155;
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0;
  font-weight: 600;
  color: #0f172a;
}
.feature-list .check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-title { font-size: 24px; }
}

/* Register form styles */
.register-form-section {
  padding: 28px 16px 40px;
  background: var(--navy-900);
}
.register-form-section .feature-inner {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
  padding: 26px;
}

.form-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.card-badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e2fee7;
  color: #16a34a;
}

.lf-form { color: #0f172a; }
.lf-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.lf-form .form-field { position: relative; display: flex; flex-direction: column; }
.lf-form label { font-size: 13px; font-weight: 700; color: #334155; margin: 0 0 8px; }

.lf-form input,
.lf-form select {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  outline: none;
  height: 44px;
  box-shadow: inset 0 1px 2px rgba(16,24,40,0.04);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

/* Field hover and invalid states */
.lf-form input:hover,
.lf-form select:hover {
  border-color: #cbd5e1;
}

.lf-form input:invalid,
.lf-form select:invalid {
  border-color: #ef4444;
}

.lf-form input:invalid:focus,
.lf-form select:invalid:focus {
  box-shadow: 0 0 0 4px rgba(239,68,68,0.20);
}

/* Custom select caret */
.lf-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.lf-form input::placeholder { color: #94a3b8; }

.lf-form .has-icon .input-icon {
  position: absolute;
  left: 12px;
  top: 36px;
  width: 18px;
  height: 18px;
}
.lf-form .has-icon .toggle-pass {
  position: absolute;
  right: 10px;
  top: 34px;
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
}

.lf-form input:focus,
.lf-form select:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22,163,74,0.18);
}

.lf-form .form-error { color: #dc2626; font-size: 13px; margin-top: 6px; }
.lf-form .muted { color: #64748b; font-size: 13px; }
.form-terms { font-size: 12px; color: #64748b; margin: 16px 0 20px; }
.form-terms a { color: #0ea5e9; text-decoration: none; }
.form-terms a:hover { text-decoration: underline; }

.lf-form .btn { padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 700; text-align: center; }
.lf-form .btn-green { background: #22c55e; color: #ffffff; }

.register-form-section .alt-signin { text-align: center; color: #0f172a; margin-top: 16px; }

@media (max-width: 640px) {
  .lf-form .form-row { grid-template-columns: 1fr; gap: 12px; }
  .register-form-section .feature-inner { padding: 18px; }
}

/* My Account (scoped) */
/* Variables and base container */
.app {
  --bg: #f1f5f9;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #0ea5a4;
  --accent-2: #6366f1;
  --glass: rgba(255,255,255,0.6);
  --shadow: 0 6px 18px rgba(15,23,42,0.06);
  --radius: 12px;
  display: flex;
  min-height: 100vh;
  background: var(--bg);
  color: #0f172a;
  font-size: 15px;
  line-height: 1.4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
.app * { box-sizing: border-box; }

/* Sidebar */
.app .sidebar {
  width: 280px;
  background: var(--card);
  border-right: 1px solid #e6edf3;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.app .brand { display: flex; align-items: center; gap: 12px; }
.app .logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.app .brand h1 { margin: 0; font-size: 18px; }
.app .brand p { margin: 0; color: var(--muted); font-size: 13px; }
.app .nav { flex: 1; }
.app .nav ul { list-style: none; padding: 0; margin: 10px 0 0 0; }
.app .nav li { display: flex; align-items: center; gap: 0; padding: 0; color: #0f172a; cursor: pointer; }
.app .nav li > .nav-link { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 9px; text-decoration: none; color: inherit; width: 100%; }
.app .nav li > .nav-link svg { flex: 0 0 auto; }
.app .nav li:hover > .nav-link { background: #f8fafc; }
.app .nav li.active > .nav-link { background: #eef2ff; color: var(--accent-2); font-weight: 600; }
.app .cta { margin-top: auto; }
.app .btn { display: inline-block; padding: 10px 14px; border-radius: 10px; border: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); color: white; font-weight: 600; cursor: pointer; }
.app .muted { color: var(--muted); font-size: 13px; }

/* Main */
.app .main { flex: 1; padding: 26px; position: relative; }
.app .header { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-bottom: 18px; }
.app .searchbar { flex: 1; display: flex; gap: 8px; align-items: center; background: var(--card); padding: 10px; border-radius: 10px; box-shadow: var(--shadow); }
.app .searchbar input { border: 0; outline: 0; font-size: 14px; flex: 1; }
.app .actions { display: flex; gap: 8px; align-items: center; }
.app .pill { display: inline-block; padding: 8px 12px; border-radius: 999px; background: #eef2f6; font-size: 13px; }

/* Hero */
.app .hero { display: grid; grid-template-columns: 1fr 320px; gap: 16px; margin-bottom: 18px; }
.app .card { background: var(--card); padding: 18px; border-radius: 14px; box-shadow: var(--shadow); border: 1.5px solid #e6edf3; }
.app .card.big { max-width: 1300px; margin: 0 auto; }
.app .hero .big { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.app .hero h2 { margin: 0; font-size: 20px; }
.app .hero p { margin: 6px 0 0 0; color: var(--muted); }
.app .hero .actions { margin-top: 14px; }

/* Grid */
.app .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* Right detail panel */
.app .right-panel { position: fixed; right: 28px; top: 120px; width: 320px; }
.app .right-panel .card { position: relative; }
.app .right-stat { display: flex; justify-content: space-between; margin-top: 8px; }

/* Modal */
.app .modal-backdrop { position: fixed; inset: 0; background: rgba(2,6,23,0.45); display: flex; align-items: center; justify-content: center; }
.app .modal { background: var(--card); padding: 20px; border-radius: 10px; width: 70%; max-width: 980px; }
.app .modal h3 { margin: 0; }
.app .modal .grid { grid-template-columns: 2fr 1fr; }

/* Responsive */
@media (max-width: 1100px) {
  .app .grid { grid-template-columns: repeat(2, 1fr); }
  .app .sidebar { display: none; }
  .app .right-panel { display: none; }
}
@media (max-width: 700px) {
  .app .grid { grid-template-columns: 1fr; }
  .app .main { padding: 14px; }
  .app .hero { grid-template-columns: 1fr; }
}

/* Small forms */
.app .input, .app .select { padding: 12px 14px; border-radius: 12px; border: 1.5px solid #e2e8f0; background: #ffffff; box-shadow: inset 0 1px 2px rgba(16,24,40,0.04); }
.app .input:focus, .app .select:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.18); }
.app label .required { color: #ef4444; margin-left: 4px; }

/* Editor layout styles */
.app .editor-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr); gap: 18px; }
.app .editor-aside { width: 100%; max-width: 420px; }
.app .editor-tabs { display: flex; gap: 12px; border-bottom: 1px solid #e5e7eb; margin-bottom: 12px; }
.app .editor-tab { padding: 10px 12px; border-radius: 10px 10px 0 0; background: #f8fafc; color: #334155; cursor: pointer; font-weight: 600; }
.app .editor-tab.active { background: #eef2ff; color: #3730a3; border: 1px solid #e5e7eb; border-bottom: 0; }
.app .editor-section { display: none; }
.app .editor-section.active { display: block; }

/* Trix editor match inputs */
trix-editor.input { min-height: 140px; border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; background: #ffffff; box-shadow: inset 0 1px 2px rgba(16,24,40,0.04); }
trix-editor.input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.18); }

/* Field helper text */
.app .field-help { color: #64748b; font-size: 12px; margin-top: 4px; }

/* Section headers */
.app .section-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.app .section-title-2 { font-size: 16px; font-weight: 700; color: #0f172a; }

@media (max-width: 980px) { .app .editor-layout { grid-template-columns: 1fr; } .app .editor-aside { max-width: 100%; }
.app .tiny { font-size: 13px; }

/* Utilities */
.app .flex { display: flex; align-items: center; }
.app .space-between { display: flex; justify-content: space-between; align-items: center; }

/* Messages list UI */
.app .messages-card { padding: 16px; }
.app .messages-card .messages-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

/* ===== Utilities (shared across views) ===== */
.m-0 { margin: 0; }
.mt-6 { margin-top: 6px; }
.mt-12 { margin-top: 12px; }
.no-underline { text-decoration: none; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.row { display: flex; align-items: center; }
.grid { display: grid; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-gap-8 { gap: 8px; }
.grid-gap-10 { gap: 10px; }
.grid-gap-12 { gap: 12px; }
.card--tight { padding: 12px; }
.section-title { font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.link-blue { color: #2563eb; }
.dot-green { color: #16a34a; }
.logo-box { width:36px; height:36px; border:1px solid #eee; border-radius:4px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#fafafa; }
.logo-img { width:100%; height:100%; object-fit:cover; }
.two-col { display:grid; grid-template-columns: 2fr 1.2fr; }

/* Allow muted text outside .app wrapper */
.muted { color: var(--text-muted); font-size: 13px; }

/* Responsive helpers */
@media (max-width: 780px) {
  .grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

/* Additional helpers for views */
.items-start { align-items: flex-start; }
.text-dark { color: #111827; }
.img-cover { width:100%; height:100%; object-fit:cover; display:block; }
.cover-hero { position:relative; height:180px; border-radius:8px; overflow:hidden; background:linear-gradient(90deg,#1e3a8a,#0c4a6e); }
.logo-box-lg { width:110px; height:110px; border-radius:8px; background:#fff; border:1px solid #e5e7eb; box-shadow:0 1px 3px rgba(0,0,0,0.08); overflow:hidden; }
.logo-overlay { position: relative; z-index: 1; margin-top: -32px; }
.app .message-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: inherit; background: var(--card); border: 1px solid #e6edf3; transition: background .15s ease, box-shadow .15s ease; }
.app .message-item:hover { background: #f8fafc; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }

.app .message-left { position: relative; width: 40px; display: flex; align-items: center; justify-content: center; }
.app .message-left .avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#6b8eff,#4f46e5); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:600; font-size:14px; }
.app .message-left .badge { position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; }
.app .message-left .badge.whatsapp { background: #22c55e; }
.app .message-left .badge.chat { background: #a855f7; }
.app .message-left .badge.email { background: #3b82f6; }

.app .message-body { flex: 1; min-width: 0; }
.app .message-body .line1 { display: grid; grid-template-columns: 1fr auto auto; align-items: center; column-gap: 8px; }
.app .message-body .name { font-weight: 700; color: #111827; }
.app .message-body .icons { display: inline-flex; gap: 8px; color: #9ca3af; }
.app .message-body .icon { width: 16px; height: 16px; }
.app .message-body .time { color: #6b7280; font-size: 12px; }

.app .message-body .line2 { margin-top: 2px; color: #374151; font-size: 13px; }
.app .message-body .line3 { margin-top: 2px; color: #6b7280; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-8 { margin-top: 8px; }
/* ---- Appended utilities to replace inline Blade styles ---- */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-6 { margin-bottom: 6px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.p-12 { padding: 12px; }
.text-10 { font-size: 10px; }
.pre-line { white-space: pre-line; }
.minw-160 { min-width: 160px; }
.minw-220 { min-width: 220px; }
.flex-1 { flex: 1; }
.center-flex { display: flex; align-items: center; justify-content: center; }
.img-160 { width:100%; height:160px; object-fit:cover; display:block; }
.link-light { color: #e6eef8; }
.gap-16 { gap: 16px; }
.grid-gap-6 { gap: 6px; }
.actions-inline { display:flex; gap:8px; align-items:center; }
.cursor-pointer { cursor: pointer; }
.pt-8 { padding-top: 8px; }
.pt-10 { padding-top: 10px; }
.list-unstyled { list-style: none; margin: 0; padding: 0; }

/* Header-specific utilities */
.lang-switch { display: inline-flex; gap: 6px; align-items: center; margin-right: 8px; }
.inline-form { display: inline; }
.btn-reset { background: none; border: none; cursor: pointer; }
.pill-active { background: #e5e7eb; color: #111827; }

/* Badge styles extracted from inline */
.badge-gray { display:inline-flex; align-items:center; gap:6px; background:#f3f4f6; color:#374151; border:1px solid #e5e7eb; border-radius:12px; padding:3px 8px; font-size:12px; }
.badge-green { display:inline-flex; align-items:center; gap:6px; background:#ecfdf5; color:#065f46; border:1px solid #a7f3d0; border-radius:12px; padding:3px 8px; font-size:12px; }

/* Super Admin company view extracted styles */
.info-grid { display:grid; gap:16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.info-item { padding: 12px; border: 1px solid #e0e0e0; border-radius: 6px; }
.info-label { font-weight: bold; color: #666; font-size: 0.9em; margin-bottom: 4px; }
.info-value { color: #333; }
.status-badge { padding: 4px 8px; border-radius: 4px; font-size: 0.8em; font-weight: bold; }
.status-active { background: #d4edda; color: #155724; }
.status-blocked { background: #f8d7da; color: #721c24; }
/* Colors and layout helpers */
.text-red { color: #dc3545; }
.text-green { color: #28a745; }
.inline { display: inline; }
.actions-wrap { display:flex; gap:12px; flex-wrap:wrap; }
.section-top-divider { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e0e0e0; }

/* Pill color variants for actions */
.pill-green { background:#28a745; border-color:#28a745; }
.pill-amber { background:#ffc107; border-color:#ffc107; color:#000; }
.pill-red { background:#dc3545; border-color:#dc3545; }
/* Dashboard helpers */
.text-light { color: #e6eef8; }
.auto-grid-260 { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px,1fr)); gap:12px; }
.card-dark { background:#0f172a; border:1px solid #1f2937; border-radius:8px; padding:12px; }
.block { display:block; }
.text-blue-400 { color: var(--blue-400); }
.text-12 { font-size: 12px; }
.text-slate-300 { color:#cbd5e1; }
.inline-block { display:inline-block; }
.mt-10 { margin-top: 10px; }
.text-sky-400 { color:#60a5fa; }
/* Blog list helpers */
.auto-grid-280 { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); gap:16px; }
.overflow-hidden { overflow:hidden; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
