/*message connexion consultant*/
.consultant-message {
  text-align: center;
  margin: 2rem 0;
  font-size: 20px;
}


.consultant-login-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #b5995a;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
  margin-top: 1rem;
}

.consultant-login-button:hover {
  background-color: #7ba389;
}


/* Ajouter le CSS pour la carte des minutes */
        .info-container {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        margin-top: 20px;
        flex-wrap: wrap; /* Permet un meilleur rendu sur les petits écrans */
    }

    .info-column {
        flex: 1;
        display: flex;
        justify-content: center;
        min-width: 300px; /* Garde les cartes lisibles sur petits écrans */
    }

    .info-column {
            margin-bottom: 20px;
        }
    .minutes-card, .unique-code-card, .phone-card {
        width: 100%;
        max-width: 470px;
        background: #ffffff;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s;
        cursor: pointer;
    }

    .minutes-card:hover, .unique-code-card:hover, .phone-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    }

    .unique-code-card h2 {
        font-size: 20px;
        color: #7ba389;
        margin-bottom: 10px;
    }

    .minutes-info h2, .minutes-info p {
        margin: 0;
    }

    .minutes-badge {
        background-color: #7ac4e3;
        color: white;
        font-size: 22px;
        font-weight: bold;
        padding: 10px 20px;
        border-radius: 15px;
        margin-top: 10px;
        display: inline-block;
    }

    .minutes-badge.low {
        background-color: #f44336; /* Rouge pour seuil bas */
    }

    .minutes-badge.medium {
        background-color: #ffa500; /* Orange pour seuil moyen */
    }
	
	.info-button {
        margin-top: 15px;
        background-color: #7ac4e3;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 15px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s, transform 0.3s;
    }

    .info-button:hover {
        background-color: #7ba389;
        transform: scale(1.05);
    }

    /* Styles pour le modal */
    .modal {
        display: none; /* Masqué par défaut */
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .modal-content {
        background-color: white;
        margin: 10% auto;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 10px;
        width: 80%;
        max-width: 400px;
        text-align: center;
    }

    .modal-content h3 {
        color: #b5995a;
    }

    .modal-content p {
        color: #333;
        margin-top: 10px;
    }

    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
	.phone-card {
        background-color: #ffffff !important;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .phone-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .phone-card h2 {
        font-size: 20px;
        color: #7ba389;
        margin-bottom: 10px;
    }

    .phone-card p {
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }
    .icon {
        font-size: 45px;
        color: #7ba389;
        margin-bottom: 15px;
    }

    .icon i {
        font-size: 35px;
    }
	
	
	/* CSS pour la page historique achats*/
/* ==== Grille globale ==== */
.purchase-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* ==== Carte individuelle ==== */
.purchase-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.purchase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* ==== En-tête : icône/date à gauche + badge type à droite ==== */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
}

.card-header.minutes {
  background: #7AC4E3; /* rose doux pour "minutes" */
}

.card-header.mail {
  background: #c05592b8; /* bleu « mail » */
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
}

.icon-clock {
  width: 1.25rem;
  height: 1.25rem;
  fill: #ffffff;
}

.card-header time {
  font-weight: 500;
  line-height: 1;
}

/* ==== Badge "Type" ==== */
.type-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  color: #ffffff;
}

.type-badge.minutes {
  background: #3e809b; /* légèrement plus foncé que .card-header.minutes */
}

.type-badge.mail {
  background: #aa4c81; /* légèrement plus foncé que .card-header.mail */
}

/* ==== Corps de la carte ==== */
.card-body {
  padding: 1.25rem 1rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pack-name {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;      /* 18px */
  font-weight: 600;
  color: #2c3e50 !important;
}

.quantite {
  margin: 0;
  font-size: 17px;        
  font-weight: 700;
  color: #2c3e50;
}

.amount {
  margin: 0.75rem 0 0;
  font-size: 1.125rem;      /* 18px */
  font-weight: 600;
  color: #b5995a;           /* vert léger pour le prix */
}

/* ==== Titre général ==== */
.hist-title {
  font-size: 1.5rem;       /* 24px */
  font-weight: 600;
  color: #2c3e50 !important;
  margin-bottom: 50px;
}

/* ==== Message “aucun achat” ==== */
.no-purchase {
  font-size: 1rem;
  color: #7f8c8d;
  margin-top: 1rem;
  text-align: center;
}

/* ==== Pagination ==== */
.pagination-nav {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.pagination-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
}

.page-item {
  display: inline-block;
}

.page-link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #000000 !important;
  text-decoration: none;
  border: 1px solid #828282; /* gris clair */
  border-radius: 0.375rem;
  background: #ffffff;
  transition: background-color 0.2s, border-color 0.2s;
}

.page-item.active .page-link {
  background-color: #7ac4e3;
  color: #ffffff;
  border-color: #ddd;
}

.page-item.disabled .page-link {
  color: #c0c0c0;
  border-color: #e5e7eb;
  cursor: default;
  pointer-events: none;
}

.page-item:not(.active):not(.disabled) .page-link:hover {
  background-color: #f3f4f6;
  border-color: #a1a1aa;
}
	
/* ===========================
CONTENEUR CENTRAL (sous la bannière)
=========================== */
.dashboard-wrapper {
    /* Limiter la largeur maximale pour ne pas que tout soit trop étiré */
    max-width: 1850px;      /* à ajuster selon votre charte */
    margin: 0 auto;         /* centre horizontalement dans la fenêtre */
    /* Espace interne à gauche et à droite */
    padding-left: 20px;
    padding-right: 20px;
}

/* Si besoin, diminuer légèrement le padding sur très petits écrans */
@media (max-width: 480px) {
    .dashboard-wrapper {
        padding-left: 52px;
        padding-right: 52px;
    }
}
	

    /* Titres */
    .minutes-card h2, .unique-code-card h2, .phone-card h2 {
        font-size: 18px;
        color: #7ba389;
		margin-top: 30px;
        margin-bottom: 10px;
        font-weight: bold;
		font-family: Besley;
    }
	
    .minutes-card p, .unique-code-card p, .phone-card p {
        font-size: 19px;
        color: #333;
        margin: 5px 0;
    }
    /* Responsive */
    @media (max-width: 768px) {
        .info-container {
            flex-direction: column;
            align-items: center;
    }


/* Style FAQ Forfait*/
.faq-section {
                margin-top: 20px;
            }
            .faq-item h4 {
                font-size: 18px;
                margin-bottom: 5px;
            }
            .faq-item p {
                font-size: 14px;
                color: #555;
            }
			
			

/*Ajouter le style pour la bannière de succès*/
    .success-banner {
        background-color: #7ba389;
        color: white;
        padding: 15px;
        margin-top: 20px;
        border-radius: 5px;
        text-align: center;
        font-size: 18px;
    }
    .success-message {
        margin: 0;
    }
	
	
/*Ajouter le style pour le H2*/
h2 {
    font-family: "BluuNext", sans-serif;
    font-size: 30px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.08696em;
    text-decoration: none;
    text-transform: none;
    margin-top: 50px;
    margin-bottom: 0.8em;
}



