/* Estilos Gerais */
body {
  padding-top: 100px;
  background: radial-gradient(circle at center, #0b253a 0%, #050a15 100%);
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #fff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}
.navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.navbar.scrolled {
  background-color: rgba(0, 8, 20, 0.8);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
} 
header {    
  top: 0;
  left: 0;
  right: 0;
  z-index: 1060;
}
header .nav-item a {
  font-family: 'MuseoModerno', cursive;
  font-weight: 300;
  color: #cbd5e1;
  font-size: 0.9rem;
}
header .nav-item a:hover {
  color: #FBBE0A;
  border-bottom: 0.5px solid #FBBE0A;
  transition: all 0.3s ease;
}
header .nav-item a.active {
  color: #FBBE0A;
  border-bottom: 0.5px solid #FBBE0A;
}
header .brand-name {
  font-family: 'Audiowide', cursive;
  font-size: 1.7rem;
  font-weight: 400;
  color: #FBBE0A;
}

.header-dropdown .dropdown-item {
  padding: 5px !important;
}

.header-dropdown .dropdown-item:hover {
  background-color: transparent !important;
  color: #FBBE0A !important;
  border: none !important;
}
@media (min-width: 768px) {
  #header-logo img {
      max-width: 180px !important;
  }
}
.navbar-toggler-icon {
  color: #FBBE0A;
}
.view-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  font-family: 'MuseoModerno', cursive;
}
option {
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  background-color: #000814;
  border: none;
  outline: none;
  
}

