:root {
  /* Colors */
  --yamaha-blue: #0054a6;
  --yamaha-dark-blue: #002d72;
  --bg-light: #f5f6fa;
  --card-bg: #ffffff;
  --text-dark: #202021;
  --text-muted: #848589;
  --border-color: #e0e2e6;
  --success-color: #8bc34a;
  
  /* Font */
  --font-family: 'Roboto', sans-serif;
  
  /* Layout sizes */
  --header-height: 70px;
  --sub-header-height: 50px;
  --sidebar-width: 0px;
  --sidebar-expanded-width: 0px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Styles */
header {
  background-color: var(--yamaha-blue);
  color: #ffffff;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  padding: 0 24px;
}

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

.brand img.logo {
  height: 32px;
  filter: brightness(0) invert(1);
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-separator {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.brand-sub {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.user-profile:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.user-name {
  font-size: 14px;
  font-weight: 500;
}

.user-role {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

.user-profile i.arrow {
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-bottom: 3px;
}

/* Sub-header Navigation */
.header-nav {
  background-color: var(--yamaha-dark-blue);
  height: var(--sub-header-height);
  display: flex;
  padding-left: calc(var(--sidebar-width) + 24px);
  transition: padding-left 0.3s ease;
}

body.sidebar-expanded .header-nav {
  padding-left: calc(var(--sidebar-expanded-width) + 24px);
}

.nav-tabs {
  display: flex;
  height: 100%;
}

.nav-tab {
  display: flex;
  align-items: center;
  padding: 0 24px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  height: 100%;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-tab:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  color: #ffffff;
  border-bottom: 3px solid #ffffff;
  font-weight: 700;
}

/* App Container */
.app-container {
  display: flex;
  margin-top: calc(var(--header-height) + var(--sub-header-height));
  flex: 1;
}

/* Sidebar Styles */
.sidebar {
  background-color: #ffffff;
  width: var(--sidebar-width);
  min-height: calc(100vh - var(--header-height) - var(--sub-header-height));
  position: fixed;
  left: 0;
  top: calc(var(--header-height) + var(--sub-header-height));
  z-index: 900;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease;
  overflow: hidden;
}

.sidebar.expanded {
  width: var(--sidebar-expanded-width);
}

.sidebar-menu-btn {
  display: flex;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  color: var(--yamaha-blue);
  font-size: 12px;
  font-weight: 700;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

.sidebar-menu-btn:hover {
  background-color: var(--bg-light);
}

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--yamaha-blue);
}

.sidebar-items {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.sidebar-item:hover, .sidebar-item.active {
  background-color: var(--bg-light);
  color: var(--yamaha-blue);
}

.sidebar-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.sidebar-item-text {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sidebar.expanded .sidebar-item-text {
  opacity: 1;
}

/* Main Content Area */
main.main-content {
  flex: 1;
  margin: 0 auto;
  padding: 40px;
  max-width: 1400px;
  width: 100%;
}

/* Stepper Component */
.stepper-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  position: relative;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  position: relative;
  background: #ffffff;
  padding: 0 12px;
  cursor: pointer;
  user-select: none;
}

.step:hover .step-label {
  color: var(--yamaha-blue);
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid var(--text-muted);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step.completed .step-badge {
  background-color: var(--yamaha-blue);
  border-color: var(--yamaha-blue);
  color: #ffffff;
}

.step.completed .step-label {
  color: var(--text-dark);
}

.step.active .step-badge {
  background-color: var(--yamaha-blue);
  border-color: var(--yamaha-blue);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 84, 166, 0.15);
}

.step.active .step-label {
  color: var(--yamaha-blue);
  font-weight: 700;
}

.step-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
  margin: 0 -8px;
  z-index: 1;
}

.step-line.active {
  background-color: var(--yamaha-blue);
}

/* Simulation Section Styles */
.simulation-title-section {
  margin-bottom: 24px;
}

.simulation-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--yamaha-dark-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.simulation-subtitle {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 400;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Motorcycle Card Styles */
.motorcycle-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.motorcycle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 84, 166, 0.3);
}

.motorcycle-card.selected {
  border: 2px solid var(--yamaha-blue);
  box-shadow: 0 8px 16px rgba(0, 84, 166, 0.1);
  background-color: rgba(0, 84, 166, 0.01);
}

.card-select-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.motorcycle-card.selected .card-select-badge {
  background-color: var(--yamaha-blue);
  border-color: var(--yamaha-blue);
}

.motorcycle-card.selected .card-select-badge::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.motorcycle-image-wrapper {
  height: 140px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}

.motorcycle-image {
  max-height: 100%;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.motorcycle-card:hover .motorcycle-image {
  transform: scale(1.06);
}

.motorcycle-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.motorcycle-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--yamaha-blue);
  margin-bottom: 4px;
}

/* Navigation button at bottom */
.btn-back-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  margin-top: 20px;
}

.btn-back-link:hover {
  color: var(--yamaha-blue);
}

.btn-back-link i {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(135deg);
  margin-right: 8px;
}

/* Simulation Detail Form Styles (Step 3) */
.plan-simulation-container {
  display: none;
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 30px;
  max-width: 1150px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  animation: fadeIn 0.5s ease-in-out;
}

/* Simulation Layout - Step 3 */
.simulation-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .simulation-layout {
    flex-direction: column;
    align-items: center;
  }
  .sim-left-column {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    width: 100% !important;
  }
}

