
:root {
  
  --brand: #0b6c5f;
  --brand-light: #d7efe8;
  --brand-dark: #075247;

  
  --white: #ffffff;
  --black: #000000;
  --body-bg: #f6f3ee;
  --sidebar-bg: #ffffff;
  --text-color: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;

  
  --accent-blue: #38bdf8;
  --accent-indigo: #1e3a8a;
  --accent-yellow: #ffc107;
  --accent-orange: #f97316;
  --accent-red: #ef4444;
  --accent-purple: #7c3aed;
  --accent-gray: #6c757d;
  --accent-darkgray: #2d3748;
  --accent-silver: #4a5568;

  
  --sidebar-width: 260px;
  --topbar-height: 65px;
}


body {
  background-color: var(--body-bg);
  font-family: 'Sora', 'Noto Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--text-color);
}

.btn-brand {
  background: var(--brand);
  color: var(--white);
  border: none;
}

.btn-brand:hover {
  background: var(--brand-dark);
  color: var(--white);
}

.text-brand {
  color: var(--brand) !important;
}

.card {
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
  border-radius: 0.75rem;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 .25rem rgba(18, 140, 126, .15);
  border-color: var(--brand);
}


.app-layout {
  display: flex;
}

.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  transform: translateX(0);
  z-index: 1030;
}

.sidebar-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--brand), var(--accent-yellow));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.sidebar-nav {
  padding: 1rem;
  overflow-y: auto;
  flex-grow: 1;
}

.nav-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  display: block;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease-in-out;
}

.sidebar-nav a:hover {
  background-color: var(--brand-light);
  color: var(--brand-dark);
}

.sidebar-nav a.active {
  background-color: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(18, 140, 126, 0.25);
}

.sidebar-nav a i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.main-content {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  height: var(--topbar-height);
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.content-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1020;
}

.overlay.active {
  display: block;
}

@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    width: 100%;
  }
}


body.landing-page .app-layout {
  display: block;
}

body.landing-page .sidebar,
body.landing-page .topbar,
body.landing-page .main-content {
  display: none;
}

body.landing-page .content-body {
  padding: 0;
}

.landing-nav {
  background: transparent;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.landing-nav.scrolled {
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #1e293b;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 2rem;
  background-color: #0c0a18;
  background-image: linear-gradient(180deg, #0c0a18 0%, #1a1a2e 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}


#particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--white);
  border-radius: 50%;
  bottom: -10px;
  opacity: 0;
  animation: animateParticles 15s linear infinite;
}

.particle:nth-child(3n) {
  width: 3px;
  height: 3px;
  animation-duration: 10s;
  animation-delay: 1s;
}

.particle:nth-child(5n) {
  width: 1px;
  height: 1px;
  animation-duration: 20s;
  animation-delay: 2s;
}


@keyframes animateParticles {
  0% {
    transform: translateY(0) translateX(var(--x-start));
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(var(--x-end));
    opacity: 0;
  }
}


.hero-title {
  animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
  animation: fadeInDown 1s ease-out 0.3s;
  animation-fill-mode: both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

.hero-version {
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.9s;
  
  opacity: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.footer-links {
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--accent-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}


.auth-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.auth-brand-col {
  width: 45%;
  background: linear-gradient(135deg,
      var(--brand-light) 0%,
      var(--brand) 50%,
      var(--brand-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}


.auth-form-col {
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-color: var(--white);
}

.auth-form-wrapper {
  width: 100%;
  max-width: 400px;
}

.form-title {
  font-weight: 700;
  color: var(--text-color);
}

.form-subtitle {
  color: var(--text-muted);
}


@media (max-width: 991.98px) {
  .auth-brand-col {
    display: none;
  }

  .auth-form-col {
    width: 100%;
  }
}

.brand-content {
  text-align: center;
  color: var(--white);
  z-index: 2;
  
}

.brand-icon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  
}

.brand-title a {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 1px;
  transition: opacity 0.2s ease-in-out;
}

.brand-title a:hover {
  opacity: 0.85;
}

.brand-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.5;
}


.testimonial-card {
  position: relative;
  padding-top: 50px;
  margin-top: 50px;
}

.testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--body-bg);
}

.blockquote-footer {
  font-weight: 600;
}

.version-badge {
  background: linear-gradient(45deg, var(--accent-darkgray), var(--accent-silver));
  color: var(--white);
  padding: 0.5em 1.2em;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}


@media (max-width: 768px) {
  .testimonials-section {
    padding-bottom: 3rem;
  }
}

.testimonials-section {
  background-color: #f8f9fa;
  padding-bottom: 4rem;
}

.testimonial-card-modern {
  background-color: var(--white);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  padding-top: 2rem;
}

.testimonial-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.testimonial-header {
  margin-bottom: 1rem;
}

.star-rating {
  color: var(--accent-yellow);
  font-size: 0.9rem;
}


.screenshot-section {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.phone-mockup {
  position: relative;
  max-width: 250px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 40px;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 2px 0 #fff3;
  transition: transform 0.3s ease;
}

.phone-mockup:hover {
  transform: translateY(-10px) scale(1.05);
}

.phone-mockup .screen {
  background: var(--black);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
}

.phone-mockup .screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}




.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}


.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  margin-bottom: .75rem;
}