/* Rodapé */
.main-footer {
  color: #fff;
  padding: 36px 0 18px 0;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  margin-top: 40px;
}
.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-brand {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #FBBE0A;
}
.footer-brand-fixed {
  position: fixed;
  right: 5%;
  bottom: 5%;
  z-index: 1000;
  cursor: pointer;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin: 8px 0;
}
.footer-social a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #FBBE0A;
}
.footer-links {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 8px;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer-links a:hover {
  color: #FBBE0A;
  text-decoration: none;
}
.footer-copy {
  font-size: 0.95rem;
  color: #717171;
  margin-top: 8px;
}

/* Index/Seção Principal */
.main-section {
  background: transparent;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px 0;
  color: #fff;
}
.main-section .banner-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;  
}
.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
.main-section .container {
  width: 80%;
  margin: 0 auto;
}
.main-section .title {
  font-size: 2.5rem;
  font-weight: 500;    
  padding-bottom: 0px;
  font-family: 'MuseoModerno', cursive;
  color: #fff;
  text-align: start;
  /* Animação de entrada */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.5s ease-out forwards;
}  
/* Keyframes para a animação */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}  
.main-section .subtitle {
  font-size: 1.3rem;
  color: #cbd5e1;
  margin-bottom: 38px;
  font-weight: 300;
  text-align: start;
    /* Animação de entrada */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1s ease-out forwards;
  }  
  /* Keyframes para a animação */
  @keyframes fadeSlideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
}
.search-bar {
  display: flex;
  align-items: center;
  background: #232b3e;
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
  padding: 8px 12px 8px 8px;
  margin-bottom: 18px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  gap: 10px;
} 
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: .9rem;
  padding: 10px 8px;
  outline: none;
}
.search-bar input::placeholder {
  color: #94a3b8;
  opacity: 1;
}
.search-bar button {
  background: #2B82BC;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.search-bar button:hover {
  background: #1C5C91;
}
.suggestions-title {
  font-size: 0.9rem;
  font-weight: 300;
  color: #fff;   
  margin-bottom: 10px;
}
.main-section .suggestion-item button {
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #232b3e;
  border-radius: 16px;
  cursor: pointer;
  color: #fff;
}
.main-section .suggestion-item button:hover {    
  border: 1px solid #2B82BC;
}
.home-main-button {
  background-color: #FBBE0A !important;
  color: #232b3e !important; 
  border-radius: 8px;
  border: none;
  padding: 10px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.home-main-button:hover {
  background-color: #bb8c01!important;
}

.delayed-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 1.2s; /* um pouco depois do subtítulo */
}
.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #232b3e;
}
.dropdown-menu {
  list-style: none;
  border-radius: 16px;
  background: #232b3e !important;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
  padding: 10px 20px;
  margin-bottom: 10px;
  width: 94%;
  left: 2% !important;
}
.search-list {
  background: #232b3e;
  transition: background-color 0.2s ease;
}
.search-list:hover {
  background: #2a3550;
}
.search-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding: 8px;
  transition: all 0.2s ease;
}
.search-list a:hover {
  color: #FBBE0A;
  background: rgba(251, 190, 10, 0.1);
  text-decoration: none;
}
.search-list-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}
.search-list-image img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.search-list-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.search-list-ticker {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.search-list-name {
  color: #b0b8c9;
  font-size: 0.92rem;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.painel-expert-button {
  background-color: #FBBE0A !important;
  color: #232b3e !important; 
}
.painel-expert-button:hover {
  background-color: #bb8c01!important;
}
    
/* Index/Seções Secundárias */
.second-section, .pricing-section {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0 50px 0;
  color: #fff;
  margin-bottom: 50px;
}
.second-section .container, .pricing-section .container {
  width: 80%;
  margin: 0 auto;
  text-align: start;
}   
.second-section .section-title, .pricing-section .section-title {
  font-size: 2rem;
  font-weight: 500;
  padding-bottom: 0px;
  font-family: 'MuseoModerno', cursive;
  color: #FBBE0A;
  /* background: linear-gradient(to left, #2B82BC, #Fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; */
}
.second-section .section-description, .pricing-section .section-description {
  font-size: 1rem;
  font-weight: 300;
  color: #cbd5e1;
  margin-bottom: 38px;
  font-family: 'Raleway', sans-serif;
  margin-top: 20px;
}
.module-name {
  font-size: 1rem;
  font-weight: 500;
  color: #f1f1f1;
  margin-bottom: 20px;
  font-family: 'Raleway', sans-serif;
  text-align: start;
}
.module-name i {
  color: #FBBE0A;
}



.flow-box-container {
    background: linear-gradient(270deg,  #1C5C91, #232b3e);
    background-size: 400% 100%;
    border-radius: 16px;
    padding: 10px 20px;
    animation: pulseGradient 3s ease-in-out infinite alternate;
    }

    @keyframes pulseGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}  
.flow-box {  
  padding: 10px 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #cbd5e1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-box i {
    font-size: 1.5rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-left: 20px;
}
.flow-box-end {    
    font-size: 1rem;
    font-weight: 600;
    color: #FBBE0A;
}
.card-box {
  background-color: #232b3e;
  border: 1px solid #232b3e;
  border-radius: 16px;
  padding: 10px 20px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #cbd5e1;
  cursor: pointer;
}
.card-box-description {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%; 
  transform: translateX(-50%);
  z-index: 10;
  padding: 10px 20px;
  min-width: 220px;
  max-width: 300px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #cbd5e1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.card-box:hover {
    border: 1px solid #2B82BC;
}
.card-box:hover + .card-box-description {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.card-box-reference {
  background: linear-gradient(90deg,#232b3e, #0e2e49);
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
  padding: 32px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 400px;
  position: relative;
  transition: box-shadow 0.2s, border 0.2s;
}
.card-box-reference img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}
.card-box-reference span {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  text-align: center;
  display: block;
}
.card-box-reference .description-reference {
  margin-top: 0;
  padding: 0 10px 10px 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #cbd5e1;
  text-align: center;
}
.section-highlight {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 12px;
  text-align: center;
  display: block;
}

/* Index/Seção de Preços */
.pricing-badge {
  margin-top: 20px;
  overflow: hidden;
  width: 100%;
}

.moving-banner {
  background: linear-gradient(90deg, #FBBE0A, #bb8c01, #FBBE0A);
  padding: 12px 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(54, 172, 3, 0.3);
}

.banner-content {
  display: flex;
  animation: moveBanner 20s linear infinite;
  white-space: nowrap;
}

.banner-text {
  color: #000;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  padding: 0 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

@keyframes moveBanner {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Efeito hover para pausar a animação */
.moving-banner:hover .banner-content {
  animation-play-state: paused;
}

.pricing-badge .badge {
  font-size: 1.5rem;  
  padding: 10px 20px;
  border-radius: 2px;  
  color:#1C5C91;
  background-color: #FBBE0A;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
}

.card-box-pricing {
  background: #232b3e;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 480px;
  position: relative;
  transition: all 0.3s ease;
  margin-bottom: 24px;
  border: 1px solid transparent;
}

.card-box-pricing:hover {
  border: 1.5px solid #2B82BC;
  transform: translateY(-5px);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
  cursor: pointer;
}

.partner-card {
  background: #232b3e;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  transition: all 0.3s ease;
  margin-bottom: 24px;
  border: 1px solid transparent;
}

.main-card-pricing {
  background: linear-gradient(135deg, #1C5C91 0%, #2B82BC 100%);
  border: 2px solid #FBBE0A;
}

.main-card-pricing:hover {
  border: 2px solid #FBBE0A;
  transform: translateY(-8px);
}

.premium-card {
  background: linear-gradient(135deg, #000 0%, #1a253a 100%);
  border: 1px solid #2a3550;
  opacity: 0.8;
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.plan-badge .badge {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 15px;
  font-weight: 500;
}

.plan-header {
  text-align: center;
  margin-bottom: 24px;
  width: 100%;
}

.title-pricing {
  font-family: 'MuseoModerno', cursive;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  text-align: center;
  display: block;
}

.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.price-pricing-discount {
  font-size: 1.2rem;
  color: #cbd5e1;  
  opacity: 0.7;
  display: block;
}

.price-pricing {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: #cbd5e1;
  opacity: 0.8;
  display: block;
}

.plan-features {
  flex: 1;
  width: 100%;
  margin-bottom: 24px;
}

.features-title {
  color: #FBBE0A;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.description-pricing {
  font-size: 0.9rem;
  font-weight: 400;
  color: #cbd5e1;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.description-pricing li {
  margin-bottom: 8px;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.description-pricing li i {
  margin-top: 2px;
  flex-shrink: 0;
}

.btn-pricing {
  background: #FBBE0A;
  color: #232b3e;
  border: none;
  border-radius: 16px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-pricing:hover {
  background: #bb8c01;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 190, 10, 0.3);
}

.btn-pricing:disabled {
  background: #2a3550;
  color: #717171;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pricing-note {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

.pricing-note i {
  color: #FBBE0A;
}

/* Responsividade para seção de preços */
@media (max-width: 768px) {
  .card-box-pricing {
    min-height: auto;
    padding: 24px 16px 20px 16px;
  }
  
  .title-pricing {
    font-size: 1.2rem;
  }
  
  .price-pricing {
    font-size: 1.8rem;
  }
  
  .description-pricing {
    font-size: 0.85rem;
  }
  
  .description-pricing li {
    margin-bottom: 6px;
  }
  
  .btn-pricing {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  
  .plan-badge {
    top: -8px;
  }
  
  .plan-badge .badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
  
  /* Ajustes para plan-features no mobile */
  .plan-features li {
    margin-bottom: 4px;
    padding: 2px 0;
    font-size: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .plan-features li i {
    margin-right: 6px;
    margin-top: 0;
    flex-shrink: 0;
  }
  
  .plan-features li:before {
    left: 2px;
  }
}

@media (max-width: 576px) {
  .pricing-section .container {
    width: 95%;
  }
  
  .card-box-pricing {
    margin-bottom: 16px;
  }
  
  .pricing-badge .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  /* Ajustes adicionais para telas muito pequenas */
  .plan-features li {
    margin-bottom: 3px;
    padding: 1px 0;
    font-size: 1rem;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .plan-features li i {
    margin-right: 4px;
    margin-top: 0;
    flex-shrink: 0;
  }
  
  .plan-features li:before {
    left: 0;
  }
}

/* Página de Ações/Principal */

/* Breadcrumb */
.breadcrumb {
  background: transparent !important;
  margin-left: 0px !important;
  padding-left: 0px !important;
}
.breadcrumb-item,
.breadcrumb-item a {
  font-size: 0.9rem;
  font-weight: 400;
  color: #717171 !important;
}
.breadcrumb-item a:hover {
  color:#FBBE0A !important;
  text-decoration: none;
}
.breadcrumb-item.active {
  font-size: 0.9rem;
  font-weight: 400;
  color: #FBBE0A !important;
}
.breadcrumb-item+.breadcrumb-item::before {
  content: "·" !important;
  color: #717171 !important;
}

/* Stock Header */
.stock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px;
}
.theme-mode-btn {
  color: #fff;
  background-color: transparent;
  border: 1px solid #2a3550;
  border-radius: 999px;
  transition: all 0.3s ease;
  font-size: 0.8rem;
  margin-left: 16px;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-mode-btn:hover {
  color: #fff;
  border-color: 1C5C91;
}
.theme-mode-btn i {
  font-size: 1rem;
}

.stock-info-wrapper {
  display: flex;
  align-items: center;
}
.logo-stock {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-stock img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.stock-info h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.stock-info .ticker {
  color: #aaa;
  font-size: 0.9rem;
  display: block;
  margin-top: 2px;
}
.search-box {
  display: flex;
  align-items: center;
  background: #22304a;
  border-radius: 8px;
  overflow: hidden;
}
.search-box input {
  background: transparent;
  border: none;
  padding: 10px 8px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  width: 220px;
}
.search-box .search-btn {
  background: #2B82BC;
  border: none;
  color: #fff;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 1rem;
}
.search-box .search-btn:hover {
  background: #1C5C91;
}

/* Stock Dashboard Navbar */
.dashboard-nav {
  margin-bottom: 16px;
  background-color: #000814;
  border-radius: 8px;
}
.dashboard-nav .tab button {
  background-color: transparent;
  border: none;
  color: #717171;
  font-size: 0.8rem;
  font-weight: 400;
  border-radius: 0;
  transition: background 0.3s, color 0.3s;
  padding: 0px;
}
.dashboard-nav .tab button:hover {
  color: #fff;
}
.dashboard-nav .tab button.active,
.companies-nav .tab button.active {
  color: #FBBE0A;
  font-weight: 500;
}
.dashboard-nav .tab button:focus,
.companies-nav .tab button:focus {
  box-shadow: none;
}
.companies-nav {
  background-color: transparent;
}
.companies-nav .tab button {
  border: none;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 400;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
  padding: 0;
  margin: 5px;
}
.companies-nav .tab button:hover {
  color: #FBBE0A;
  cursor: pointer;
}
.pill-selector {
  display: inline-flex;
  border-radius: 8px;
  overflow: hidden;
  background-color: #232b3e;
  font-size: 0.7rem;
  text-align: center;
}
.pill-option {
  all: unset;
  cursor: pointer;
  padding: 6px 16px;
  width: 50px;
  color: #fff;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.pill-option.active {
  background-color: #FBBE0A;
  color: #232b3e;  
  font-weight: 500;
}
.pill-option:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Stock Dashboard Board */
.card {
  /* background-color: #232b3e !important; */
  border: 1px solid #232b3e !important;
  background: transparent !important;
}
.chart-placeholder {
  /* background-color: #1a253a; */
  height: 300px;
  border-radius: 8px;
}
.chart-card h5, 
.table-card h5{
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
  color: #fff;
  margin-bottom: 12px;
  text-align: center;
  display: block;
  text-align: start;
}
.chart-card h1,
.table-card h1{
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  color: #fff;
  margin-bottom: 12px;
}
.chart-card p,
.table-card p{
  font-size: 0.8rem;
  font-weight: 400;
  font-family: 'Raleway', sans-serif;
  color: #717171;
  margin-bottom: 12px;
  text-align: center;
  display: block;
  text-align: start;
} 
.chart-card .btn, .action-buttons .btn {
  background: transparent;
  border: none;
  color: #717171;
  font-size: 0.9rem;
  font-weight: 400;
  position: absolute;
  top: 0;
  right: 0;
}
.chart-card .btn:hover{
  color: #FBBE0A; 
  background-color: transparent;
}

/* Sem fundo por padrão */
.stock-header-fixed {
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: none;
  background: transparent;
  transition: all 0.3s ease;
}
/* Fundo visível após scroll */
.stock-header-fixed.scrolled,
.dashboard-nav.scrolled,
.companies-nav.scrolled {
  background-color: #000814;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

/* Tabelas de Fleuriet */
.fleuriet-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: auto;
  background-color: transparent;
  font-size: 0.7rem;
  color: #FFF;
  font-family: 'Raleway', sans-serif;
}

.fleuriet-table thead th {
  background-color: transparent !important;
  color: #FFF;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  padding: 10px 6px;
  border-radius: 2px;
}

.fleuriet-table tbody td:first-child {
  background-color: #000814 !important;
  color: #FFF;
  text-align: left;
  padding-left: 10px;
  border-radius: 2px;
}

.fleuriet-table tbody td {
  background-color: transparent;
  padding: 6px;
  color: #FFF;
  white-space: nowrap;
  vertical-align: middle;
}

.fleuriet-table td span {
  padding: 4px 6px;
  border-radius: 3px;
  display: inline-block;
  width: 100%;
  font-weight: 400;
}

.fleuriet-table th,
.fleuriet-table td {
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  text-align: center;
  white-space: nowrap;
}

.fleuriet-table th:first-child,
.fleuriet-table td:first-child {
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  text-align: left;
}

/* Estilos específicos para spans com classes de background */
.fleuriet-table td span.bg-solid {
  background-color: #4682b4;
  color: #FFF;
}

.fleuriet-table td span.bg-excelente {
  background-color: #3cb371;
  color: #FFF;
}

.fleuriet-table td span.bg-insatisfatoria {
  background-color: #FFD700;
  color: #383838;
}

.fleuriet-table td span.bg-pessima {
  background-color: #ff7f7f;
  color: #FFF;
}

.fleuriet-table td span.bg-muito_ruim {
  background-color: #8b0000;
  color: #FFF;
}

.fleuriet-table td span.bg-alto_risco {
  background-color: #000000;
  color: #FFF;
}

/* Valuation*/
.valuation-slider {
  width: 100%;
  height: 6px;
  background-color: #1a253a;
  border-radius: 3px;
  margin-top: 6px;
  margin-bottom: 12px;
  -webkit-appearance: none;
  appearance: none;
}
.valuation-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background-color: #FBBE0A;
  border: 2px solid #232b3e;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s;
  cursor: pointer;
  margin-top: -5px; /* centraliza verticalmente o thumb */
}
.valuation-slider:focus::-webkit-slider-thumb,
.valuation-slider::-webkit-slider-thumb:hover {
  background-color: #ffd84a !important;
}

.valuation-slider::-moz-range-thumb {
  background-color: #FBBE0A !important;
  border: 2px solid #232b3e !important;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s;
  cursor: pointer;
}
.valuation-slider:focus::-moz-range-thumb {
  background-color: #ffd84a !important;
}
.valuation-slider::-ms-thumb {
  background-color: #FBBE0A !important;
  border: 2px solid #232b3e !important;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.2s;
  cursor: pointer;
}
.valuation-slider::-webkit-slider-runnable-track {
  background-color: #232b3e;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}
.valuation-slider::-moz-range-track {
  background-color: #232b3e;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}
.valuation-slider::-ms-fill-lower,
.valuation-slider::-ms-fill-upper {
  background-color: #232b3e;
}
.valuation-slider:focus {
  outline: none;
}
.valuation-slider:focus {
  outline: none;
}
#valuation-control label.form-label,
#company-shareholders label.form-label,
#comparison-table .form-label {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 400;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
  opacity: 0.85;
}
#valuation-control .form-control[type="number"],
#valuation-control .form-control[type="text"] {
  background: #232b3e !important;
  color: #fff !important;
  border: none !important;
  font-size: 0.8rem;
  font-family: 'Raleway', sans-serif;
  box-shadow: none;
  transition: border 0.2s;
}
#valuation-control .form-control[type="number"]:focus,
#valuation-control .form-control[type="text"]:focus {
  border: 1.5px solid #FBBE0A;
  background: #1a253a !important;
  color: #fff !important;
  outline: none;
}
#valuation-control .input-group-text {
  background: #232b3e !important;
  color: #FBBE0A !important;
  border: none !important;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 0;
}
#valuation-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
}
#valuation-table th,
#valuation-table td {
  border: 0.5px solid #232b3e;
  padding: 8px;
  text-align: center;
}
#valuation-table th {
  background-color: transparent;
  color: #FFF;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}
#valuation-table td {
  background-color: transparent;
  color: #FFF;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}
#valuation-table td:hover {
  background-color: #1C5C91;
}
.valuation-result,
.company-info {
  font-size: 0.8rem;
  font-weight: 400;
  font-family: 'Raleway', sans-serif;
  color: #FBBE0A;
}

/* Rating */
#rating-bar-wrapper {
  position: relative;
  width: 100%;
  max-width: 250px;
  height: 10px;
  background: linear-gradient(to right, red, yellow, green);
  border-radius: 8px;
}

#rating-indicator {
  position: absolute;
  top: -6px;
  width: 6px;
  height: 20px;
  background: #fff;
  border-radius: 4px;
  transition: left 0.3s ease;
}

/* Stock Light Mode */
body.light-mode {
  background-color: #f9f9f9 !important;
  color: #1a1a1a;
  background: #f9f9f9 !important;
}
body.light-mode header .nav-item a {
  color: #232b3e !important;
  font-weight: 400;
}
body.light-mode header .nav-item a:hover {
  color: #FBBE0A !important;
} 
body.light-mode header .nav-item a.active {
  color: #FBBE0A !important;
}
body.light-mode .main-footer .footer-container {
  color: #232b3e !important;
}
body.light-mode .footer-links a {
  color: #232b3e !important;
}
body.light-mode .footer-social a {
  color: #232b3e !important;
}
body.light-mode .stock-header-fixed.scrolled {
  background-color: #eaeaea;
}

/* BreadCrumb */
body.light-mode .breadcrumb-item,
body.light-mode .breadcrumb-item a {
  color: #666 !important;
}
body.light-mode .breadcrumb-item.active {
  color: #1C5C91 !important;
}
body.light-mode .breadcrumb-item + .breadcrumb-item::before {
  color: #bbb !important;
}
/* Stock Header */
body.light-mode .stock-info h2 {
  color: #232b3e;
}
body.light-mode .stock-info .ticker {
  color: #555;
}
body.light-mode .search-box {
  background: #e4e4e4;
}
body.light-mode .search-box input {
  background: transparent;
  color: #232b3e;
}
body.light-mode .search-box .search-btn {
  background: #1C5C91;
  color: #fff;
}
body.light-mode .search-box .search-btn:hover {
  background: #125ac2;
}
/* Botão modo tema */
body.light-mode .theme-mode-btn {
  background-color: #252933;
  border-color: #252933;
  color: #ccc;
}
/* Navbar de abas */
body.light-mode .dashboard-nav {
  background-color: #252933;
}
body.light-mode .dashboard-nav .tab button {
  color: #ccc;
}
body.light-mode .dashboard-nav .tab button:hover {
  color: #FBBE0A;
}
body.light-mode .dashboard-nav .tab button.active {
  color: #FBBE0A;
}
/* Cards */
body.light-mode .card {
  background-color: #ffffff !important;
  border-color: #ddd !important;
}
body.light-mode .chart-placeholder {
  background-color: #252933;
}
body.light-mode .chart-card h5 {
  color: #232b3e;
  font-weight: 600;
}
body.light-mode .chart-card p {
  color: #555;
}
body.light-mode .chart-card .btn {
  color: #999;
}
body.light-mode .chart-card .btn:hover {
  color: #0056b3;
}

/* Autenticação */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 20px;
}
.auth-box {
  background: #000814;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}
.auth-title {
  font-family: 'MuseoModerno', cursive;
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 24px;
  text-align: center;
}
.auth-description {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  text-align: center;
}
.auth-form .form-group {
  margin-bottom: 20px;
}
.auth-form label {
  display: block;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}
.auth-form .form-control {
  width: 100%;
  padding: 12px;
  background: #1a253a;
  border: 1px solid #2a3550;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}
.auth-form .form-control:focus {
  outline: none;
  border-color: #FBBE0A;
}
.auth-form .btn-auth {
  width: 100%;
  padding: 12px;
  background: #FBBE0A;
  color: #232b3e;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.auth-form .btn-auth:hover {
  background: #bb8c01;
}
.forgot-password,
.back-to-login {
  display: block;
  color: #cbd5e1;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;
  transition: color 0.3s ease;
}
.forgot-password:hover,
.back-to-login:hover {
  color: #FBBE0A;
  text-decoration: none;
}
.text-center {
  text-align: center;
}

/* Checkout */
.checkout-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 100px);
  font-family: 'Raleway', sans-serif;
}

.checkout-box {
  padding: 16px;
  width: 100%;
  max-width: 1200px;
}

.checkout-header {
  margin-bottom: 24px;
  border-bottom: 1px solid #2a3550;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.checkout-logo {
  width: 250px;
  flex-shrink: 0;
}

.checkout-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.checkout-title {
  font-family: 'MuseoModerno', cursive;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  text-align: center;
}
.plan-summary {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.plan-info {
  border-radius: 12px;
  padding: 20px;
  flex: 1;
  max-width: 400px;
  text-align: center;
  margin-top: 16px;
  font-family: 'Raleway', sans-serif;
}

.plan-info h3 {
  color: #FBBE0A;
  font-size: 2rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.original-price {
  color: #cbd5e1;
  text-decoration: line-through;
  font-size: 0.9rem;
  opacity: 0.7;
}

.current-price {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}

.discount-badge {
  background: #FBBE0A;
  color: #232b3e;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.plan-description {
  color: #cbd5e1;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

.checkout-content {
  padding: 0;
}

.checkout-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.checkout-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-option {
  background: #1a253a;
  border: 2px solid #2a3550;
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-option:hover {
  border-color: #FBBE0A;
  transform: translateX(4px);
}

.product-option.selected {
  border-color: #FBBE0A;
  background: #1c2a3e;
}

.product-option h3 {
  font-family: 'MuseoModerno', cursive;
  font-size: 1.1rem;
  color: #FBBE0A;
  margin-bottom: 4px;
}

.product-option .price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.product-option .product-description {
  color: #cbd5e1;
  font-size: 0.85rem;
  margin: 0;
}

.form-section {
  background: #1a253a;
  border-radius: 12px;
  padding: 16px;
}

.form-section h3 {
  font-family: 'MuseoModerno', cursive;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-option {
  background: #232b3e;
  border: 1px solid #2a3550;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover {
  border-color: #FBBE0A;
}

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

.payment-option input[type="radio"]:checked + label {
  color: #FBBE0A;
}

.payment-option label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #cbd5e1;
  font-size: 0.85rem;
}

.payment-option .payment-price {
  font-weight: 600;
  color: #fff;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.form-group .form-control {
  width: 100%;
  padding: 8px;
  background: #232b3e;
  border: 1px solid #2a3550;
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  transition: border-color 0.3s ease;
}

.form-group .form-control:focus {
  outline: none;
  border-color: #FBBE0A;
}

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

.btn-checkout {
  width: 100%;
  padding: 12px;
  background: #FBBE0A;
  color: #232b3e;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: auto;
}

.btn-checkout:hover {
  background: #bb8c01;
}

/* Novos elementos dos checkouts específicos */
.plan-details {
  background: #1a253a;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.plan-details h3 {
  color: #FBBE0A;
  font-size: 1.1rem;
  margin-bottom: 16px;
  text-align: center;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 8px;
  padding: 4px 0;
  line-height: 1.4;
}

.plan-features li i {
  color: #3cb371;
  margin-right: 8px;
  margin-top: 2px;
  flex-shrink: 0;
}

.checkout-summary {
  background: #1a253a;
  border-radius: 12px;
  padding: 16px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #2a3550;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.checkout-note {
  margin-top: 16px;
}

.checkout-note p {
  color: #cbd5e1;
  font-size: 0.8rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.checkout-note i {
  color: #FBBE0A;
  margin-right: 8px;
}

@media (max-width: 992px) {
  .checkout-box {
    padding: 12px;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .checkout-logo {
    width: 150px;
  }
  
  .checkout-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .plan-info {
    padding: 16px;
    text-align: center;
    max-width: none;
  }
  
  .plan-info h3 {
    justify-content: center;
  }
  
  .current-price {
    font-size: 1.5rem;
  }
  
  .plan-details {
    padding: 16px;
  }
}

/* Conta do Usuário */
.account-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 100px);
  padding: 12px;
  margin-top: 2rem;
}

.account-box {
  background: #232b3e;
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  max-width: 1200px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.account-title {
  font-family: 'MuseoModerno', cursive;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  text-align: center;
}

.account-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
}

.account-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-item {
  background: #1a253a;
  border: none;
  border-radius: 8px;
  padding: 12px;
  color: #cbd5e1;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-item:hover {
  background: #2a3550;
  color: #fff;
}

.menu-item.active {
  background: #FBBE0A;
  color: #232b3e;
  font-weight: 500;
}

.account-tabs {
  background: #1a253a;
  border-radius: 12px;
  padding: 20px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-family: 'MuseoModerno', cursive;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 16px;
}

/* Formulário de Perfil */
.account-form {
  max-width: 500px;
}

/* Informações da Assinatura */
.subscription-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.plan-details {
  background: #232b3e;
  border-radius: 8px;
  padding: 16px;
}

.plan-details h4 {
  color: #FBBE0A;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.plan-period {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.plan-features li:before {
  content: "✓";
  color: #FBBE0A;
  position: absolute;
  left: 0;
}

/* Histórico de Compras */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-item {
  background: #232b3e;
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  align-items: center;
}

.history-date {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.history-details h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.history-details p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
}

.history-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.history-status.aprovado {
  background: #3cb371;
  color: #fff;
}

.history-status.pendente {
  background: #FFD700;
  color: #232b3e;
}

.history-status.cancelado {
  background: #ff7f7f;
  color: #fff;
}

/* Opções de Upgrade */
.upgrade-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.upgrade-option {
  background: #232b3e;
  border-radius: 8px;
  padding: 16px;
}

.upgrade-option h4 {
  color: #FBBE0A;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.upgrade-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.upgrade-description {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.btn-upgrade, .btn-account {
  width: 100%;
  padding: 10px;
  background: #FBBE0A;
  color: #232b3e;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-upgrade:hover, .btn-account:hover {
  background: #bb8c01;
}

/* Formulário de Cancelamento */
.cancel-info {
  max-width: 500px;
}

.cancel-info p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.btn-cancel {
  width: 100%;
  padding: 12px;
  background: #ff7f7f;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-cancel:hover {
  background: #ff5252;
}

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

  .account-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .menu-item {
    white-space: nowrap;
  }

  .subscription-info {
    grid-template-columns: 1fr;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .history-status {
    justify-self: start;
  }
}

/* Painel Expert - Tabelas */

.table-company-df {
    color: #e6eaf3 !important;
    background: transparent;
    border-collapse: separate;
    border-spacing: 0;
}
.table-company-df td {
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 400;
    border-top: 1px solid #27304a !important;
    background: transparent;
}
.table-company-df tr.table-title-row td {
    /* background: rgba(255, 193, 7, 0.13); */
    color: #FBBE0A;
    font-weight: 500;
    font-size: 0.8rem;
    border-top: 2px solid #27304a !important;
}
.table-company-df tr.table-sub-row td {
    /* background: rgba(33, 150, 243, 0.10); */
    color: #2B82BC;
    font-weight: 500;
}
.table-company-df td.text-end {
    text-align: right;
}
.table-company-df tr:hover td {
    background: rgba(255,255,255,0.03);
}
.table-title {
    color: #ffe082;
    font-weight: 500;
    font-size: 0.8rem;
}
.text-danger {
    color: #ff7675 !important;
}
.card.chart-card , 
.card.table-card {
    background: #1a2236;
    border-radius: 10px;
    border: 1px solid #27304a;
}

/* Modal de Informações */
#infoModal .modal-content,
.carousel-item .card {
  background: #232b3e;
  border: 1px solid #2a3550;
  border-radius: 16px;
}

#infoModal .modal-header,
.carousel-item .card-header {
  border-bottom: 1px solid #2a3550;
  background: #1a253a;
  border-radius: 16px 16px 0 0;
}

#infoModal .modal-title {
  color: #FBBE0A;
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
}

#infoModal .btn-close {
  filter: invert(1);
}

#infoModal .modal-body,
.carousel-item .card-body {
  padding: 24px;
}

#infoModal .modal-footer {
  border-top: 1px solid #2a3550;
  background: #1a253a;
  border-radius: 0 0 16px 16px;
}

/* Seções de Informação */
.info-section {
  margin-bottom: 20px;
}

.info-section-title,
.carousel-item .card-title {
  color: #FBBE0A;
  font-family: 'MuseoModerno', cursive;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.info-text {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.info-formula {
  background: #1a253a;
  border: 1px solid #2a3550;
  border-radius: 8px;
  padding: 12px;
  margin: 0;
}

.info-formula .formula {
  color: #FBBE0A;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  background: transparent;
  border: none;
}

/* Interpretação */
.interpretation-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-interpretation {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-interpretation p {
  margin: 0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.info-interpretation p strong {
  color: #FBBE0A;
  font-weight: 600;
}

.interpretation-item {
  padding: 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.interpretation-item.positive {
  background: rgba(60, 179, 113, 0.1);
  border: 1px solid rgba(60, 179, 113, 0.3);
  color: #98fb98;
}

.interpretation-item.negative {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #ff7675;
}

.interpretation-item.better {
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.3);
  color: #87ceeb;
}

.interpretation-item strong {
  color: #fff;
  font-weight: 500;
}

/* Padronização dos Cards do Carousel */
.carousel-section-title {
  background-color: #000814;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #FBBE0A;
  font-family: 'MuseoModerno', cursive;
}
.carousel-item .card {
  max-width: 800px;
  width: 100%;
  min-height: 500px;
}

.carousel-item .info-formula {
  color: #FBBE0A;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  white-space: pre-line;
}

.carousel-item .info-content {
  color: #cbd5e1;
}

.carousel-item .info-section:last-child {
  margin-bottom: 0;
}

/* Botões do Carousel: estilo elegante e minimalista */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50% !important;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff !important;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: all 0.15s ease;
}


.carousel-control-prev:hover,
.carousel-control-next:hover {
  color: #FBBE0A;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
  background-color: transparent !important;
  color: #FBBE0A !important;
}

/* Indicadores do carousel: simples e elegantes */
.carousel-indicators {
  margin-bottom: 1rem;
}
.carousel-indicators [data-bs-target] {
  background: rgba(203, 213, 225, 0.3);
  border: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 3px;
  opacity: 0.6;
  transition: all 0.15s ease;
}
.carousel-indicators [data-bs-target].active,
.carousel-indicators [data-bs-target]:hover {
  background: #FBBE0A;
  opacity: 1;
  transform: scale(1.2);
}

/* Aumentar tamanho do título dos cards */
.carousel-item .card-title {
  font-size: 1.4rem;
  font-weight: 600;
}


/* Botões e Ícones de Informação */
.info-button, .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.info-button {
  background: #2B82BC;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.8rem;
  margin-left: 8px;
}

.info-button:hover {
  background: #1C5C91;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Estilo específico para botão de informações no chart-card */
.chart-card .info-button {
  background: transparent;
  color: #717171;
  border: none;
  padding: 4px;
  font-size: 1rem;
  margin: 0;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
}

.chart-card .info-button:hover {
  background: transparent;
  color: #FBBE0A;
  transform: scale(1.1);
}

.info-icon {
  color: #FBBE0A;
  font-size: 1rem;
  margin-left: 6px;
  opacity: 0.8;
}

.info-icon:hover {
  color: #ffd84a;
  opacity: 1;
  text-decoration: none;
  transform: scale(1.1);
}

.btn-info-sm {
  padding: 4px 8px;
  font-size: 0.75rem;
}

/* Responsividade */
@media (max-width: 768px) {
  #infoModal .modal-dialog {
    margin: 10px;
  }
  
  #infoModal .modal-body {
    padding: 16px;
  }
  
  .interpretation-item {
    font-size: 0.8rem;
    padding: 10px;
  }
}

/* Simuladores */

.simulator-card {    
  transition: all 0.3s ease;
  cursor: pointer;
}

.simulator-card:hover {    
  color: #FBBE0A !important;
}

.simulator-card:hover .explanation {
  color: #fff !important;
}

.simulator-card:hover .simulator-icon i {
  color: #FBBE0A !important;
}

.simulator-card:hover h5 i {
  color: #FBBE0A !important;
}

/* Estilos para formulários de demonstrações financeiras */
.form-group {
    margin-bottom: 0.5rem;
}

.form-group small {
    font-size: 0.75rem;
}

.alert {
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
}

#floating-alerts-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

#floating-alerts-container .alert {
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.account-subtitle {
    background: rgba(33, 150, 243, 0.10);
    color: #b3e5fc;
    font-weight: 400;
    padding-left: 0.5rem;
    padding-top: 0.25rem;
    border-radius: 5px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    text-align: start;
    font-family: 'Raleway', sans-serif;
}

.account-title {
    background: rgba(243, 201, 33, 0.1);
    color: #f5e6b3; 
    font-weight: 400;
    padding-left: 0.5rem;
    padding-top: 0.25rem;
    border-radius: 5px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    text-align: start;
    font-family: 'Raleway', sans-serif;
}

/* Estilos para os totais dinâmicos */
#total-ativo, #total-passivo, #ativo-circulante, #ativo-nao-circulante, 
#passivo-circulante, #passivo-nao-circulante, #patrimonio-liquido,
#lucro-liquido-calculado, #lucro-bruto, #lucro-operacional, #resultado-financeiro,
#diferenca-balance {
    font-size: 0.9rem;
    text-align: end;
    margin-right: 10px;
    padding: 0.25rem 0.5rem;
    font-family: 'Raleway', sans-serif;
}

.account-subtitle label, .account-title label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.btn-account:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#selectYears {
  background-color: #232b3e !important;
  color: #fff !important;
  border: none !important;
  font-size: 0.8rem;
  font-family: 'Raleway', sans-serif;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #dee2e6;
  box-shadow: none;
  transition: border 0.2s;
}

/* Estilos para o menu mobile */
@media (max-width: 767.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #000814;
        transition: right 0.3s ease-in-out;
        z-index: 1050;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        color: white !important;
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
        transition: all 0.2s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: #FBBE0A !important;
    }
    
    /* Botão de fechar */
    .navbar-toggler {
        z-index: 1060;
        position: relative;
    }
    
    .navbar-toggler[aria-expanded="true"] {
        position: fixed;
        top: 1rem;
        right: 1rem;
    }
    
    /* Overlay para fechar o menu */
    .navbar-collapse::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000814;
        z-index: -1;
    }
}

/* ===== ESTILOS DO SUMÁRIO EXECUTIVO ===== */

/* Container principal do sumário */
.summary-container {
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

/* Estrutura das linhas do sumário */
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.25rem;
  transition: background-color 0.2s ease;
}

.summary-row:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.summary-row:last-child {
  border-bottom: none;
}

/* Labels dos campos */
.summary-row .form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #adb5bd;
  margin: 0;
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

/* Valores dos campos */
.summary-value {
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  text-align: right;
  min-width: 80px;
  padding-left: 1rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .summary-row {
      flex-direction: column;
      align-items: flex-start;
      padding: 0.75rem 0;
  }

  .summary-row .form-label {
      margin-bottom: 0.25rem;
      font-size: 0.8rem;
      width: 100%;
  }

  .summary-value {
      text-align: left;
      padding-left: 0;
      font-size: 0.8rem;
      min-width: auto;
      width: 100%;
  }

  .summary-section-title {
      font-size: 0.9rem;
      margin-bottom: 0.75rem;
  }
}

/* Responsividade para telas muito pequenas */
@media (max-width: 576px) {
  .summary-container {
      padding: 1rem;
  }

  .summary-row {
      padding: 0.5rem 0;
  }

  .summary-row .form-label {
      font-size: 0.75rem;
  }

  .summary-value {
      font-size: 0.75rem;
  }
}

/* Animações */
@keyframes fadeInValue {
  from {
      opacity: 0;
      transform: translateY(5px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.summary-value.loaded {
  animation: fadeInValue 0.3s ease-out;
}

/* Estilos para modo claro (se aplicável) */
body.light-mode .summary-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .summary-row:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .summary-row .form-label {
  color: #6c757d;
}

body.light-mode .summary-value {
  color: #212529;
}

body.light-mode .summary-section-title {
  color: #212529;
  border-bottom: 2px solid rgba(255, 193, 7, 0.5);
} 

/* ===== ESTILOS DO COMPARADOR DE AÇÕES ===== */

.badge-ticker {
  background-color: #232b3e;
  color: #fff !important;
  font-size: 1rem;
  padding: 0rem 0.25rem !important;
  margin-right: 0.5rem;
  border-radius: 0.5rem;
  font-family: 'Raleway', sans-serif;
}

.badge-ticker button {
  background-color: transparent;
  color: #fff;
  border: none;
  font-size: 1rem;
  padding: 0.5rem;
  margin-left: 0.5rem;
  font-weight: 600;
}

.ticker-link {
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.ticker-link:hover {
  transform: scale(1.05);
}

.comparison-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
}

.comparison-row:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.comparison-row td {
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
}

.comparison-row .form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #adb5bd;
  margin: 0;
  text-align: left;
  line-height: 1.4;
}

.comparison-row .summary-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  min-width: 80px;
  transition: color 0.2s ease;
}

/* Responsividade para comparação */
@media (max-width: 768px) {
  .comparison-row .summary-value {
      font-size: 0.7rem;
      min-width: 60px;
  }
  
  .comparison-row .form-label {
      font-size: 0.75rem;
  }
}

/* Estilos para tabela de comparação de ativos */
#comparison-table {
    table-layout: fixed !important;
    width: 100% !important;
}

#comparison-table th:first-child,
#comparison-table td:first-child {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
}

/* Estilo para linhas de comparação */
.comparison-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.comparison-row:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.comparison-row td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
}

.comparison-row .form-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #adb5bd;
    margin: 0;
    text-align: left;
    line-height: 1.4;
    word-wrap: break-word;
}

.comparison-row .summary-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    transition: color 0.2s ease;
    word-wrap: break-word;
}

/* Estilo para cabeçalho com ticker clicável */
.ticker-link {
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    padding: 0.25rem;
}

.ticker-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cabeçalho fixo - transição suave quando ativado */
#original-header {
    transition: all 0.3s ease;
}

/* Classe para header fixo */
#original-header.fixed-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1050 !important;
    background-color: #000814 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Container para o conteúdo da thead - respeita largura Bootstrap */
#original-header.fixed-header table {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0.5rem 1rem !important;
}

