/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem; /* mb-8 */
}

.header-logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 2.5rem; /* w-10 */
  height: 2.5rem; /* h-10 */
  background-color: #1f2937; /* bg-gray-800 */
  border-radius: 9999px; /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem; /* mr-3 */
}

.logo-icon i {
  color: white;
}

.header-title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: #1f2937; /* text-gray-800 */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem; /* space-x-4 */
}

.settings-btn {
  display: flex;
  align-items: center;
  color: #4b5563; /* text-gray-600 */
}

.settings-btn:hover {
  color: #1f2937; /* hover:text-gray-800 */
}

.settings-btn i {
  margin-right: 0.5rem; /* mr-2 */
}

/* Header mobile */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: white;
  position: relative;
  top: 0;
  z-index: 100;
  border: 1px solid #e5e7eb;
  width: 100%;
  margin-bottom: 0
}

/* Style spécifique pour la barre en mode mobile */
.mobile-header .progress-tracker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1001; /* Au-dessus du contenu du header */
}

.logo-icon-mobile {
  width: 2rem; /* w-10 */
  height: 2rem; /* h-10 */
  font-size: 0.9rem;
  background-color: #1f2937; /* bg-gray-800 */
  border-radius: 9999px; /* rounded-full */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem; /* mr-3 */
}

.logo-icon-mobile i {
  color: white;
}

.mobile-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  margin: 0 20px;
  overflow: hidden;
  background-color: #f9fafb; /* Couleur de fond demandée */
  border-radius: 8px; /* Rayon de bordure demandé */
  padding: 8px 12px; /* Espacement intérieur */
  border: 1px solid #e5e7eb;
  cursor: pointer; /* Curseur en forme de main */
  transition: background-color 0.2s ease; /* Transition fluide */
}

/* Effet lors du clic */
.mobile-summary:active {
  background-color: #e8eaed;
}

.chains-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.chain-item {
  display: flex;
  align-items: center;
  min-width: 60px;
}

.chain-logo {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 9999px;
  object-fit: contain;
  background-color: #f3f4f6;
  padding: 0.125rem;
  margin-right: 0.3rem;
  border: 1px solid #e5e7eb;
}

.chain-name {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.arrow-icon {
  margin: 0 5px;
  color: #6b7280;
  font-size: 0.9rem;
}

.token-summary {
  margin-top: 0px;
  font-size: 0.7rem;
  font-weight: 500;
  color: #4b5563;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-header {
    display: flex;
  }
}