/* --- Theme --- */
body {
  font-family: "WDXL Lubrifont SC", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.logofont {
  font-family: "Audiowide", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.bg-bg {
  background-color: rgb(197 218 239) !important;
}

/* Navbar */
.navbar-iaright {
  border-bottom: 1px solid rgba(11, 27, 58, 0.08);
}

/* Brand */
.brand-mark {
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(11, 27, 58, 0.10);
  box-shadow: 0 10px 25px rgba(11, 27, 58, 0.08);
}

.brand-iaright-ia,
.brand-iaright-right {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-iaright-ia {
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  color: transparent;
}

.brand-iaright-right {
  color: #0b1b3a;
}

.brand-slogan {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  font-weight: 600;
}

/* Badges */
.badge {
  font-size: 0.85rem;
  font-weight: 600;
}

.wallet-usdc-loading {
    position: relative;
    cursor: help;
}

.wallet-usdc-loading:hover:after {
    content: "Loading USDC balance...";
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

/* Alert */
.alert-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 0;
}

/* navbar.css o styles.css */
.dropdown-menu button[type="submit"].dropdown-item {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 0.25rem 1rem;
  color: var(--bs-dropdown-link-color);
  cursor: pointer;
  border-radius: 0;
}

.dropdown-menu button[type="submit"].dropdown-item:hover {
  background-color: var(--bs-dropdown-link-hover-bg);
  color: var(--bs-dropdown-link-hover-color);
}

.dropdown-menu button[type="submit"].dropdown-item:focus {
  outline: none;
  background-color: var(--bs-dropdown-link-hover-bg);
}

/* navbar.css */
.navbar-nav .dropdown-menu button[type="submit"].dropdown-item {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.navbar-nav .dropdown-menu button[type="submit"].dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.navbar-nav .dropdown-menu button[type="submit"].dropdown-item:active {
  background-color: rgba(0, 0, 0, 0.1);
}

.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  margin-top: 0.5rem;
  z-index: 3000;
  min-width: 200px;
}

/* evita che il dropdown alteri il layout flex */
.navbar-nav {
  align-items: center;
}

/* mobile spacing */
@media (max-width: 991px) {
  .navbar-nav {
    gap: 0.75rem;
    padding-top: 1rem;
  }

  .navbar-brand {
    margin-bottom: 1rem;
  }
}