/* ==========================================================================
   SOLAR TASK - PREMIUM LAYOUT STYLES
   Global navbar and footer styles for all pages
   ========================================================================== */

/* CSS Custom Properties */
:root {
  /* Primary Colors - Orange Theme */
  --st-primary: #FD5631;
  --st-primary-light: #FFF4F1;
  --st-primary-dark: #E63E1C;
  
  /* Neutral Palette */
  --st-white: #FFFFFF;
  --st-gray-50: #FAFAFA;
  --st-gray-100: #F5F4F8;
  --st-gray-200: #EFECF3;
  --st-gray-300: #D5D2DC;
  --st-gray-400: #BBB7C5;
  --st-gray-500: #9691A4;
  --st-gray-600: #666276;
  --st-gray-700: #454056;
  --st-gray-800: #1F1B2D;
  
  /* Typography */
  --st-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --st-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions */
  --st-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --st-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --st-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --st-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10);
  --st-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --st-shadow-orange: 0 8px 32px rgba(253, 86, 49, 0.25);
  
  /* Border Radius */
  --st-radius-md: 12px;
  --st-radius-lg: 16px;
  
  /* Spacing */
  --st-space-sm: 0.5rem;
  --st-space-md: 1rem;
  --st-space-lg: 1.5rem;
  --st-space-xl: 2rem;
  --st-space-2xl: 3rem;
  --st-space-3xl: 4rem;
  --st-space-4xl: 6rem;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ==========================================================================
   PREMIUM NAVBAR
   ========================================================================== */

.st-navbar {
  position: relative;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--st-transition-base);
}

.st-navbar.st-navbar-scrolled {
  box-shadow: var(--st-shadow-md);
}

.st-navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--st-space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  position: relative;
}

.st-navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 2;
}

.st-navbar-brand img {
  /* Let HTML attribute control size */
}

.st-navbar-spacer {
  flex: 1;
}

.st-navbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--st-white);
  border: 1px solid var(--st-gray-200);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--st-gray-600);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-family: var(--st-font-body);
}

.st-navbar-badge i {
  color: var(--st-primary);
}

a.st-navbar-badge--link {
  text-decoration: none;
  color: inherit;
  transition: border-color var(--st-transition-fast), color var(--st-transition-fast),
    box-shadow var(--st-transition-fast), background var(--st-transition-fast);
}

a.st-navbar-badge--link:hover {
  border-color: var(--st-primary);
  color: var(--st-primary);
  background: var(--st-primary-light);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12);
}

.st-navbar-projects {
  position: relative;
}

.st-navbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.st-navbar-admin-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--st-gray-200);
  background: var(--st-white);
  color: var(--st-gray-700);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all var(--st-transition-fast);
}

.st-navbar-admin-link:hover {
  border-color: var(--st-primary);
  color: var(--st-primary);
  background: var(--st-primary-light);
  transform: translateY(-1px);
}

/* Ponte invisível para evitar "fechar" ao cruzar do trigger para o menu. */
.st-navbar-projects::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 14px;
}

.st-navbar-projects-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--st-white);
  border: 1px solid var(--st-gray-200);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--st-gray-700);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  cursor: default;
}

.st-navbar-customer-account .st-navbar-projects-trigger {
  cursor: pointer;
}

.st-navbar-projects-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--st-white);
  background: var(--st-primary);
  padding: 0 6px;
}

.st-navbar-projects-menu {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  width: 360px;
  max-height: 360px;
  overflow: auto;
  background: var(--st-white);
  border: 1px solid var(--st-gray-200);
  border-radius: 12px;
  box-shadow: var(--st-shadow-lg);
  padding: 10px;
  display: none;
  z-index: 1200;
}

.st-navbar-projects:hover .st-navbar-projects-menu,
.st-navbar-projects:focus-within .st-navbar-projects-menu {
  display: block;
}

