/* Header */
.site-header {
  position: relative;
  z-index: 50;
  /* background: #E8F5A0;
  background: linear-gradient(0deg, #e8f5a0 80%,rgba(97, 255, 112, 0) 100%); */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-container {
  max-width: 80rem; /* 1280px */
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.header-logo a {
  text-decoration: none;
}

.logo-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #111827;
  margin: 0;
}

/* Search */
.header-search {
  flex: 1;
  max-width: 28rem; /* ~448px */
}

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

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  border-radius: 9999px;
  padding: 0.625rem 1rem 0.625rem 2.5rem; /* pl-10 = 2.5rem */
  font-size: 0.875rem;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.search-input:focus {
  box-shadow: 0 0 0 2px #22c55e; /* ring-green-500 */
  border-color: transparent;
}

/* Dropdown */
.search-result-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  z-index: 50;
}

.search-result-box {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  max-height: 16rem;
  overflow-y: auto;
}

/* Botão Entrar */
.btn-signin {
  background-color: #111827;
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-signin:hover {
  background-color: #1f2937;
}

/* Botão User */
.btn-user {
  color: #111827;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-item:last-child {
  border-bottom: none;
}

.search-item:hover {
  background-color: #f9fafb;
}

/* Ícone */
.search-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.search-item-icon-inner {
  width: 100%;
  height: 100%;
  background-color: #dcfce7;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-item-initials {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
}

/* Texto */
.search-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-item-symbol {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}

.search-item-name {
  font-size: 0.75rem;
  color: #6b7280;
}

footer {
  padding: 2rem 1rem;
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
}

footer div {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}