/* Il corpo nero(#1a1a1a) il testo in BIANCO(#ffffff) bottoni vordi ecc cyano(#00bfbf) */
body, .navbar, a,ul,li{
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}

.nav-link:hover, .nav-link.active {
  border-color: #00bfbf;
  color: white !important;
}
/**/
.custom-box {
 border: 5px solid #00bfbf; 
  border-radius: 12px;
  margin: 20px auto;  /* auto per centrare orizzontalmente */
  width: 80vw;
  max-width: 500px;   
  height: 75vh;   
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-box h1 {
  margin-bottom: 4rem; /* distanza maggiore sotto il titolo */
}

/* Modifiche qui per custom-box_2 */
.custom-box_2 {
    margin: 40px auto; /* Increased top/bottom margin for better spacing */
    width: 100vw; /* Slightly wider */
    max-width: 1350px; /* Increased max-width */
    background-color: #1a1a1a; /* Ensure background is consistent */
    border-radius: 12px; /* Consistent border-radius */
    overflow: hidden; /* Ensures content stays within bounds */
    box-shadow: 0 4px 15px rgba(0, 191, 191, 0.2); /* Subtle shadow for depth */
}

.custom-box_3 {
    margin: 40px auto; /* Increased top/bottom margin for better spacing */
    width: 100vw; /* Slightly wider */
    max-width: 1350px; /* Increased max-width */
    background-color: #1a1a1a; /* Ensure background is consistent */
    border-radius: 12px; /* Consistent border-radius */
    overflow: hidden; /* Ensures content stays within bounds */
    box-shadow: 0 4px 15px rgba(0, 191, 191, 0.2); /* Subtle shadow for depth */
}

/* Info section styling */
#info {
    background-color: #2a2a2a; /* Slightly lighter background for the info box */
    padding: 2rem; /* Increased padding */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#info h4 {
    font-size: 1.8rem; /* Larger heading for info */
    margin-bottom: 1.5rem;
    color: #00bfbf; /* Cyan color for heading */
}

#info p {
    font-size: 1.1rem; /* Slightly larger text for info */
    line-height: 1.6;
}

/* Buy section styling */
#buy h2 {
    font-size: 2rem; /* Larger heading for buy section */
    color: #00bfbf;
}


/**/

.btn-google {
  background-color: #f9f9f9; /* bianco ammorbidito */
  color: #333333;
  border: 1.5px solid #00bfbf;
  padding: 0.75rem 1.25rem;
  font-size: 1.4rem;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 240px;
  box-shadow: 0 4px 8px rgba(0, 191, 191, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-google:hover {
  background-color: #00bfbf;
  color: white;
  border-color: rgba(255, 255, 255, 0.7); /* bordo bianco meno brillante */
  box-shadow: 0 6px 12px rgba(0, 191, 191, 0.4);
}

.btn-google img {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.btn-google:hover img {
  filter: brightness(0.85); /* meno luminoso */
  opacity: 0.9;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;  
}

/* Dropdown menu for user profile */
.dropdown-menu {
    background-color: #2a2a2a !important; /* Darker background for dropdown */
    border: 1px solid #00bfbf !important;
}

.dropdown-item {
    color: #ffffff !important;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #00bfbf !important;
    color: #ffffff !important;
}

.dropdown-item-text {
    color: #ffffff !important;
    font-weight: bold;
}

.dropdown-divider {
    border-top: 1px solid #00bfbf !important;
}

.btn-group-lg>.btn, .btn-lg {
  padding: .7rem 1rem;
  font-size: 1.25rem;
  border-radius: .3rem;
}


/* Loader (rotella) */
#loader {
  display: none;
  border: 4px solid #00bfbf; /* colore cyan */
  border-top: 4px solid white; /* parte superiore bianca */
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  margin: auto;
}

/* Animazione rotella */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Contenitore per centrare */
#loaderContainer {
  background-color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px; /* stesso height del bottone per mantenere spazio */
  margin-bottom: 1rem;
}