/* Conta instalador — avatar + dropdown (padrão SaaS B2B) */
.st-navbar-installer-account {
  position: relative;
}

.st-navbar-installer-account::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 14px;
}

.st-navbar-installer-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(17rem, 42vw);
  padding: 4px 10px 4px 4px;
  background: var(--st-white);
  border: 1px solid var(--st-gray-200);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: border-color var(--st-transition-fast), box-shadow var(--st-transition-fast),
    background var(--st-transition-fast);
}

.st-navbar-installer-account-trigger:hover,
.st-navbar-installer-account:focus-within .st-navbar-installer-account-trigger {
  border-color: var(--st-primary);
  background: var(--st-primary-light);
  box-shadow: 0 2px 10px rgba(253, 86, 49, 0.12);
}

.st-navbar-installer-account-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.st-navbar-installer-account-attention-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #f59e0b;
  border: 2px solid var(--st-white);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35);
}

.st-navbar-installer-account-trigger--attention:hover .st-navbar-installer-account-attention-dot,
.st-navbar-installer-account:focus-within .st-navbar-installer-account-attention-dot {
  border-color: var(--st-primary-light);
}

.st-navbar-installer-profile-nudge {
  margin: 0 4px 8px;
  padding: 10px 10px 11px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.st-navbar-installer-profile-nudge__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.st-navbar-installer-profile-nudge__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400e;
}

.st-navbar-installer-profile-nudge__meta {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #b45309;
}

.st-navbar-installer-profile-nudge__progress {
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.35);
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.st-navbar-installer-profile-nudge__progress-bar {
  height: 100%;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  border-radius: 999px;
}

.st-navbar-installer-profile-nudge__text {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #78350f;
}

.st-navbar-installer-profile-nudge__link {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400e;
  text-decoration: none;
}

.st-navbar-installer-profile-nudge__link:hover {
  color: #78350f;
  text-decoration: underline;
}

.st-navbar-installer-account-avatar,
.st-navbar-installer-account-header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.st-navbar-installer-account-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.72rem;
}

.st-navbar-installer-account-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.2;
  text-align: left;
}