/* Manter espaçamento consistente no cabeçalho dos ativos */
#original-header.fixed-header th {
    padding-bottom: 1rem !important;
    text-align: center !important;
    min-width: 160px !important;
    width: 160px !important;
}

/* Manter espaçamento do ticker-link consistente */
#original-header.fixed-header .ticker-link {
    padding: 0.25rem !important;
    margin: 0 !important;
}

/* Manter espaçamento da imagem do ativo */
#original-header.fixed-header .search-list-image {
    margin: 0 0.5rem !important;
}

/* Manter espaçamento do texto do ativo */
#original-header.fixed-header .ticker-link h6 {
    margin: 0 !important;
    font-size: 1rem !important;
}

#original-header.fixed-header .ticker-link small {
    margin: 0 !important;
    font-size: 0.7rem !important;
}

/* Ajuste para o container da tabela quando header está fixo */
#original-header.fixed-header + tbody {
    margin-top: 80px !important;
}

/* ===== ESTILOS DO FAVORITOS ===== */


.stocks-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.stocks-list .stock-row {
  width: 100%;
  margin-bottom: 0;
}

.stock-row {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  width: 100%;
}

.stock-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.stock-row:hover h6 {
  color: #FBBE0A !important;
}

/* Garante que todos os containers tenham a mesma largura */
.stocks-list,
.stock-row {
  max-width: 100%;
  box-sizing: border-box;
}