.sim-left-column {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-right: 20px;
  border-right: 1px solid var(--border-color);
}

.sim-bike-img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 16px;
}

.sim-bike-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.4;
}

.sim-bike-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--yamaha-blue);
  margin-bottom: 16px;
}

.btn-details {
  background-color: #3b519e;
  color: #ffffff;
  border: none;
  padding: 8px 30px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-transform: capitalize;
}

.btn-details:hover {
  background-color: var(--yamaha-dark-blue);
}

.sim-right-column {
  flex: 1;
  width: 100%;
}

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

.sim-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.sim-radio-group {
  display: flex;
  gap: 24px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.radio-label input[type="radio"] {
  display: none;
}

.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.radio-label input[type="radio"]:checked + .custom-radio {
  border-color: var(--yamaha-blue);
}

.radio-label input[type="radio"]:checked + .custom-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--yamaha-blue);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Cards Carousel */
.sim-cards-carousel-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  width: 100%;
}

.sim-plan-cards {
  display: flex;
  gap: 16px;
  flex: 1;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.sim-plan-cards::-webkit-scrollbar {
  display: none;
}

.plan-card {
  flex: 0 0 240px;
  width: 240px;
  max-width: 240px;
  min-width: 220px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.plan-card.selected {
  border: 2px solid var(--yamaha-blue);
  background-color: rgba(0, 84, 166, 0.01);
  box-shadow: 0 4px 12px rgba(0, 84, 166, 0.08);
}

.plan-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-card-header-left, .plan-card-header-right {
  display: flex;
  flex-direction: column;
}

.plan-card-header-left .lbl-small, .plan-card-header-right .lbl-small {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.plan-card-header-left .val-large {
  font-size: 26px;
  font-weight: 700;
  color: var(--yamaha-blue);
  line-height: 1.2;
}

.plan-card-header-right {
  text-align: right;
}

.plan-card-header-right .val-medium {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.8;
}

.plan-card-blue-box {
  background-color: #0b2d82;
  color: #ffffff;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 12px;
  flex-grow: 1;
}

.plan-card-blue-box .box-title {
  font-weight: 300;
  opacity: 0.8;
}

.plan-card-blue-box .box-highlight {
  font-weight: 700;
  font-size: 12px;
  margin: 2px 0;
  text-transform: uppercase;
}

.plan-card-blue-box .box-text {
  font-weight: 300;
  opacity: 0.8;
}

.plan-card-footer {
  font-size: 10px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
  margin-top: auto;
}

.plan-card-footer span {
  font-weight: 700;
  color: var(--text-dark);
}

.carousel-arrow {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  color: var(--yamaha-blue);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.carousel-arrow:hover {
  background-color: var(--bg-light);
  border-color: var(--text-muted);
}

.sim-info-link {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sim-info-link a {
  color: var(--yamaha-blue);
  text-decoration: underline;
}

.sim-disclaimer-text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 20px 0;
  border-left: 3px solid var(--border-color);
  padding-left: 10px;
}

.btn-primary {
  background-color: var(--yamaha-blue);
  color: #ffffff;
  border: none;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background-color: var(--yamaha-dark-blue);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Floating Elements (Chat bubbles) */
.floating-widgets {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.chat-bubble {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #3b5998; /* standard blue chat icon */
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-bubble:hover {
  transform: scale(1.1);
}

.chat-bubble.whats {
  background-color: #25d366;
}

.chat-bubble.libera {
  background-color: var(--yamaha-blue);
}

.chat-bubble svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Footer Styles */
footer {
  background-color: #283769;
  color: #ffffff;
  padding: 40px 24px 0 24px;
  padding-left: calc(24px + var(--sidebar-width));
  border-top: 4px solid var(--yamaha-blue);
  font-size: 13px;
  line-height: 1.8;
  transition: padding-left 0.3s ease;
}

body.sidebar-expanded footer {
  padding-left: calc(24px + var(--sidebar-expanded-width));
}

.footer-top-btn-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.btn-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 24px;
  border-radius: 30px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-top:hover {
  background-color: #ffffff;
  color: #283769;
  border-color: #ffffff;
}

.btn-top i.arrow-up {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-135deg);
  margin-top: 4px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-column h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

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

.contact-item h6 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-section img {
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Cadastro Container & Stepper */
.cadastro-container {
  padding: 20px 40px;
  animation: fadeIn 0.5s ease-in-out;
  max-width: 1200px;
  margin: 0 auto;
}

.back-to-sim-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-to-sim-link:hover {
  color: var(--yamaha-blue);
}

.cadastro-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--yamaha-dark-blue);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* Sub-stepper */
.sub-stepper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.sub-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.sub-step.active {
  color: var(--yamaha-blue);
  font-weight: 700;
}

.sub-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.sub-step.active .sub-step-num {
  background-color: var(--yamaha-blue);
  color: #ffffff;
}

.sub-step-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
  max-width: 400px;
}

/* Cadastro Card & Fields */
.cadastro-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.form-section-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.form-row-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

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

@media (max-width: 600px) {
  .form-row-5 {
    grid-template-columns: 1fr;
  }
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 38.5%;
}

@media (max-width: 992px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.form-field {
  width: 100%;
}

.form-field input, .form-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  background-color: #f2f4f7;
  color: var(--text-dark);
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  font-family: var(--font-family);
  height: 48px;
}

.form-field input:focus, .form-field select:focus {
  background-color: #ffffff;
  border-color: var(--yamaha-blue);
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.08);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 36px;
}

.form-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.btn-text-back {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.btn-text-back:hover {
  color: var(--yamaha-blue);
}

.btn-primary-form {
  background-color: var(--yamaha-blue);
  color: #ffffff;
  border: none;
  padding: 12px 40px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 84, 166, 0.15);
}

.btn-primary-form:hover {
  background-color: var(--yamaha-dark-blue);
}

.btn-primary-form.disabled {
  background-color: #e0e0e0;
  color: #9e9e9e;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

/* Verification Page Styles (Step 5) */
.verif-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.verif-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.verif-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--yamaha-blue);
  text-transform: capitalize;
  margin: 0;
}

.btn-edit-section {
  background-color: #3b519e;
  color: #ffffff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  padding: 0;
}

.btn-edit-section:hover {
  background-color: var(--yamaha-dark-blue);
}

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

.verif-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.verif-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.verif-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: none;
}

.verif-val {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

@media (max-width: 768px) {
  .verif-grid-4, .verif-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .verif-grid-4, .verif-grid-3, .verif-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Envio Choices Card Styles (Step 6) */
.envio-card-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  max-width: 550px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.envio-sub-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.envio-sub-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}

.envio-sub-step.completed {
  border-color: #25d366;
  background-color: #ffffff;
  color: #25d366;
}

.envio-sub-line {
  width: 40px;
  height: 1px;
  background-color: #e0e0e0;
}

.envio-sub-line.active {
  background-color: #25d366;
}

.envio-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--yamaha-blue);
  margin-bottom: 20px;
  text-align: left;
}

.envio-radio-group {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.envio-info-banner {
  display: flex;
  gap: 12px;
  background-color: #e8f4fd;
  border-radius: 6px;
  padding: 16px;
  margin: 20px 0;
  align-items: center;
}

.envio-info-icon {
  color: #1976d2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.envio-info-text {
  color: #1976d2;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.btn-confirm-envio {
  width: 100%;
  background-color: #3b519e;
  color: #ffffff;
  border: none;
  padding: 14px 0;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.btn-confirm-envio:hover {
  background-color: var(--yamaha-dark-blue);
}

.cadastro-card.envio-mode {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Category Selector (Step 1) Styles */
.category-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.category-card-large {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: #0b2d82;
  flex: 1;
  max-width: 480px;
  aspect-ratio: 2.3 / 1;
}

.category-card-large::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 84, 166, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}

.category-card-large:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 84, 166, 0.15);
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.category-card-large:hover .category-img {
  transform: scale(1.04);
}

.category-label {
  position: absolute;
  bottom: 20px;
  left: 24px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  z-index: 2;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

@media (max-width: 520px) {
  .category-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .category-card-large {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 2.3 / 1;
  }
}

/* Comprehensive Mobile (width < 600px) Layout Optimizations */
@media (max-width: 600px) {
  /* Header clean logo layout */
  .user-profile {
    display: none !important;
  }
  .brand-title {
    font-size: 16px !important;
  }
  .brand-sub {
    font-size: 13px !important;
  }
  .brand {
    gap: 8px !important;
  }
  .header-top {
    padding: 0 16px !important;
  }
  .nav-tab {
    font-size: 11px !important;
    padding: 10px 8px !important;
  }

  /* Sidebar responsive setup */
  .sidebar {
    position: fixed !important;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    transform: translateX(-100%);
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
  }
  .sidebar.expanded {
    transform: translateX(0);
  }

  /* Main content spacing recovery */
  main.main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 16px 12px !important;
  }

  /* Stepper container adjustments */
  .stepper-container {
    padding: 10px 8px !important;
    margin-bottom: 20px !important;
    gap: 4px !important;
  }
  .step-label {
    font-size: 11px !important;
  }
  .step-badge {
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
    min-width: 22px;
  }
  .step-line {
    margin: 0 4px !important;
  }

  /* Double-column Product Grid on Mobile for compact display */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .motorcycle-card {
    padding: 12px 8px !important;
  }
  .motorcycle-image-wrapper {
    height: 100px !important;
    margin-bottom: 8px !important;
  }
  .motorcycle-name {
    font-size: 11px !important;
    height: 28px !important;
    margin-bottom: 4px !important;
  }
  .motorcycle-price {
    font-size: 13px !important;
  }

  /* Simulation Detail (Step 3) Mobile Layout */
  .plan-simulation-container {
    padding: 16px 12px !important;
  }
  .sim-left-column {
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid var(--border-color);
  }
  .sim-bike-name {
    font-size: 18px !important;
  }
  .sim-bike-price {
    font-size: 20px !important;
  }
  .plan-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    max-width: 220px !important;
    min-width: 200px !important;
  }
  .sim-radio-group {
    flex-direction: column;
    gap: 12px;
  }

  /* Cadastro Form (Step 4) Mobile Layout */
  .cadastro-card {
    padding: 20px 16px !important;
  }
  .cadastro-title {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }
  .sub-stepper {
    margin-bottom: 20px !important;
    gap: 8px !important;
  }
  .sub-step-label {
    font-size: 11px !important;
  }

  /* Verification proposal table (Step 5) Mobile Layout */
  .verif-grid-3, .verif-grid-4, .verif-grid-2 {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .verif-section {
    padding: 16px 12px !important;
  }

  /* Envio selection card (Step 6) Mobile Layout */
  .envio-card-wrapper {
    padding: 20px 16px !important;
  }
}
