/**
 * My Account Page Styles
 */

.section-new {
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    rgba(35, 74, 218, 0.05) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.card-new {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(20, 23, 82, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
}

.card-header-new {
  padding: 25px 30px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8faff;
}

.card-header-new h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #141752;
}

.card-body-new {
  padding: 30px;
}

.form-group-new {
  margin-bottom: 25px;
}

.form-group-new-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .form-group-new-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label-new {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #141752;
  font-size: 16px;
}

.form-label-new.required::after {
  content: '*';
  color: #e53e3e;
  margin-left: 4px;
}

.form-control-new {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  font-size: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background-color: #f8fafc;
  transition: all 0.3s ease;
}

.form-control-new:focus {
  outline: none;
  border-color: #4c6ef5;
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(76, 110, 245, 0.2);
}

.form-static-value {
  height: 50px;
  padding: 0 15px;
  font-size: 16px;
  color: #64748b;
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border-radius: 10px;
}

.error-msg {
  color: #e53e3e;
  font-size: 14px;
  margin-top: 5px;
}

.btn-new-danger {
  background-color: #e53e3e;
  color: #ffffff;
}

.btn-new-danger:hover {
  background-color: #c53030;
  transform: translateY(-2px);
}

.list-group-new {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-item-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #e2e8f0;
  color: #141752;
  text-decoration: none;
  transition: all 0.3s ease;
}

.list-item-new:last-child {
  border-bottom: none;
}

.list-item-new:hover {
  background-color: #f8faff;
  color: #234ada;
}

.list-item-new.active {
  background-color: #f8faff;
  color: #234ada;
}

.list-item-new i {
  font-size: 18px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.list-item-new:hover i {
  opacity: 1;
}

.subscription-info {
  background-color: #f8faff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.badge-new-primary {
  background-color: #e7f0ff;
  color: #234ada;
}

.badge-new-secondary {
  background-color: #f1f5f9;
  color: #64748b;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
  font-size: 16px;
}

/* Styles pour la section d'incitation à l'abonnement */
.subscription-promo {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(20, 23, 82, 0.08);
  padding: 25px;
  text-align: center;
}

.subscription-promo-header {
  position: relative;
  margin-bottom: 20px;
}

.subscription-promo-header h4 {
  font-size: 22px;
  font-weight: 700;
  color: #141752;
  margin-bottom: 10px;
}

.subscription-promo-badge {
  display: inline-block;
  background-color: #234ada;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 5px;
}

.subscription-promo-price {
  margin-bottom: 20px;
}

.subscription-promo-price .price {
  font-size: 42px;
  font-weight: 700;
  color: #234ada;
}

.subscription-promo-price .period {
  font-size: 16px;
  color: #777;
  margin-left: 5px;
}

.subscription-promo-features {
  margin-bottom: 25px;
}

.subscription-promo-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subscription-promo-features li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #555;
  font-size: 16px;
}

.subscription-promo-features li i {
  color: #34d399;
  margin-right: 10px;
  font-size: 18px;
}

.subscription-promo-action {
  margin-top: 20px;
}

.subscription-promo-info {
  margin-top: 12px;
  font-size: 14px;
  color: #64748b;
}

.subscription-promo-info i {
  margin-right: 5px;
  color: #234ada;
}

/* Responsive styles */
@media (min-width: 768px) {
  .subscription-promo {
    padding: 30px;
  }
}