.st-navbar-installer-account-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--st-gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.st-navbar-installer-account-company {
  font-size: 0.6875rem;
  color: var(--st-gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.st-navbar-installer-account-chevron {
  font-size: 0.65rem;
  color: var(--st-gray-500);
  flex-shrink: 0;
  transition: transform var(--st-transition-fast);
}

.st-navbar-installer-account:focus-within .st-navbar-installer-account-chevron {
  transform: rotate(180deg);
}

.st-navbar-installer-account-menu {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  width: min(18.5rem, calc(100vw - 1.5rem));
  background: var(--st-white);
  border: 1px solid var(--st-gray-200);
  border-radius: 14px;
  box-shadow: var(--st-shadow-lg);
  padding: 8px;
  display: none;
  z-index: 1200;
}

.st-navbar-installer-account:hover .st-navbar-installer-account-menu,
.st-navbar-installer-account:focus-within .st-navbar-installer-account-menu {
  display: block;
}

.st-navbar-installer-account-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 12px;
  border-bottom: 1px solid var(--st-gray-100);
  margin-bottom: 6px;
}

.st-navbar-installer-account-header-avatar {
  width: 40px;
  height: 40px;
  font-size: 0.82rem;
}

.st-navbar-installer-account-header-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--st-gray-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-navbar-installer-account-header-company {
  font-size: 0.75rem;
  color: var(--st-gray-600);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-navbar-installer-account-header-email {
  font-size: 0.6875rem;
  color: var(--st-gray-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-navbar-installer-account-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.st-navbar-installer-account-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--st-gray-700);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  transition: background var(--st-transition-fast), color var(--st-transition-fast);
}

.st-navbar-installer-account-item i {
  width: 1rem;
  text-align: center;
  color: var(--st-gray-500);
}

.st-navbar-installer-account-item:hover,
.st-navbar-installer-account-item:focus-visible {
  background: var(--st-gray-50);
  color: var(--st-gray-800);
}

.st-navbar-installer-account-item:hover i,
.st-navbar-installer-account-item:focus-visible i {
  color: var(--st-primary);
}

.st-navbar-installer-account-badge {
  margin-left: auto;
  min-width: 1.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--st-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.st-navbar-installer-account-footer {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--st-gray-100);
}

.st-navbar-installer-account-logout-form {
  margin: 0;
}

.st-navbar-installer-account-item--logout {
  color: #b42318;
}

.st-navbar-installer-account-item--logout i {
  color: #b42318;
}

.st-navbar-installer-account-item--logout:hover,
.st-navbar-installer-account-item--logout:focus-visible {
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 575.98px) {
  .st-navbar-installer-account-label,
  .st-navbar-installer-account-chevron {
    display: none;
  }

  .st-navbar-installer-account-trigger {
    padding: 4px;
    max-width: none;
  }
}

.st-navbar-projects-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.st-navbar-projects-item {
  border: 1px solid var(--st-gray-100);
  border-radius: 12px;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  transition: border-color var(--st-transition-fast), box-shadow var(--st-transition-fast), transform var(--st-transition-fast);
}

.st-navbar-projects-item:hover {
  border-color: rgba(253, 86, 49, 0.35);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
}

.st-navbar-project-card {
  flex: 1;
  min-width: 0;
  padding: 0;
  text-decoration: none;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
}

.st-navbar-projects-thumb {
  width: 84px;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-right: 1px solid #e5e7eb;
}

.st-navbar-projects-thumb-fallback {
  width: 84px;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  background: linear-gradient(145deg, #f3f4f6 0%, #e5e7eb 100%);
  font-size: 1.1rem;
  flex-shrink: 0;
  border-right: 1px solid #e5e7eb;
}

.st-navbar-projects-main {
  padding: 11px 12px 11px 2px;
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.st-navbar-projects-summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.st-navbar-projects-summary strong {
  font-size: 0.85rem;
  color: var(--st-gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.st-navbar-projects-summary span {
  font-size: 0.75rem;
  color: var(--st-gray-500);
}

.st-navbar-projects-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.st-navbar-projects-estimate-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--st-gray-400);
}

.st-navbar-projects-estimate-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--st-primary-dark);
}

.st-navbar-projects-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 8px;
}

.st-navbar-project-remove-form {
  margin: 0;
}

.st-navbar-project-remove {
  border: 1px solid rgba(185, 28, 28, 0.2);
  background: #fff5f5;
  color: #b91c1c;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: all var(--st-transition-fast);
}

.st-navbar-project-remove:hover {
  background: #fee2e2;
  border-color: rgba(185, 28, 28, 0.35);
  color: #991b1b;
}

.st-navbar-projects-empty {
  margin: 6px 4px;
  padding: 12px 10px;
  border: 1px dashed #bfdbfe;
  border-radius: 14px;
  background: linear-gradient(165deg, #f8fbff 0%, #eef6ff 100%);
  text-align: center;
}

.st-navbar-projects-empty-visual {
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
}

.st-navbar-projects-empty-title {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.35;
  font-weight: 700;
  color: #1e3a8a;
}

.st-navbar-projects-empty-text {
  margin: 4px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #475569;
}

.st-navbar-customer-account-menu {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  width: 380px;
  max-height: 420px;
  background: var(--st-white);
  border: 1px solid var(--st-gray-200);
  border-radius: 12px;
  box-shadow: var(--st-shadow-lg);
  padding: 0;
  overflow: hidden;
  display: none;
  z-index: 1200;
}

.st-navbar-customer-account:hover .st-navbar-customer-account-menu,
.st-navbar-customer-account:focus-within .st-navbar-customer-account-menu {
  display: flex;
  flex-direction: column;
}

.st-navbar-customer-account-avatar,
.st-navbar-customer-account-header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--st-primary);
  background: var(--st-primary-light);
}

