:root {
  --brand-blue: #1D83E5;
  --brand-light: #f1f4f8;
  --text-slate: #334155;
  --text-light: #64748b;
  --border-color: #606a85;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

body {
  background-color: var(--brand-light);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-slate);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tailwind CSS Equivalents - Utility Classes */
.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-grow {
  flex-grow: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 52rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.mb-10 {
  margin-bottom: 1.3rem;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-5 {
  gap: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.text-slate-900 {
  color: #0f172a;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.hidden {
  display: none;
}

/* Responsive Classes */
@media (min-width: 640px) {
  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .sm\:text-\[26px\] {
    font-size: 26px;
  }
}

@media (min-width: 768px) {
  .md\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:text-3xl {
    font-size: 1.875rem;
    /* 30px */
  }

  .md\:gap-5 {
    gap: 1.25rem;
  }

  main.max-w-2xl {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
  }
}

/* Custom font size class */
.text-\[22px\] {
  font-size: 22px;
}


.header {
  width: 100%;
  background-color: var(--brand-blue);
  display: flex;
  height: 120px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: var(--white);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.logo-img {
  height: 60px;
  width: auto;
}

.header-slogan {
  font-style: italic;
  font-size: 11px;
  font-weight: 300;
  opacity: 0.9;
  padding-bottom: 8px;
}

.main-content {
  width: 90%;
  margin: 12px 16px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .main-content {
    gap: 8px;
  }
 
}

@media (min-width: 928px) {
  .main-content {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
  }
}

.toggle-container {
  background-color: transparent;
  padding: 4px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

@media (min-width: 768px) {
  .toggle-container {
    margin-bottom: 0;
  }
}

.toggle-btn {
  padding: 8px 24px;
  border-radius: 14px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
  font-size: 15px;
  color: var(--text-light);
}

.toggle-btn.active {
  background-color: var(--brand-blue);
  color: var(--white);
}

.benefits-btn {
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.1s;
  margin: 0;
}

.benefits-btn:active {
  transform: scale(0.95);
}

.vehicle-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 40% 1px 40%;
  justify-content: center;
  gap: 4px;
  position: relative;
  margin-top: -8px;
  padding-top: 0;
}

@media (min-width: 768px) {
  .vehicle-grid {
    gap: 16px;
    margin-top: 0;
  }
  .header-slogan {
  font-style: italic;
  font-size: 14px;
  font-weight: 300;
  opacity: 0.9;
  padding-bottom: 8px;
}
}

.divider {
  width: 1px;
  background-color: #e2e8f0;
  margin: 20px 0;
  height: auto;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 4px;
  height: 100%;
}

@media (min-width: 768px) {
  .vehicle-card {
    gap: 16px;
  }
}

.icon-wrapper {
  height: 72px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 768px) {
  .icon-wrapper {
    height: 80px;
    align-items: flex-end;
  }
}

.vehicle-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: bottom;
  opacity: 0.9;
}

.casa_empresa-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: bottom;
  opacity: 0.9;
}


@media (min-width: 768px) {
  .vehicle-icon {
    height: 80px;
    width: 80px;
  }

  .casa_empresa-icon {
    height: 50px;
    width: 50px;
  }
}

.vehicle-desc {
  color: var(--text-light);
  font-size: 13px;
}

@media (min-width: 768px) {
  .vehicle-desc {
    font-size: 14px;
  }
}

.vehicle-price {
  color: var(--brand-blue);
  font-size: 17px;
  font-weight: 700;
  margin-top: auto;
}

@media (min-width: 768px) {
  .vehicle-price {
    font-size: 20px;
  }
}

.plans-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 8px;
}

.plans-info {
  color: var(--text-light);
  font-size: 13px;
  text-align: center;
  align-self: center;
}

.plans-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.plan-selectable {
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-selectable:hover {
  border-color: #3b82f6;
  background-color: #f0f7ff;
}

.plan-selectable input[type="radio"]:checked+.plan-radio-custom {
  background-color: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.plan-selectable input[type="radio"]:checked+.plan-radio-custom::after {
  opacity: 1;
}

.plan-selectable input[type="radio"]:checked~.plan-content .plan-label {
  color: #3b82f6;
  font-weight: 600;
}

.plan-radio {
  display: none;
}

.plan-radio-custom {
  width: 20px;
  min-width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  background-color: white;
}

.plan-radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
}

.plan-row.selected {
  border-color: #3b82f6;
  background-color: #f0f7ff;
}

.plan-row.selected .plan-radio-custom {
  background-color: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.plan-row.selected .plan-radio-custom::after {
  opacity: 1;
}

.plan-row.selected .plan-label {
  color: #3b82f6;
  font-weight: 600;
}

.plan-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.plan-label {
  font-weight: 500;
  color: var(--text-slate);
  font-size: 12px;
}

.plan-price {
  font-weight: 600;
  color: #475569;
  font-size: 12px;
}

@media (min-width: 768px) {
  .plan-price {
    font-size: 14px;
  }
}

.plan-subtext {
  font-size: 9px;
  font-weight: 300;
  color: #15161e;
  font-style: italic;
  display: block;
}

/* Plan Table Styles */
table {
  width: 100%;
}

table tbody td {
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: white;
}

table tbody td:hover {
  background-color: #f0f7ff;
}

table tbody td.selected {
  background-color: #3b82f6;
  color: white;
  font-weight: 700;
}

.cctv-spaces-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.cctv-spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.cctv-spaces-grid--full {
  grid-template-columns: 1fr;
}

.cctv-space-card {
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 8px;
}

.cctv-space-card.service-selectable {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cctv-space-card.service-selectable:hover {
  border-color: #3b82f6;
  background-color: #f0f7ff;
}

.cctv-space-card.service-selectable.selected {
  border-color: #3b82f6;
  background-color: #f0f7ff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cctv-space-card.service-selectable .service-radio {
  display: none;
}

.service-radio-custom {
  width: 20px;
  min-width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  background-color: white;
  margin-bottom: 8px;
}

.service-radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
}

.service-selectable input[type="radio"]:checked+.service-radio-custom {
  background-color: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.service-selectable input[type="radio"]:checked+.service-radio-custom::after {
  opacity: 1;
}

.dash-space-card.selected .service-radio-custom {
  background-color: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dash-space-card.selected .service-radio-custom::after {
  opacity: 1;
}

.cctv-service-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.cctv-service-stack .cctv-space-desc {
  margin: 0;
  text-align: left;
}

.cctv-service-stack .cctv-space-price {
  margin: 0;
  text-align: left;
  align-self: flex-start;
}

.cctv-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cctv-space-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Wide card (full-width row 3) */
.cctv-space-card--wide {
  flex-direction: column;
  align-items: flex-start;
}

.cctv-space-card--wide .cctv-space-desc {
  margin: 0;
}

/* Remove old emoji icon styles (kept for safety) */
.cctv-space-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.cctv-space-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-slate);
  line-height: 1.2;
}

.titulo-servico {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-slate);
  margin-top: 24px;
}

.subtitulo-servico {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  margin-top: -8px;
  margin-bottom: 12px;
}

.cctv-space-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.cctv-space-price {
  font-size: 14px;
  color: var(--brand-blue);
  text-align: right;
  font-weight: bold;
}

/* CTA Section */
.cctv-cta-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Info block inside CTA */
.cctv-info-block {
  width: 80%;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.cctv-info-lead {
  font-size: 14px;
  color: var(--text-slate);
  line-height: 1.55;
  font-weight: 500;
}

.cctv-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cctv-info-list li {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.cctv-info-price {
  font-size: 12.5px;
  color: var(--text-slate);
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

/* Responsive: stack to 1 column on small screens */
@media (max-width: 480px) {
  .cctv-spaces-grid {
    grid-template-columns: 1fr;
  }

  .titulo-servico {
    font-size: 16px;
    margin-top: 5px;
    text-align: center;
  }

  .subtitulo-servico {
    font-size: 12px;
    text-align: center;
  }

}

.dash-spaces-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.dash-spaces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

@media (max-width: 992px) {
  .dash-spaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .dash-spaces-grid {
    grid-template-columns: 1fr;
  }
}

.dash-spaces-grid--full {
  grid-template-columns: 1fr;
}

.dash-space-card {
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dash-space-card:hover {
  border-color: #3b82f6;
  background-color: #f0f7ff;
}

.dash-space-card.selected {
  border-color: #3b82f6;
  background-color: #f0f7ff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dash-space-card .service-radio {
  display: none;
}

.dash-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-space-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Wide card (full-width row 3) */
.dash-space-card--wide {
  flex-direction: column;
  align-items: flex-start;
}

.dash-space-card--wide .dash-space-desc {
  margin: 0;
}

/* Remove old emoji icon styles (kept for safety) */
.dash-space-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.dash-space-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-slate);
  line-height: 1.2;
}

.dash-space-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.dash-space-price {
  font-size: 14px;
  color: var(--brand-blue);
  text-align: right;
  font-weight: bold;
}

.dash-principal-stack {
  width: 100%;
  max-width: 480px;
  margin: 0px auto 0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
}

.dash-principal-stack .dash-space-card.dash-principal-top {
  border: none;
  border-radius: 0;
  margin: 0;
  width: 100%;
}

.dash-space-card.service-selectable {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}


.dash-service-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.dash-service-stack .dash-space-desc {
  margin: 0;
  text-align: left;
}

.dash-space-card.service-selectable .service-radio {
  display: none;
}

.service-radio-custom {
  width: 20px;
  min-width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  background-color: white;
  flex-shrink: 0;
}

.dash-principal-top .service-radio-custom {
  position: absolute;
  top: 15px;
  left: 15px;
  margin-top: 0;
}

.dash-principal-top.service-selectable {
  position: relative;
  padding-top: 40px;
  /* Space for absolute radio if needed, or just padding */
}

.service-radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
}

.dash-space-card.service-selectable.selected .service-radio-custom,
.cctv-space-card.service-selectable.selected .service-radio-custom {
  background-color: #3b82f6;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.dash-space-card.service-selectable.selected .service-radio-custom::after,
.cctv-space-card.service-selectable.selected .service-radio-custom::after {
  opacity: 1;
}

.dash-principal-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dash-principal-heading-inner {
  width: 100%;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dash-principal-title {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.dash-principal-desc {
  text-align: center;
  margin: 0;
}

.dash-principal-price-box {
  text-align: center;
  border-radius: 8px;
  padding: 12px 8px;
}

.dash-principal-price-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-slate);
  text-transform: uppercase;
}

.dash-principal-price-value {
  font-size: 16px;
  margin: 0;
  text-align: center;
}

.dash-unitel-plans {
  padding: 12px 14px 14px;
  background: #fafbfc;
  border-top: 1px solid #e2e8f0;
}

.dash-unitel-plans.is-disabled {
  opacity: 0.48;
  pointer-events: none;
  user-select: none;
}

.dash-unitel-heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-slate);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 6px;
}

.dash-unitel-hint {
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin: 0 0 10px;
  line-height: 1.4;
}

.plan-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

/* CTA Section */
.dash-cta-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Info block inside CTA */
.dash-info-block {
  width: 100%;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-info-lead {
  font-size: 12.5px;
  color: var(--text-slate);
  line-height: 1.55;
  font-weight: 500;
}

.dash-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dash-info-list li {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.dash-info-price {
  font-size: 12.5px;
  color: var(--text-slate);
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-top: 2px;
}

/* Responsive: stack to 1 column on small screens */
@media (max-width: 480px) {
  .dash-spaces-grid {
    grid-template-columns: 1fr;
  }
}

.dash-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 480px) {
  .dash-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.dash-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;

}

.dash-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 12px;
  color: var(--text-slate);
  line-height: 1.4;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: flex-start;
  z-index: 1000;
  padding: 40px 20px;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.modal-overlay::-webkit-scrollbar {
  display: none;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  position: relative;
  padding: 40px 24px 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
  margin: 40px auto;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #334155;
  padding: 4px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.close-btn:hover {
  background-color: #f1f5f9;
}

.modal-header {
  text-align: center;
  margin-bottom: 12px;
}

.modal-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.2;
}

.modal-header p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* Accordion Styles */
.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background-color: #f1f5f9;
  border-radius: 8px;
  padding: 16px 16px 16px 16px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.accordion-title-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-blue {
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-wrapper {
  display: flex;
  flex-direction: column;
}

.text-wrapper .title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-blue);
}

.text-wrapper .subtitle {
  font-size: 12px;
  color: #64748b;
}

.chevron {
  color: var(--brand-blue);
  transition: transform 0.3s ease;
}

.accordion-item.active .chevron {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f1f5f9;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  /* Large enough to fit content */
}

.accordion-content ul {
  list-style: none;
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-content li {
  font-size: 11px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.accordion-content li svg {
  margin-top: 2px;
  flex-shrink: 0;
}

.modal-container-agendamento {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1150px;
  gap: 16px;
  background-color: #e0e7ff;
  padding: 16px 16px 40px 16px;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin: 50px auto;
}

@media (min-width: 1024px) {
  .modal-container-agendamento {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
}

.modal-main-card {
  background-color: var(--white);
  width: 100%;
  max-width: 670px;
  border-radius: 20px;
  padding: 32px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-summary-card {
  background-color: var(--white);
  flex: 1;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .modal-summary-card {
    width: 430px;
    position: sticky;
    top: 40px;
  }
}

.modal-main-card .modal-header {
  text-align: left;
}

.modal-main-card .modal-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.modal-main-card .modal-header p {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.modal-main-card .close-btn {
  position: absolute;
  top: 32px;
  right: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #1e293b;
  padding: 0;
  border-radius: 0;
  transition: all 0.2s;
  z-index: 10;
}

.modal-main-card .close-btn:hover {
  background-color: transparent;
  transform: scale(1.1);
  color: #ef4444;
}

.accordion-item-agendamento {
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  background-color: var(--white);
}

.accordion-item-agendamento.active {
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.accordion-header-agendamento {
  width: 100%;
  padding: 4px 8px 8px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
  background: transparent;
  border: none;
}

.header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  flex: 1;
}

.title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-text .title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.header-text .subtitle {
  font-size: 12px;
  color: #606a85;
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1.5px solid #818cf8;
  background-color: #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  transition: all 0.2s;
}

.check-icon.completed {
  background-color: #818cf8;
  color: var(--white);
}

.accordion-item-agendamento.active .chevron {
  transform: rotate(180deg);
}

.chevron {
  transition: transform 0.3s ease;
  color: #64748b;
}

.accordion-content-agendamento {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
}

.accordion-item-agendamento.active .accordion-content-agendamento {
  max-height: 5000px;
  padding-bottom: 32px;
}


.modal-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background-color: #818cf8;
  width: 24px;
  border-radius: 4px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.type-toggle {
  display: flex;
  background-color: #f0f3ff;
  padding: 8px;
  border-radius: 10px;
  gap: 4px;
  margin: 8px 0 0 0;
}

.toggle-option {
  flex: 1;
  padding: 6px 4px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.toggle-option.active {
  background-color: var(--white);
  color: var(--brand-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
  background-color: transparent;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #818cf8;
  background-color: var(--white);
}

.input-row {
  display: flex;
  gap: 6px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-group.horizontal {
  flex-direction: row;
  gap: 24px;
}

.group-label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #334155;
  cursor: pointer;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  position: relative;
}

.radio-option input {
  display: none;
}

.radio-option input:checked+.radio-custom {
  border-color: var(--brand-blue);
}

.radio-option input:checked+.radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--brand-blue);
  border-radius: 50%;
}

.address-field-wrapper {
  position: relative;
  margin-top: 4px;
  width: 100%;
}

.address-label-tag {
  position: absolute;
  top: -8px;
  left: 16px;
  background-color: var(--white);
  padding: 0 6px;
  font-size: 11px;
  color: #64748b;
  z-index: 1;
  font-weight: 500;
}

.address-field-wrapper .form-textarea {
  padding-top: 14px;
  min-height: 80px;
  resize: none;
}

.calendar-container {
  padding: 8px 0;
  border: none;
}

.upload-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #f8fafc;
  text-align: center;
}

.upload-box:hover,
.upload-box.drag-over {
  border-color: var(--brand-blue);
  background-color: #eff6ff;
}

.upload-box .upload-icon {
  color: #94a3b8;
  transition: color 0.2s;
}

.upload-box:hover .upload-icon,
.upload-box.drag-over .upload-icon {
  color: var(--brand-blue);
}

.upload-label {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

.upload-hint {
  font-size: 11px;
  color: #94a3b8;
}

.file-input-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-success-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px 16px;
  background-color: #f0fdf4;
  animation: fadeInUp 0.3s ease-out;
}

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

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

.upload-success-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #16a34a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upload-file-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.upload-file-name {
  font-size: 13px;
  font-weight: 600;
  color: #166534;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-file-size {
  font-size: 11px;
  color: #4ade80;
}

.upload-remove-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.upload-remove-btn:hover {
  background-color: #fee2e2;
  color: #ef4444;
}


.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 4px;
}

.month-year-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.month-year {
  font-weight: 700;
  font-size: 22px;
  color: #1e293b;
  text-transform: lowercase;
}

.calendar-icon-svg {
  color: #475569;
  width: 28px;
  height: 28px;
}

.calendar-nav {
  display: flex;
  gap: 20px;
}

.calendar-nav button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s;
}

.calendar-nav button:hover {
  color: var(--brand-blue);
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  margin-bottom: 20px;
}

.day-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.day-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  padding: 0;
}

.day-num {
  font-size: 15px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #64748b;
  font-weight: 500;
  transition: all 0.2s;
}

.day-column.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.day-column.active .day-num {
  background-color: #818cf8;
  color: var(--white);
  font-weight: 700;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.time-slot {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.time-slot:hover {
  transform: translateY(-1px);
}

.time-slot.locked {
  background-color: #ffb5b5;
  color: #7f1d1d;
  cursor: not-allowed;
}

.time-slot.locked:hover {
  transform: none;
}

.time-slot.locked svg {
  opacity: 0.65;
  flex-shrink: 0;
}

.time-slot.available {
  background-color: #4fd1c5;
  color: #000000;
}

.time-slot.available:hover {
  filter: brightness(0.95);
}

.time-slot.selected {
  outline: 3px solid #818cf8;
  outline-offset: 2px;
  font-weight: 700;
}

.selected-time-banner {
  margin-top: 24px;
  background-color: #f0f3ff;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px dashed #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e293b;
  font-weight: 600;
  font-size: 14px;
}

.banner-content svg {
  color: #818cf8;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

.minute-modal {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.minute-picker-card {
  background-color: var(--white);
  width: 100%;
  border-radius: 12px;
  max-width: 320px;
  padding: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.picker-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.picker-header p {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.minutes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.min-opt {
  aspect-ratio: 1;
  border-radius: 6px;
  border: 2px solid #e2e8f0;
  background-color: #f1f5f9;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}

.min-opt:hover {
  border-color: #1a85eb;
  background-color: #fcfcfc;
  color: #1a85eb;
}

.min-opt.active {
  background-color: #1a85eb;
  color: var(--white);
  border-color: #1a85eb;
}

.custom-min-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background-color: #f1f5f9;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #242b35;
}

.custom-min-wrapper input {
  width: 50px;
  border: none;
  background: transparent;
  text-align: right;
  font-weight: 700;
  color: #1e293b;
  outline: none;
  font-size: 16px;
}

.picker-footer {
  display: flex;
  gap: 10px;
}

.btn-cancel,
.btn-confirm {
  flex: 1;
  border-radius: 6px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-cancel {
  background-color: #f1f5f9;
  color: #64748b;
}

.btn-confirm {
  background-color: #1a85eb;
  color: var(--white);
}

.btn-confirm:hover {
  background-color: #0c5aa3;
}

.radio-group.vertical-stack {
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.radio-group.vertical-stack .radio-option {
  font-size: 13px;
}

.subtle-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 8px 0;
  width: 100%;
}

.counter-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.counter-controls.minimal {
  background: transparent;
  padding: 0;
  gap: 16px;
  border: none;
}

.counter-btn-minimal {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  padding: 0 8px;
  transition: color 0.2s;
  line-height: 1;
}

.counter-btn-minimal:hover {
  color: var(--brand-blue);
}

.counter-value {
  font-weight: 700;
  font-size: 18px;
}

.vehicle-entry {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vehicle-entry:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.entry-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.upload-box {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  background-color: #f8fafc;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.upload-box:hover {
  border-color: var(--brand-blue);
  background-color: #f0f7ff;
}

.upload-box svg {
  color: #64748b;
  margin-bottom: 8px;
}

.upload-box p {
  font-weight: 600;
  color: #1e293b;
  font-size: 14px;
}

.upload-box span {
  font-size: 12px;
  color: #64748b;
}

.file-input-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.resizable-v {
  resize: vertical;
  min-height: 80px;
}

.select-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-name {
  font-size: 13px;
  color: #334155;
  font-weight: 600;
}

.item-price-unit {
  font-size: 10px;
  color: #0d9488;
  font-weight: 600;
  margin-top: 1px;
}

.item-count {
  font-weight: 600;
  color: #1e293b;
  font-size: 15px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  margin-top: 8px;
}

.total-label {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.total-value {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
}

.finalize-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background-color: #35fde6;
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 16px;
}

.finalize-btn:hover {
  background-color: #0657cf;
  transform: translateY(-1px);
}

.finalize-btn:disabled,
.finalize-btn.disabled {
  background-color: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none !important;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.terms-checkbox input {
  display: none;
}

.checkbox-custom {
  min-width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background-color: var(--white);
  flex-shrink: 0;
}

.terms-checkbox input:checked+.checkbox-custom {
  background-color: #818cf8;
  border-color: #818cf8;
}

.checkbox-custom::after {
  content: '✓';
  color: var(--white);
  font-size: 12px;
  display: none;
}

.terms-checkbox input:checked+.checkbox-custom::after {
  display: block;
}

/* Checkbox customizado para radio-option (GPS) */
.radio-option input[type="checkbox"] {
  display: none;
}

.radio-option input[type="checkbox"]+.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background-color: var(--white);
  flex-shrink: 0;
}

.radio-option .checkbox-custom::after {
  content: '✓';
  color: var(--white);
  font-size: 14px;
  font-weight: bold;
  display: none;
}

.radio-option input[type="checkbox"]:checked+.checkbox-custom {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.radio-option input[type="checkbox"]:checked+.checkbox-custom::after {
  display: block;
}

.terms-text {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.terms-text strong {
  color: #1e293b;
  font-weight: 600;
}

.terms-subtext {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  margin-top: 2px;
}

.text-left {
  text-align: left !important;
}

.hidden {
  display: none !important;
}

.action-btn {
  width: 100%;
  background-color: #1a85eb;
  color: var(--white);
  height: 40px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 20px;
  border: none;
  cursor: pointer;
  margin: 24px 0 34px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover:not(:disabled):not(.disabled) {
  background-color: #1570d6;
}

.action-btn:disabled,
.action-btn.disabled {
  background-color: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.65;
}

.action-btn:active:not(:disabled):not(.disabled) {
  transform: scale(0.98);
}


@media (max-width: 768px) {

  #modal-beneficios.modal-overlay {
    padding: 20px 16px;
    align-items: flex-start;

  }

  #modal-beneficios .modal-content {
    max-width: 100%;
    border-radius: 16px;
    max-height: 90vh;
    min-height: unset;
  }

  #modal-agendamento.modal-overlay,
  #modal-agendamento,
  #modal-terms.modal-overlay,
  #modal-terms {
    padding: 0 !important;
  }

  .modal-container-agendamento {
    margin: 0 !important;
    padding: 0 0 32px 0 !important;
    border-radius: 0 !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh;
    box-shadow: none !important;
    background-color: #f1f5f9 !important;
  }

  .modal-main-card,
  .modal-summary-card {
    padding: 24px 16px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .modal-main-card .close-btn {
    top: 16px;
    right: 16px;
  }

  .accordion-content-agendamento {
    padding: 0 12px !important;
  }

  .accordion-item-agendamento.active .accordion-content-agendamento {
    padding-bottom: 24px !important;
  }

  .terms-modal-content {
    max-width: 100%;
    border-radius: 0;
    max-height: none;
    min-height: 100vh;
  }

  /* Prevenir zoom no iPhone e melhorar legibilidade/toque */
  .form-input,
  .form-select,
  .form-textarea,
  .form-input-email {
    font-size: 16px !important;
  }

  /* Horários otimizados no mobile */
  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .time-slot {
    min-height: 42px;
    padding: 8px 6px;
    font-size: 13.5px;
    border-radius: 10px;
    gap: 4px;
  }
}

@media (max-width: 360px) {
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.terms-modal-content {
  max-width: 600px;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  background-color: #f8fafc;
}

.terms-header {
  padding: 24px;
  background-color: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.terms-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.terms-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.terms-header p {
  font-size: 13px;
  color: #64748b;
}

.close-btn-simple {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  padding: 4px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.close-btn-simple:hover {
  background-color: #e2e8f0;
}

.terms-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.terms-inner-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.terms-inner-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.last-update {
  font-size: 11px;
  color: #94a3b8;
  display: block;
  margin-bottom: 20px;
}

.terms-section {
  margin-bottom: 24px;
}

.terms-section h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
}

.terms-section p {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 8px;
}

.terms-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.terms-section li {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 6px;
  list-style-type: disc;
}

.terms-footer {
  padding: 20px;
  background-color: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 12px;
}

.btn-concordo,
.btn-discordo {
  flex: 1;
  height: 48px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-concordo {
  background-color: #22d3ee;
  color: var(--white);
}

.btn-discordo {
  background-color: #f43f5e;
  color: var(--white);
}

.btn-concordo:hover,
.btn-discordo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Success Page (Full Screen Overlay) */
.success-page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #04813e;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 2000;
  padding: 20px 20px;
  overflow-y: auto;
  color: var(--white);
}

.success-page-overlay.active {
  display: flex;
}

.success-page-content {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: slideUp 0.5s ease-out;
  margin: auto;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

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


.success-status-icon {
  width: 70px;
  height: 70px;
  filter: brightness(0) invert(1);
}

.success-page-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.1;
  text-transform: uppercase;
}

.service-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: var(--white);
  border-radius: 18px;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.6;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
}

.service-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 16px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  align-self: center;
}

.service-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.service-title {
  font-size: 15px;
  font-weight: 800;
  color: #1f2937;
  text-align: left;
  margin: 0;
  line-height: 1.2;
}

.service-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-blue);
  text-align: left;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-description {
  font-size: 13px;
  color: var(--text-light);
  text-align: left;
}

.service-label-inner {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-slate);
  text-align: center;
}

.pill-agendar {
  font-weight: 700;
  color: var(--brand-blue);
}

.footer-text {
  color: #64748b;
  text-align: center;
}

.success-subtitle {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 15px;
  line-height: 1.4;
}

.success-details-card {
  background-color: var(--white);
  width: 100%;
  border-radius: 8px;
  padding: 24px;
  color: #1e293b;
  text-align: left;
  margin-bottom: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 16px;
}

.details-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--brand-blue);
}

.details-header h3 {
  font-size: 14px;
  font-weight: 700;
}

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

@media (max-width: 480px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}

.detail-value {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
}

.detail-divider {
  height: 1px;
  background-color: #f1f5f9;
  margin: 10px 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-row span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.total-row .total-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-blue);
}

.success-actions-vertical {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-invoice {
  width: 100%;
  height: 40px;
  background-color: var(--brand-blue);
  color: var(--white);
  border: none;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.actions-row {
  display: flex;
  gap: 8px;
}

.btn-secondary,
.btn-outline {
  flex: 1;
  height: 40px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}


.btn-outline {
  background-color: transparent;
  color: var(--white);
  opacity: 0.7;
}

.modo-manutencao .modal-summary-card {
  display: none !important;
}

.modo-manutencao .modal-container-agendamento {
  grid-template-columns: 1fr;
  max-width: 650px;
}

.hidden-unless-manutencao {
  display: none !important;
}

.modo-manutencao .hidden-unless-manutencao {
  display: flex !important;
}

.card-footer-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.btn-email-invoice {
  background-color: #f1f5f9;
  color: var(--brand-blue);
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-email-invoice:hover {
  background-color: #e2e8f0;
  color: #1a6ab5;
}

#modal-email-invoice {
  z-index: 3000;
}

.modal-content-email {
  background-color: var(--white);
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  position: relative;
  padding: 32px 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin: 50px auto;
}

.email-modal-header {
  margin-bottom: 24px;
}

.email-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 12px;
  margin-bottom: 4px;
}

.email-modal-header p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.email-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: #eff6ff;
  color: var(--brand-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.form-group-email {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  text-align: left;
}

.form-group-email label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input-email {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  background-color: #f8fafc;
}

.form-input-email:focus {
  border-color: var(--brand-blue);
  background-color: var(--white);
}

.btn-send-invoice {
  width: 100%;
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s;
  margin-top: 8px;
}

.btn-send-invoice:hover {
  opacity: 0.9;
}

.btn-send-invoice:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.loader-spinner-small {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.close-btn-simple {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.2s;
}

.close-btn-simple:hover {
  color: #475569;
  background-color: #f1f5f9;
}

/* Toggle Content Sections */
.toggle-content-section {
  width: 100%;
  display: block;
  animation: fadeIn 0.2s ease-in;
}

.toggle-content-section.hidden {
  display: none !important;
  animation: none;
}

.toggle-content-section.active {
  display: block !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Alarm Cards Section */
.alarms-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 20px;
  margin-top: 12px;
}

.alarms-section-title h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0;
  border-bottom: 3px solid var(--brand-blue);
  flex: 1;
}

.alarms-section-title svg {
  color: var(--brand-blue);
  flex-shrink: 0;
}

.alarms-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

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

@media (min-width: 1024px) {
  .alarms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.alarm-card {
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.alarm-card-icon {
  min-width: 40px;
  filter: brightness(0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.alarm-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.alarm-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-slate);
  margin: 0;
}

.alarm-card-description {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

.alarm-card-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0;
}

.instalacao-services-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .instalacao-services-container {
    grid-template-columns: 1fr 1fr;
    Gap: 24px;
  }
}

.instalacao-column {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.alarms-grid-single {
  grid-template-columns: 1fr !important;
}

@media (min-width: 640px) {
  .alarms-grid-single {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 1024px) {
  .alarms-grid-single {
    grid-template-columns: 1fr !important;
  }
}/* Help Section Styles */
.help-section {
  width: 100%;
  margin-top: 15px;
  margin-bottom: 20px;
  background-color: var(--white);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .help-section {
    flex-direction: row;
    justify-content: space-between;
    padding: 24px 32px;
  }
}

.help-content {
  text-align: center;
}

@media (min-width: 768px) {
  .help-content {
    text-align: left;
  }
}

.help-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-slate);
  margin-bottom: 6px;
}

.help-subtitle {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

.help-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}

@media (min-width: 768px) {
  .help-actions {
    flex-direction: row;
    width: auto;
  }
}

.help-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
}

@media (min-width: 768px) {
  .help-btn {
    width: auto;
  }
}

.btn-outline {
  background-color: transparent;
  color: var(--text-slate);
  border: 1px solid #cbd5e1;
}

.btn-outline:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
}

.btn-primary {
  background-color: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.btn-primary:hover {
  background-color: #bae6fd;
}
/* Consultar Ticket Styles */
.ticket-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    padding: 32px 24px;
    box-sizing: border-box;
}

.ticket-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.ticket-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.ticket-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-slate);
}

.ticket-meta {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.ticket-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    margin-bottom: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
}

.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    text-align: left;
}

.chat-client {
    align-self: flex-end;
    background-color: var(--brand-blue);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-support {
    align-self: flex-start;
    background-color: #f1f5f9;
    color: var(--text-slate);
    border-bottom-left-radius: 4px;
}

.chat-meta {
    font-size: 11px;
    opacity: 0.75;
    margin-top: 6px;
    display: block;
    text-align: right;
}

.reply-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}

.input-styled {
    width: 100%;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    box-sizing: border-box;
    outline: none;
    outline-color: #008fca;
}

.btn-full {
    width: 100%;
    background: var(--brand-blue);
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(29, 131, 229, 0.3);
    transition: background 0.2s;
}
.btn-full:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.opt-inputs {
    letter-spacing: 6px;
    font-family: monospace;
    font-size: 24px;
    text-align: center;
}
