
:root {
    --orange-primary: #f97316;
    --orange-dark: #ea580c;
    --orange-light: #fdba74;
  }
  
  .modal-content {
    border-radius: 0.75rem;
    overflow: hidden;
  }
  
  /* Colori personalizzati */
  .text-orange {
    color: var(--orange-primary) !important;
  }
  
  .bg-orange {
    background-color: var(--orange-primary) !important;
  }
  
  .btn-orange {
    background-color: var(--orange-primary);
    border-color: var(--orange-primary);
    color: white;
    transition: all 0.2s ease;
  }
  
  .btn-orange:hover, .btn-orange:focus {
    background-color: var(--orange-dark);
    border-color: var(--orange-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
  }
  
  /* Stile delle card */
  .plan-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
  }
  
  .plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
  }
  
  .plan-card.selected {
    border: 2px solid var(--orange-primary) !important;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2) !important;
  }
  
  /* Nastro "Consigliato" */
  .ribbon-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    overflow: hidden;
    width: 120px;
    height: 120px;
    z-index: 1;
  }
  
  .ribbon {
    position: absolute;
    top: 25px;
    right: -35px;
    transform: rotate(45deg);
    width: 150px;
    padding: 4px 0;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  /* Stile della lista features */
  .feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.75rem;
  }
  
  .feature-list li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
  }
  
  .premium-card {
    background: linear-gradient(to bottom right, #ffffff, #fff9f5);
  }
  
  /* Stile del prezzo */
  .pricing {
    position: relative;
    display: inline-flex;
    align-items: baseline;
  }
  
  .currency {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    top: -5px;
  }
  
  .period {
    font-size: 0.8rem;
    margin-left: 3px;
  }
  
  .plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(249, 115, 22, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }
  
  .premium-card .plan-icon {
    background-color: rgba(249, 115, 22, 0.15);
  }
  
  /* Animazioni - ridotte */
  @keyframes subtle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
  }
  
  .premium-card {
    animation: subtle-pulse 3s infinite;
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .modal-dialog {
      max-width: 90%;
      margin: 0.75rem auto;
    }
    .feature-list li {
      font-size: 0.8rem;
      padding: 4px 0;
    }
  }
  
  @media (max-width: 576px) {
    .premium-card {
      animation: none;
    }
    
    .ribbon {
      font-size: 9px;
      top: 20px;
      right: -40px;
    }
    
    .modal-title {
      font-size: 1.25rem;
    }
  }
  
  
  /* DISATTIVA SCROLL LENTO IN PAGINA PROFILO */
  main.main-content.position-relative.max-height-vh-100.h-100.border-radius-lg.ps.ps--active-y {
    overflow: unset !important;
  }
  /* DISATTIVA SCROLL LENTO IN PAGINA PROFILO */
  
  
  /* DOPO – aggiungi in fondo */
  .stripe-element {
    min-height: 40px;       /* aspetto di un input */
    padding:   6px 8px;
  }
  .stripe-element iframe{   /* l’iframe che Stripe inietta */
    width:100%!important;
  }
  


.bg-input-edit {
  background-color: #fff !important;
  border-color: #e9ecef !important;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

select:not([disabled]) {
  cursor: pointer;
}
#passwordModal .modal-content {
  border-radius: 16px;
  box-shadow: 0 20px 27px rgba(0,0,0,0.05);
}

#passwordModal .modal-header {
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem;
}

#passwordModal .modal-body {
  padding: 1.5rem;
}

#passwordModal .modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 1rem 1.5rem;
}

.password-strength .progress {
  height: 4px;
  margin-bottom: 0.25rem;
}

.password-strength small {
  font-size: 0.75rem;
}

.form-select option {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
}

.form-select option:last-child {
  border-bottom: none;
}

.form-select option .ni {
  font-size: 1.2rem;
  vertical-align: middle;
}


#permissionsModal .form-check-label {
  font-size: 0.875rem;
  cursor: pointer;
}

#permissionsModal .card-header {
  background-color: #f8f9fa !important;
  border-bottom: 1px solid #dee2e6;
}

#permissionsModal .form-switch .form-check-input {
  width: 2.5em;
  height: 1.5em;
}

#permissionsModal .form-switch .form-check-input:checked {
  background-color: #007bff;
  border-color: #007bff;
}
@keyframes zoomBounce{
  0%  {transform:scale(0); opacity:0;}
  80% {transform:scale(1.1); opacity:1;}
  100%{transform:scale(1);   opacity:1;}
}

#payment-feedback .fas{
  animation:zoomBounce .6s ease-out forwards;
}
#payment-feedback.success  .fas{ color:#16a34a;} /* verde   */
#payment-feedback.error    .fas{ color:#dc2626;} /* rosso   */

    
 