.st-navbar-customer-account-header-avatar {
  width: 40px;
  height: 40px;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.st-navbar-customer-account-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--st-gray-200);
}

.st-navbar-customer-account-header-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--st-gray-900);
  line-height: 1.3;
}

.st-navbar-customer-account-header-email {
  font-size: 0.75rem;
  color: var(--st-gray-500);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-navbar-customer-auth {
  padding: 14px;
  border-bottom: 1px solid var(--st-gray-200);
  background: linear-gradient(165deg, #f8fbff 0%, #eef6ff 100%);
}

.st-navbar-customer-auth-text {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--st-gray-700);
}

.st-navbar-customer-auth-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.st-navbar-customer-auth-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--st-transition-fast);
}

.st-navbar-customer-auth-btn--primary {
  color: var(--st-white);
  background: var(--st-primary);
  border: 1px solid var(--st-primary);
}

.st-navbar-customer-auth-btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: var(--st-white);
}

.st-navbar-customer-auth-btn--secondary {
  color: var(--st-gray-700);
  background: var(--st-white);
  border: 1px solid var(--st-gray-200);
}

.st-navbar-customer-auth-btn--secondary:hover {
  border-color: var(--st-primary);
  color: var(--st-primary);
}

.st-navbar-customer-projects-section {
  padding: 10px;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.st-navbar-customer-projects-heading {
  margin: 0 4px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--st-gray-500);
}

.st-navbar-customer-account-footer {
  border-top: 1px solid var(--st-gray-200);
  padding: 6px;
  background: var(--st-gray-50);
}

.st-navbar-customer-account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--st-gray-700);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--st-transition-fast), color var(--st-transition-fast);
}

.st-navbar-customer-account-link:hover {
  background: var(--st-white);
  color: var(--st-primary);
}

.st-navbar-customer-account-link--logout {
  color: #991b1b;
}

.st-navbar-customer-account-link--logout:hover {
  background: #fee2e2;
  color: #991b1b;
}

.st-navbar-customer-account-logout-form {
  margin: 0;
}

.st-navbar-nav {
  display: none;
  align-items: center;
  gap: var(--st-space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .st-navbar-nav {
    display: flex;
  }
}

.st-navbar-nav li {
  margin: 0;
}

.st-navbar-nav a {
  font-family: var(--st-font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--st-gray-700);
  text-decoration: none;
  transition: color var(--st-transition-fast);
  position: relative;
  padding: 8px 0;
}

.st-navbar-nav a:hover {
  color: var(--st-primary);
}

.st-navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--st-primary);
  transition: width var(--st-transition-base);
}

.st-navbar-nav a:hover::after {
  width: 100%;
}

.st-navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--st-space-md);
}

.st-navbar-user {
  display: none;
  align-items: center;
  gap: var(--st-space-sm);
  font-size: 0.875rem;
  color: var(--st-gray-600);
  font-family: var(--st-font-body);
}

@media (min-width: 768px) {
  .st-navbar-user {
    display: flex;
  }
}

.st-navbar-user-name {
  font-weight: 600;
  color: var(--st-primary);
}

.st-navbar-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--st-space-sm);
  padding: 10px 20px;
  font-family: var(--st-font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--st-radius-md);
  text-decoration: none;
  transition: all var(--st-transition-base);
  cursor: pointer;
  border: none;
  background: none;
}

.st-navbar-btn-outline {
  color: var(--st-gray-700);
  background: transparent;
  border: 1.5px solid var(--st-gray-300);
}

.st-navbar-btn-outline:hover {
  border-color: var(--st-primary);
  color: var(--st-primary);
  background: var(--st-primary-light);
}

.st-navbar-btn-primary {
  color: var(--st-white) !important;
  background: var(--st-primary);
  border: 1.5px solid var(--st-primary);
}