/* Estilos específicos para search-list-image nos cards */
.stock-row .search-list-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 8px;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.stock-row .search-list-image img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Responsividade */
@media (max-width: 768px) {
  .stocks-list {
      gap: 0.75rem;
  }

  /* Melhorias específicas para mobile */
  .stock-row .card-body {
      padding: 1rem !important;
  }

  .stock-row .search-list-image {
      width: 45px;
      height: 45px;
  }

  .stock-row .search-list-image img {
      width: 36px;
      height: 36px;
  }

  .stock-row h6 {
      font-size: 1rem !important;
      line-height: 1.2;
  }

  .stock-row .text-white.small {
      font-size: 0.875rem;
      line-height: 1.3;
  }
}

/* ===== ESTILOS DE CENÁRIOS ===== */

#scenarioNameModal .modal-content {
  background-color: #232b3e;   
  border-radius: 10px;
  padding: 1rem;
  color: #fff;
  font-family: 'Raleway', sans-serif;
}

#scenarioNameModal .modal-footer {
  border-top: none;
  font-family: 'Raleway', sans-serif;
}

#scenarioNameModal button {
  font-family: 'Raleway', sans-serif;
}

#scenarioNameModal .modal-body {
  padding: 1rem;
}

#scenarioNameModal .modal-body input {
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
}