.testimonial-author h6 {
  margin-bottom: 0;
  font-weight: 600;
}

.star-rating i {
  color: var(--accent-yellow);
}


.testimonial-body {
  font-size: .95rem;
  color: var(--text-color);
  flex-grow: 1;
}

.testimonial-footer {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .75rem;
}




.rating-input {
  display: flex;
  flex-direction: row-reverse;
  
  justify-content: center;
  gap: 0.25rem;
}

.rating-input input {
  display: none;
}

.rating-input label {
  font-size: 2rem;
  color: #d1d1d1;
  cursor: pointer;
  transition: color 0.2s;
}


.rating-input label:hover,
.rating-input label:hover~label {
  color: var(--accent-yellow);
}


.rating-input input:checked~label {
  color: var(--accent-yellow);
}


.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.feature-icon-symbol {
  font-size: 2rem;
  
  color: var(--brand);
  
}


.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--brand);
  color: var(--white);
  margin: 0 auto 1rem auto;
  
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.feature-icon i {
  font-size: 2rem;
  
}


.card-header.brand-header {
  background-color: var(--brand) !important;
  color: var(--white);
}



.chat-widget-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#chat-toggle-button {
  background-color: #0088cc;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#chat-toggle-button.has-new::after {
  content: '';
  position: absolute;
  top: 8px;
  
  right: 8px;
  
  width: 12px;
  
  height: 12px;
  background: red;
  border-radius: 50%;
  border: 2px solid white;
  
}

#chat-window {
  width: 350px;
  height: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: white;
  display: none;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 10px;
}

.chat-header {
  background: #0088cc;
  color: white;
  padding: 15px;
  font-weight: bold;
  text-align: center;
}

.chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background-color: #f4f7f9;
  display: flex;
  flex-direction: column;
}

.chat-message {
  padding: 8px 12px;
  border-radius: 18px;
  margin-bottom: 10px;
  max-width: 80%;
  line-height: 1.4;
}

.chat-message.user {
  background-color: #0088cc;
  color: white;
  align-self: flex-end;
}

.chat-message.admin {
  background-color: #e5e5ea;
  color: black;
  align-self: flex-start;
}

.chat-footer {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
}

#chat-input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px 15px;
  margin-right: 10px;
}

#chat-send {
  background-color: #0088cc;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
}


.chat-message.error {
  background-color: #f8d7da;
  
  color: #721c24;
  
  border-left: 4px solid #f5c6cb;
  
  border-radius: 4px;
  align-self: flex-start;
  
  font-style: italic;
  font-size: 0.9em;
  
}


.chat-message.error::before {
  content: "Alert: ";
  
  font-weight: bold;
  margin-right: 5px;
}


.tutorial-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.tutorial-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tutorial-card .card-title {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

ol.tutorial-steps {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

ol.tutorial-steps li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #495057;
}

ol.tutorial-steps li::marker {
    font-weight: bold;
    color: var(--bs-primary);
}


@media (max-width: 767.98px) {
    .tutorial-container {
        padding: 0.5rem;
    }

    .tutorial-card {
        padding: 1.25rem;
    }
}


.whatsapp-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.whatsapp-text {
  color: #333;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.whatsapp-fab {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF;
}

.whatsapp-fab i {
  line-height: 1;
}

@keyframes pulse-animation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

.broadcast-icon-pulse {
  animation: pulse-animation 2s infinite;
}
.alert .collapse p {
  white-space: pre-wrap;
  word-break: break-word;
}
.alert-heading {
  font-size: 1rem;
}