.st-navbar-btn-primary:hover {
  background: var(--st-primary-dark);
  border-color: var(--st-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--st-shadow-orange);
  color: var(--st-white) !important;
  text-decoration: none;
}

.st-navbar-btn-primary:focus,
.st-navbar-btn-primary:active {
  color: var(--st-white) !important;
}


/* Dropdown Menu */
.st-dropdown {
  position: relative;
}

.st-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--st-white);
  border-radius: var(--st-radius-lg);
  box-shadow: var(--st-shadow-xl);
  border: 1px solid var(--st-gray-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--st-transition-fast);
  z-index: 100;
  padding: 8px 0;
}

.st-dropdown:hover .st-dropdown-menu,
.st-dropdown:focus-within .st-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.st-dropdown-menu a,
.st-dropdown-menu button {
  display: flex;
  align-items: center;
  gap: var(--st-space-md);
  width: 100%;
  padding: 12px 16px;
  font-family: var(--st-font-body);
  font-size: 0.9375rem;
  color: var(--st-gray-700);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--st-transition-fast);
  text-align: left;
}

.st-dropdown-menu a:hover,
.st-dropdown-menu button:hover {
  background: var(--st-gray-100);
  color: var(--st-primary);
}

.st-dropdown-divider {
  height: 1px;
  background: var(--st-gray-200);
  margin: 4px 0;
}

/* ==========================================================================
   PREMIUM FOOTER
   ========================================================================== */

.st-footer {
  background: var(--st-gray-800);
  color: var(--st-white);
  padding: var(--st-space-4xl) 0 var(--st-space-xl);
}

.st-footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--st-space-lg);
}

.st-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--st-space-2xl);
}

@media (min-width: 768px) {
  .st-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--st-space-3xl);
  }
}

.st-footer-brand {
  max-width: 320px;
}

.st-footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: var(--st-space-lg);
  filter: brightness(0) invert(1);
}

.st-footer-tagline {
  font-size: 1rem;
  color: var(--st-gray-400);
  line-height: 1.6;
  margin-bottom: var(--st-space-xl);
  font-family: var(--st-font-body);
}

.st-footer-social {
  display: flex;
  gap: var(--st-space-sm);
}

.st-footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--st-radius-md);
  color: var(--st-white);
  font-size: 1.125rem;
  transition: all var(--st-transition-fast);
  text-decoration: none;
}

.st-footer-social a:hover {
  background: var(--st-primary);
  transform: translateY(-3px);
}

.st-footer-column h4 {
  font-family: var(--st-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--st-white);
  margin-bottom: var(--st-space-lg);
  margin-top: 0;
}

.st-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.st-footer-links li {
  margin-bottom: var(--st-space-md);
}

.st-footer-links a {
  font-size: 0.9375rem;
  color: var(--st-gray-400);
  text-decoration: none;
  transition: all var(--st-transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--st-space-sm);
  font-family: var(--st-font-body);
}

.st-footer-links a:hover {
  color: var(--st-white);
  transform: translateX(4px);
}

.st-footer-links a i {
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--st-transition-fast);
}

.st-footer-links a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.st-footer-cities {
  margin-top: var(--st-space-2xl);
  padding-top: var(--st-space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.st-footer-cities-title {
  font-family: var(--st-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--st-white);
  margin: 0 0 var(--st-space-lg);
}

.st-footer-cities-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--st-space-sm) var(--st-space-xl);
}