.book-list-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background-color: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}
.book-list-image img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* ===== ESTILOS DE TABELAS ÁREA DO ADMIN ===== */

/* Container da tabela */
.admin-table-container {
  background: transparent;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  color: #fff;
  width: 100%;
}

/* Estilos para tabelas do admin */
.clients-table,
.client-products-table {
  background: transparent;
  border-radius: 8px;
  margin: 16px 0;
  color: #fff;
  width: 100%;
}

.clients-table .table,
.client-products-table .table {
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
}

.clients-table .table thead th,
.client-products-table .table thead th {
  background: transparent;
  color: #FBBE0A;
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid #2a3550;
  border-top: none !important;
  text-align: center;
  font-size: 0.85rem;
  white-space: nowrap;
}

.clients-table .table tbody td,
.client-products-table .table tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid #2a3550;
  background: transparent;
  color: #cbd5e1;
  text-align: center;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

.clients-table .table tbody tr:hover td,
.client-products-table .table tbody tr:hover td {
  background: #1a253a;
  color: #fff;
}

/* Estilos específicos para tabela de clientes */
.clients-table .table tbody td:nth-child(2),
.clients-table .table tbody td:nth-child(3) {
  text-align: left;
}

.clients-table .table tbody td:nth-child(1) {
  font-weight: 500;
  color: #FBBE0A;
}

