/* ==========================================
   Ativo Header Component Styles
   ========================================== */

/* Breadcrumb Navigation */
.ativo-breadcrumb {
  margin-bottom: 12px;
}

.ativo-breadcrumb .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  list-style: none;
  flex-wrap: wrap;
}

.ativo-breadcrumb .breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  color: #fff;
}


.ativo-breadcrumb .breadcrumb-item a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ativo-breadcrumb .breadcrumb-item a:hover {
  color: #bfbfbf;
  text-decoration: none;
}

.ativo-breadcrumb .breadcrumb-item.active {
  color: #bfbfbf;
}

/* Header Section */
.ativo-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #111;
  border: 1px solid #222;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.ativo-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.ativo-logo-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ativo-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #222;
  flex-shrink: 0;
}

/* Navigation Tabs */
.ativo-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ativo-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--full, 999px);
  border: var(--xs, 1px) solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-feature-settings: 'cv05' on, 'cv06' on, 'cv11' on;
  font-family: var(--Font-family-body, Inter);
  font-size: var(--Font-sizes-14, 14px);
  font-style: normal;
  font-weight: 600;
  line-height: var(--Font-line-height-23-font-14, 22px);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.ativo-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.ativo-tab.active {
  border-radius: var(--full, 999px);
  border: var(--xs, 1px) solid #4BCD95;
  background: #092016;
  color: #4BCD95;
  font-feature-settings: 'cv05' on, 'cv06' on, 'cv11' on;
  font-family: var(--Font-family-body, Inter);
  font-size: var(--Font-sizes-14, 14px);
  font-style: normal;
  font-weight: 600;
  line-height: var(--Font-line-height-23-font-14, 22px);
}

.ativo-tab.active:hover {
  background: #3ab882;
  color: #08090a;
}

.ativo-tab svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Company Info */
.ativo-company-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.ativo-company-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.ativo-ticker-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ativo-ticker-pill {
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #FFF;
  text-align: center;
  font-feature-settings: 'cv05' on, 'cv06' on, 'cv11' on;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ativo-ticker-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.ativo-ticker-pill.active {
  border-radius: 4px;
  border: 1px solid #4BCD95;
  background: #092016;
  color: #4BCD95;
  text-align: center;
  font-feature-settings: 'cv05' on, 'cv06' on, 'cv11' on;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .ativo-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .ativo-header-right {
    width: 100%;
    justify-content: flex-start;
  }
  
  .ativo-company-info {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .ativo-breadcrumb .breadcrumb-item {
    font-size: 12px;
  }
  
  .ativo-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    margin: 0 6px;
  }
  
  .ativo-logo-tabs {
    flex-wrap: wrap;
  }
  
  .ativo-tabs {
    flex-wrap: wrap;
  }
  
  .ativo-tab {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .ativo-header {
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .ativo-tabs {
    width: 100%;
    margin-top: 12px;
  }
  
  .ativo-tab {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .ativo-tab svg {
    width: 14px;
    height: 14px;
  }
  
  .ativo-company-name {
    font-size: 13px;
  }
  
  .ativo-ticker-pill {
    padding: 3px 8px;
    font-size: 11px;
  }
}