@media (min-width: 480px) {
  .st-footer-cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .st-footer-cities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .st-footer-cities-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.st-footer-cities-grid a {
  font-size: 0.8125rem;
  color: var(--st-gray-400);
  text-decoration: none;
  font-family: var(--st-font-body);
  line-height: 1.4;
  transition: color var(--st-transition-fast);
  display: inline-block;
}

.st-footer-cities-grid a:hover {
  color: var(--st-primary);
}

.st-footer-bottom {
  margin-top: var(--st-space-3xl);
  padding-top: var(--st-space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--st-space-md);
  text-align: center;
}

@media (min-width: 768px) {
  .st-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.st-footer-copyright {
  font-size: 0.875rem;
  color: var(--st-gray-500);
  font-family: var(--st-font-body);
  margin: 0;
}

.st-footer-copyright a {
  color: var(--st-primary);
  text-decoration: none;
}

.st-footer-legal {
  display: flex;
  gap: var(--st-space-lg);
}

.st-footer-legal a {
  font-size: 0.8125rem;
  color: var(--st-gray-500);
  text-decoration: none;
  transition: color var(--st-transition-fast);
  font-family: var(--st-font-body);
}

.st-footer-legal a:hover {
  color: var(--st-white);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.st-hide-mobile {
  display: none !important;
}

@media (min-width: 768px) {
  .st-hide-mobile {
    display: inline-flex !important;
  }
}

/* Content spacing for navbar */
.content-main {
  padding-top: 0 !important;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html, body {
  height: 100%;
  margin: 0;
}

/* ==========================================================================
   CUSTOMER ACCOUNT (usuários comuns)
   ========================================================================== */

.st-customer-account {
  background: #eef4ff;
  min-height: calc(100vh - 4rem);
}

.st-customer-account__container {
  max-width: 72rem;
}

.st-customer-account__main {
  min-width: 0;
}

.st-customer-account__content {
  border-color: #dbeafe !important;
  border-radius: 0.875rem !important;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.06) !important;
}

.st-customer-account__title {
  color: #0f172a;
  font-weight: 700;
}

.st-customer-account__subtitle {
  font-size: 0.9375rem;
}

.st-customer-sidebar {
  min-width: 0;
}

.st-customer-sidebar__nav {
  background: #fff;
  border: 1px solid #dbeafe !important;
  border-radius: 0.875rem !important;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.06) !important;
  padding: 0.75rem;
  overflow: visible;
}

@media (min-width: 992px) {
  .st-customer-sidebar__nav {
    position: sticky;
    top: 1rem;
  }
}

.st-customer-sidebar__brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.35rem;
  padding: 0.5rem 0.55rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  border-bottom: 1px solid #dbeafe;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.st-customer-sidebar__brand-link:hover,
.st-customer-sidebar__brand-link.active {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.15);
  border-bottom-color: rgba(37, 99, 235, 0.15);
  color: inherit;
  text-decoration: none;
}

.st-customer-sidebar__brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0.08) 100%);
  color: #2563eb;
  flex-shrink: 0;
}