/* Estilos para barra de pesquisa da tabela */
.table-search-container {
  margin-bottom: 16px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input {
  background: #1a253a !important;
  border: 1px solid #2a3550 !important;
  border-radius: 8px;
  color: #fff !important;
  font-size: 0.9rem;
  padding: 10px 40px 10px 16px;
  transition: all 0.3s ease;
  width: 100%;
}

.search-input:focus {
  border-color: #FBBE0A !important;
  background: #1a253a !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: 0 0 0 0.2rem rgba(251, 190, 10, 0.25) !important;
}

.search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.search-input-wrapper.search-focused .search-icon {
  color: #FBBE0A;
}

.search-info {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 400;
}

.search-info span {
  color: #FBBE0A;
  font-weight: 500;
}

/* Responsividade para barra de pesquisa */
@media (max-width: 768px) {
  .table-search-container .row {
    flex-direction: column;
    gap: 12px;
  }
  
  .search-info {
    text-align: center !important;
    margin-top: 8px;
  }
  
  .search-input {
    font-size: 0.85rem;
    padding: 8px 35px 8px 12px;
  }
  
  .search-icon {
    right: 12px;
    font-size: 0.9rem;
  }
}

.client-products-table .form-control-sm {
  background: #232b3e;
  border: 1px solid #2a3550;
  color: #fff;
  font-size: 0.8rem;
}

.client-products-table .form-control-sm:focus {
  border-color: #FBBE0A;
  background: #1a253a;
  color: #fff;
  outline: none;
}

/* Seletor de produtos */
.product-selector-container {
  background: transparent;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.product-selector-container h6 {
  color: #FBBE0A;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.product-selector-container .form-select {
  background: #232b3e;
  border: 1px solid #2a3550;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.product-selector-container .form-select:focus {
  border-color: #FBBE0A;
  background: #1a253a;
  color: #fff;
  outline: none;
}

.product-selector-container .form-select option {
  background: #232b3e;
  color: #fff;
}

/* Estilos para DataTables */
.dataTables_wrapper {
  font-family: 'Raleway', sans-serif;
  color: #fff;
}

/* Cabeçalho da tabela */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 16px;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  background: #1a253a;
  border: 1px solid #2a3550;
  border-radius: 6px;
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 10px;
  margin: 0 8px;
  transition: border-color 0.3s ease;
}

.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  border-color: #FBBE0A;
  background: #1a253a;
}

