.flash-stack {
  max-width: 900px;
  margin: 16px auto 0;
  display: grid;
  gap: 10px;
  padding: 0 12px;
}

.flash-card {
  border: 1px solid;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.flash-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  flex: 0 0 auto;
}

.flash-card.flash-info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.flash-card.flash-info .flash-dot {
  background: #2563eb;
}

.flash-card.flash-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.flash-card.flash-success .flash-dot {
  background: #059669;
}

.flash-card.flash-danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.flash-card.flash-danger .flash-dot {
  background: #dc2626;
}

.auth-password-wrap {
  position: relative;
}

.auth-password-input {
  padding-right: 44px;
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #0d6efd;
  width: 24px;
  height: 24px;
  padding: 0;
  z-index: 4;
  line-height: 1;
}

.auth-password-toggle:hover {
  color: #0a58ca;
}

.auth-password-toggle:focus {
  outline: none;
  box-shadow: none;
}

.auth-password-toggle i {
  pointer-events: none;
}

/* Corregge conflitto con pages/corso.css che nasconde globalmente .tab-content */
.cart-page .tab-content {
  display: block;
}

/* Evita che overlay/global theme blocchino i click nel box auth del carrello */
.cart-page .container,
.cart-page .row,
.cart-page .col-md-6,
.cart-page .nav,
.cart-page .tab-content,
.cart-page .tab-pane,
.cart-page form {
  position: relative;
  z-index: 5;
}

.cart-page .nav-link,
.cart-page .btn,
.cart-page input,
.cart-page label,
.cart-page a {
  pointer-events: auto !important;
}

/* Form carrello: stile squadrato (niente bordi stondati) */
.cart-page .form-control,
.cart-page .form-select,
.cart-page .btn {
  border-radius: 0 !important;
}