.st-customer-sidebar__brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.st-customer-sidebar__brand-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.st-customer-sidebar__brand-sub {
  font-size: 0.75rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.st-customer-sidebar__section {
  padding-top: 0.35rem;
}

.st-customer-sidebar__label {
  margin: 0.5rem 0.55rem 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.st-customer-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin: 0.15rem 0;
  padding: 0.65rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: transparent;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.st-customer-sidebar__link:hover,
.st-customer-sidebar__link.active {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  text-decoration: none;
}

.st-customer-sidebar__link-icon {
  width: 1.25rem;
  text-align: center;
  color: #64748b;
  flex-shrink: 0;
}

.st-customer-sidebar__link:hover .st-customer-sidebar__link-icon,
.st-customer-sidebar__link.active .st-customer-sidebar__link-icon {
  color: #2563eb;
}

.st-customer-sidebar__link-text {
  flex: 1;
  min-width: 0;
}

.st-customer-sidebar__badge {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: #2563eb;
}

.st-customer-sidebar__link--logout {
  color: #991b1b;
}

.st-customer-sidebar__link--logout:hover {
  background: #fee2e2;
  border-color: rgba(185, 28, 28, 0.15);
  color: #991b1b;
}

.st-customer-sidebar__logout-form {
  margin: 0;
}

.st-customer-sidebar__logout-form .st-customer-sidebar__link--logout {
  cursor: pointer;
}

.st-customer-projects-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.st-customer-projects-item {
  list-style: none;
}

.st-customer-project-card {
  display: block;
  border: 1px solid #dbeafe;
  border-radius: 0.875rem;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.st-customer-project-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.st-customer-project-card--idle:hover {
  border-color: #dbeafe;
  box-shadow: none;
}

.st-customer-project-card__main {
  padding: 0.875rem;
}

.st-customer-project-card__main-link {
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.st-customer-project-card__main-link--compare {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.875rem;
  align-items: center;
  transition: color 0.15s ease;
}

.st-customer-project-card__main-link--compare:hover {
  color: inherit;
  text-decoration: none;
}

.st-customer-project-card__main-link--compare:hover .st-customer-project-card__go {
  background: #dbeafe;
  color: #1d4ed8;
}

.st-customer-project-card__main-link--static {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.875rem;
  align-items: center;
  cursor: default;
}

.st-customer-project-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 0.875rem 0.875rem;
}

.st-customer-project-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #fff;
  color: #2563eb;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.st-customer-project-card__action:hover {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.25);
  color: #1d4ed8;
  text-decoration: none;
}

.st-customer-project-card__action--primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.st-customer-project-card__action--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.st-customer-project-card__action--muted {
  color: #64748b;
}

.st-customer-project-card__action--muted:hover {
  color: #2563eb;
}

.st-customer-project-card__action--disabled,
.st-customer-project-card__action--disabled:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #94a3b8;
  cursor: default;
  opacity: 1;
}

.st-customer-project-card__action--static {
  cursor: default;
  pointer-events: none;
}

.st-customer-project-card__action--static:hover {
  background: #fff;
  border-color: #dbeafe;
  color: #64748b;
}

.st-customer-project-card__thumb,
.st-customer-project-card__thumb-fallback {
  width: 72px;
  height: 72px;
  border-radius: 0.75rem;
  object-fit: cover;
}

.st-customer-project-card__thumb-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.25rem;
}

.st-customer-project-card__body {
  min-width: 0;
}

.st-customer-project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.st-customer-project-card__top strong {
  font-size: 0.9375rem;
  color: #0f172a;
}

.st-customer-project-card__status {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.st-customer-project-card__location {
  font-size: 0.8125rem;
  color: #64748b;
}

.st-customer-project-card__meta {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.45rem;
  font-size: 0.8125rem;
}

.st-customer-project-card__meta span {
  color: #64748b;
}

.st-customer-project-card__meta strong {
  color: #0f172a;
}

.st-customer-project-card__go {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.st-customer-projects-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed #dbeafe;
  border-radius: 1rem;
  background: linear-gradient(165deg, #f8fbff 0%, #eef6ff 100%);
}

.st-customer-projects-empty__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.35rem;
}

@media (max-width: 767.98px) {
  .st-customer-project-card__main-link--compare,
  .st-customer-project-card__main-link--static {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .st-customer-project-card__main-link--compare .st-customer-project-card__go {
    display: none;
  }

  .st-customer-project-card__thumb,
  .st-customer-project-card__thumb-fallback {
    width: 60px;
    height: 60px;
  }
}

.st-customer-proposals-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #dbeafe;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(255, 255, 255, 0.95));
}

.st-customer-proposals-banner__count {
  font-size: 1.05rem;
  color: #1e3a8a;
}

.st-customer-proposals-banner__text {
  color: #64748b;
  max-width: 36rem;
}

.st-customer-proposals-banner__cta {
  white-space: nowrap;
}

.st-customer-compare__hero {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.st-customer-compare__hero-actions {
  grid-column: 1 / -1;
}

.st-customer-compare__hero-thumb,
.st-customer-compare__hero-fallback {
  width: 72px;
  height: 72px;
  border-radius: 0.75rem;
  object-fit: cover;
}

.st-customer-compare__hero-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.5rem;
}

.st-customer-compare__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2563eb;
}