/* Tabela principal */
.dataTables_wrapper .dataTable {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-size: 0.85rem;
  color: #fff;
  margin: 16px 0;
}

.dataTables_wrapper .dataTable thead th {
  background: #1a253a;
  color: #FBBE0A;
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 2px solid #2a3550;
  text-align: center;
  font-size: 0.85rem;
  white-space: nowrap;
}

.dataTables_wrapper .dataTable tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid #2a3550;
  background: transparent;
  color: #cbd5e1;
  text-align: center;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

.dataTables_wrapper .dataTable tbody tr:hover td {
  background: rgba(251, 190, 10, 0.1);
  color: #fff;
}


/* Links de ação */
.action-link {
  color: #FBBE0A;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.action-link:hover {
  color: #ffd84a;
  background: rgba(251, 190, 10, 0.1);
  transform: scale(1.1);
  text-decoration: none;
}

/* Paginação */
.dataTables_wrapper .dataTables_paginate {
  margin-top: 16px;
  text-align: center;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: #1a253a;
  border: 1px solid #2a3550;
  color: #cbd5e1 !important;
  padding: 8px 12px;
  margin: 0 2px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #2a3550;
  color: #FBBE0A !important;
  border-color: #FBBE0A;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #FBBE0A;
  color: #232b3e !important;
  border-color: #FBBE0A;
  font-weight: 500;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  background: #1a253a;
  color: #717171 !important;
  border-color: #2a3550;
  cursor: not-allowed;
  opacity: 0.5;
}