.st-customer-compare__title {
  font-weight: 700;
  color: #0f172a;
}

.st-customer-compare__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
}

.st-customer-compare__sort-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-customer-compare__sort-label {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  white-space: nowrap;
}

.st-customer-compare__sort-select {
  min-width: 10.5rem;
}

.st-customer-proposals-grid {
  display: grid;
  gap: 0.875rem;
}

.st-customer-proposal-card {
  border: 1px solid #dbeafe;
  border-radius: 0.875rem;
  background: #fff;
  padding: 1rem 1.125rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.st-customer-proposal-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.st-customer-proposal-card--featured {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.1);
}

.st-customer-proposal-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.875rem;
}

.st-customer-proposal-card__installer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.st-customer-proposal-card__logo,
.st-customer-proposal-card__logo-fallback {
  width: 52px;
  height: 52px;
  border-radius: 0.625rem;
  flex-shrink: 0;
}

.st-customer-proposal-card__logo {
  object-fit: cover;
}

.st-customer-proposal-card__logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 700;
}

.st-customer-proposal-card__installer-name {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
}

.st-customer-proposal-card__distance {
  font-size: 0.8125rem;
  color: #64748b;
}

.st-customer-proposal-card__price {
  text-align: right;
}

.st-customer-proposal-card__price-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.125rem;
}

.st-customer-proposal-card__price-value {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
  color: #1d4ed8;
}

.st-customer-proposal-card__intro {
  margin-bottom: 0.875rem;
  color: #334155;
  line-height: 1.5;
}

.st-customer-proposal-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.875rem;
}

.st-customer-proposal-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.st-customer-compare-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px dashed #cbd5e1;
  border-radius: 0.875rem;
  background: #f8fafc;
}

.st-customer-compare-empty__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.35rem;
}

@media (min-width: 768px) {
  .st-customer-compare__hero {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
  }

  .st-customer-compare__hero-actions {
    grid-column: auto;
  }

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

@media (min-width: 1200px) {
  .st-customer-proposals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


.st-customer-proposal-detail__panel {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #dbeafe;
  border-radius: 0.875rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(255, 255, 255, 0.98));
}

.st-customer-proposal-detail__installer-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.st-customer-proposal-detail__installer-name {
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.st-customer-proposal-detail__installer {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

.st-customer-proposal-detail__logo,
.st-customer-proposal-detail__logo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.st-customer-proposal-detail__logo {
  object-fit: cover;
}

.st-customer-proposal-detail__logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1rem;
  font-weight: 700;
}

.st-customer-proposal-detail__title {
  font-weight: 700;
  color: #0f172a;
}

.st-customer-proposal-detail__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.75rem;
}

.st-customer-proposal-detail__stat {
  padding: 0.75rem 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
}

.st-customer-proposal-detail__stat-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.st-customer-proposal-detail__stat-value {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}

.st-customer-proposal-detail__stat-value--price {
  font-size: 1.35rem;
  color: #1d4ed8;
}

.st-customer-proposal-detail__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.875rem;
  font-weight: 600;
}

.st-customer-proposal-detail__sections {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.st-customer-proposal-detail__section {
  padding: 1rem 1.125rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  background: #fff;
}

.st-customer-proposal-detail__section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.st-customer-proposal-detail__section-body {
  color: #334155;
  line-height: 1.6;
}

.st-customer-proposal-detail__section-body p:last-child {
  margin-bottom: 0;
}

.st-customer-proposal-detail__build-step {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.st-customer-proposal-detail__build-step:last-of-type {
  border-bottom: 0;
}

.st-customer-proposal-detail__build-step time {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.st-customer-proposal-detail__build-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.st-customer-proposal-detail__installer-card {
  padding: 1rem 1.125rem;
  border: 1px solid #dbeafe;
  border-radius: 0.875rem;
  background: #f8fafc;
  margin-bottom: 1rem;
}

.st-customer-proposal-detail__disclaimer {
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.55;
}