/* Informações da tabela */
.dataTables_wrapper .dataTables_info {
  color: #cbd5e1;
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
  .admin-table-container {
    padding: 16px;
    margin: 16px 0;
  }
  
  .dataTables_wrapper .dataTable {
    font-size: 0.8rem;
  }
  
  .dataTables_wrapper .dataTable thead th,
  .dataTables_wrapper .dataTable tbody td {
    padding: 8px 6px;
  }
  
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    text-align: center;
    margin-bottom: 12px;
  }
  
  .dataTables_wrapper .dataTables_length select,
  .dataTables_wrapper .dataTables_filter input {
    width: 100%;
    margin: 4px 0;
  }
}

/* Modo claro */
body.light-mode .admin-table-container {
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

body.light-mode .dataTables_wrapper .dataTable thead th {
  background: #f8f9fa;
  color: #1C5C91;
  border-bottom-color: #dee2e6;
}

body.light-mode .dataTables_wrapper .dataTable tbody td {
  color: #495057;
  border-bottom-color: #dee2e6;
}

body.light-mode .dataTables_wrapper .dataTable tbody tr:hover td {
  background: rgba(28, 92, 145, 0.1);
  color: #1C5C91;
}

body.light-mode .action-link {
  color: #1C5C91;
}

body.light-mode .action-link:hover {
  color: #2B82BC;
  background: rgba(28, 92, 145, 0.1);
}

body.light-mode .dataTables_wrapper .dataTables_length label,
body.light-mode .dataTables_wrapper .dataTables_filter label,
body.light-mode .dataTables_wrapper .dataTables_info {
  color: #495057;
}

body.light-mode .dataTables_wrapper .dataTables_length select,
body.light-mode .dataTables_wrapper .dataTables_filter input {
  background: #ffffff;
  border-color: #ced4da;
  color: #495057;
}

body.light-mode .dataTables_wrapper .dataTables_length select:focus,
body.light-mode .dataTables_wrapper .dataTables_filter input:focus {
  border-color: #1C5C91;
}

body.light-mode .dataTables_wrapper .dataTables_paginate .paginate_button {
  background: #ffffff;
  border-color: #ced4da;
  color: #495057 !important;
}

body.light-mode .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #e9ecef;
  color: #1C5C91 !important;
  border-color: #1C5C91;
}

body.light-mode .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #1C5C91;
  color: #ffffff !important;
  border-color: #1C5C91;
}

/* ===== ESTILOS DO COMPARADOR DE EMPRESAS PRIVADAS ===== */

.badge-company {
  background-color: #ffc107;
  color: #000 !important;
  font-size: 1rem;
  padding: 0rem 0.25rem !important;
  margin-right: 0.5rem;
  border-radius: 0.5rem;
  font-family: 'Raleway', sans-serif;
}

.badge-company button {
  background-color: transparent;
  color: #000;
  border: none;
  font-size: 1rem;
  padding: 0.5rem;
  margin-left: 0.5rem;
  font-weight: 600;
}
