/* Style.css amélioré */

/* Style général */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #212529;
    line-height: 1.6;
}

header {
    background-color: #007bff;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;#calendar-container
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.logo-container {
    display: flex;
    flex-direction: column; /* ✅ Place les éléments en colonne */
    align-items: center; /* ✅ Centre le texte horizontalement */
    text-align: center; /* ✅ Assure un alignement parfait */
}

.logo {
    font-size: 28px; /* ✅ Taille du logo */
    font-weight: bold;
    color: white;
    margin-bottom: 5px; /* ✅ Espacement entre le logo et le slogan */
}

.logo-slogan {
    font-size: 20px; /* ✅ Taille plus discrète */
    font-weight: 600;
    color: white;
    margin-top: 40px; /* ✅ Ajustement pour éviter trop d'espace */
}


..logo-container {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    font-size: 35px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.logo-slogan {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-top: 20px; /* ✅ Ajustement de l'espacement */
	text-align: center;
	flex-direction: column;
}

/* ✅ Conteneur du logo */
.logo-container {
    width: 25%;  /* Ajuste entre 20% et 30% */
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 50px;
    width: auto;
}


.ai-highlight {
    color: #FFD700; /* Doré */
}

.highlight {
    color: white;
}

.subtitle {
    font-size: 15px;
    font-weight: 500;
    color: white;
    margin-top: -5px;
}

}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 0.6rem 1.2rem;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 0.5rem;
}

nav ul li a:hover {
    background-color: #0056b3;
}

.main-content {
    text-align: center;
    padding: 3rem 2rem;
}

.hero {
    background-color: #007bff;
    color: white;
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 750px;
    margin: auto;
}

.cta-container {
    margin-top: 1.5rem;
}

.btn-custom {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    border: 2px solid #ffcc00;
    color: #ffffff;
    background: linear-gradient(135deg, #007bff 40%, #ffcc00 100%);
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: #ffcc00;
    color: #000;
}

footer {
    text-align: center;
    padding: 1.2rem 0;
    background-color: #007bff;
    color: white;
    margin-top: 2.5rem;
    font-size: 1rem;
}

/* ✅ Style des informations utilisateur dans le header */
.user-info {
    text-align: right;
    font-size: 14px;
    font-weight: bold;
    color: white;
    padding-right: 1.5rem;
}

.user-info p {
    margin: 5px 0;
}

/* ✅ Amélioration du menu pour utilisateurs connectés */
nav ul li {
    display: inline-block;
}

nav ul li a {
    padding: 0.6rem 1rem;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ✅ Espacement et centrage du contenu principal */
.main-content {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 80%;
    margin: auto;
}

/* ✅ Mise en valeur des titres de sections */
h2 {
    color: #0056b3;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

/* ✅ Style du tableau */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.styled-table thead tr {
    background-color: #007bff;
    color: white;
    text-align: left;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #f3f3f3;
}

.styled-table tbody tr:hover {
    background-color: #ddd;
}

/* ✅ Structure du header */
.header-container {
    display: flex;
    justify-content: space-between; /* ✅ Espacement entre logo, menu et user */
    align-items: center;
    padding: 15px 20px;
    background: #007BFF;
}

/* ✅ Logo bien dimensionné */
.logo img {
    height: 50px;
    width: auto;
}

/* ✅ Menu centré */
.nav-menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ✅ Salutation bien alignée */
.user-info {
    color: white;
    font-size: 16px;
    font-weight: bold;
}
/* ✅ Conteneur global du header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #007BFF;
}


/* ✅ Conteneur menu et salutation */
.menu-container {
    width: 75%;  /* Ajuste entre 70% et 80% */
    display: flex;
    flex-direction: column;
    align-items: flex-end;  /* Aligner à droite */
}

/* ✅ Salutation */
.user-info {
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;  /* Espacement avant le menu */
}

/* ✅ Menu */
.nav-menu ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-left: 15px;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
}
.account-info {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}
/* ✅ Réduction de la taille des textes des cellules */
.styled-table td {
    font-size: 0.85rem;  /* Réduction de 20% */
}

/* ✅ Ajustement spécifique pour la colonne Devise */
.styled-table td.devise {
    font-size: 0.75rem;  /* Réduction de 40% */
}

#historique-section {
    max-width: 90%;
    margin: 0 auto; /* ✅ Centre le contenu */
    text-align: center; /* ✅ Centre le titre */
    padding: 20px;
}

#.calendar {
    max-width: 80%; /* ✅ Ajuste la largeur pour éviter qu'il soit trop grand */
    margin: 20px auto; /* ✅ Centre horizontalement */
    background: white;
    padding: 10px;
    border-radius: 8px; /* ✅ Arrondi les bords */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ✅ Ajoute un léger effet d'ombre */
}

/* ✅ Ajuste le container du calendrier pour prendre toute la largeur */
.calendar {
    width: 100%; /* ✅ Occuper toute la largeur */
    max-width: 1200px; /* ✅ Pour éviter qu'il soit trop étiré */
    margin: 0 auto;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ✅ Ajuste la taille des événements (imports) */
.fc-daygrid-event {
    font-size: 0.9rem;
    padding: 4px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

/* ✅ Au survol, on met en avant les imports */
.fc-daygrid-event:hover {
    background-color: #0056b3;
}

/* ✅ Affichage plus compact des événements dans les jours */
.fc-daygrid-day {
    min-height: 60px; /* ✅ Ajuste la hauteur des jours */
}



/* ✅ Ajuste la taille des événements */
.fc-daygrid-event {
    font-size: 0.9rem;
    padding: 4px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

/* ✅ Amélioration de l'affichage des jours */
.fc-daygrid-day {
    min-height: 60px;
}

/* ✅ Ajuste le conteneur pour prendre toute la hauteur */
#calendar-container {
    width: 100%;
    height: 100vh; /* Pleine hauteur */
    display: flex;
    justify-content: center;
    align-items: center;
}

#calendar {
    width: 100% !important;
    height: 90vh !important; /* Ajustement à 90% pour éviter le chevauchement avec le header */
    max-width: 1400px; /* Optionnel : éviter un étirement excessif */
    min-height: 600px; /* Sécurisation */

/* ✅ Boutons de navigation */
.fc .fc-button {
    font-size: 16px;
    padding: 8px 12px;
    background-color: #007bff !important;
    color: white !important;
    border-radius: 5px;
}btn btn-custom w-100

.fc .fc-button:hover {
    background-color: #0056b3 !important;
}
/* Styles pour le formulaire d'inscription */
.form-box {
    background-color: #007bff; /* Bleu */
    color: white;
    border-radius: 20px;
	margin: 20px auto; 
    padding: 10px;
    max-width: auto;
    width: 70%;
    text-align: center;
}

/* Styles pour centrer la page */
.vh-100 {
    height: 100vh;
}form-group

/* Style général des boutons */
.btn-custom {
    background: linear-gradient(to right, #fbc531, #e1b12c);
    color: black;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-custom:hover {
    background: linear-gradient(to right, #e1b12c, #fbc531);
    color: white;
}
/* ✅ Bouton avec gradient bleu, jaune, noir */
.btn-gradient {
    background: linear-gradient(45deg, #004aad, #ffcc00, #222222);
    color: white;
    font-weight: bold;
    padding: 20px 20px;
    border: none;
    border-radius: 10px;
    width: 40%;
	margin: 20px auto; /* ✅ Centre le bouton horizontalement */
    transition: 0.3s ease-in-out;
    text-transform: uppercase;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, #222222, #ffcc00, #004aad);
    color: white;
}
/* ✅ Conteneur du formulaire */
.register-form-container {
    width: 50%;
    margin: auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	margin-top: 30px; /* 🔥 Ajuste cette valeur si besoin */
}

/* ✅ Tableau invisible pour structurer le formulaire */
.register-form-table {
    width: 100%;
    border-collapse: collapse;
}

/* ✅ Colonne des labels alignée à droite */
.register-form-table td.label-column {
    text-align: right;
    font-weight: bold;
    padding: 10px 15px;
    width: 40%;
    vertical-align: middle;
}

/* ✅ Colonne des champs alignée à gauche */
.register-form-table td.input-column {
    text-align: left;
    padding: 10px;
    width: 60%;
}

/* ✅ Style des champs input et select */
.register-form-table input,
.register-form-table select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    text-align: left; /* 🔥 Champs justifiés à gauche */
}

/* ✅ Alignement du checkbox dans la colonne 2 */
.register-checkbox-container {
    display: flex;
    align-items: center;
    justify-content: left; /* 🔥 Alignement à gauche */
    gap: 8px;
}

/* ✅ Bouton stylisé */
.register-btn {
    width: 100%;
    background: #007BFF;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.register-btn:hover {
    background: #0056b3;
}
/* ✅ Conteneur principal du profil */
.profile-container {
    max-width: 600px;
    margin: 40px auto; /* Centrage vertical */
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* ✅ Alignement vertical et responsive des formulaires */
.profile-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px; /* Évite qu'il soit trop large */
    margin: auto;
}
.profile-form label {
    font-weight: bold;
    text-align: left;
    width: 100%;
    margin-top: 10px;
}

/* ✅ Champs input et select bien espacés */
.profile-form input, 
.profile-form select {
    width: 100%;
    max-width: 400px; /* ✅ Limite la largeur pour éviter un formulaire trop large */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* ✅ Bouton stylisé */
.profile-btn {
    width: 100%;
    background: #007BFF;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s ease;
    margin-top: 15px;
}

.profile-btn:hover {
    background: #0056b3;
}

/* ✅ Style des onglets */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
    margin: 0 5px;
    border-radius: 5px;
}

.tab-button:hover, .tab-button.active {
    background: #0056b3;
}

/* ✅ Contenu des onglets */
.tab-content {
    display: none;
    padding: 20px;
    text-align: center;
}

/* ✅ Style des tableaux d'abonnements et factures */
.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.profile-form 
.profile-table th, .profile-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.profile-table th {
    background: #007BFF;
    color: white;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .profile-container {
        width: 90%;
    }

    .tab-button {
        padding: 8px 10px;
    }
}
/* ✅ Correction de l'alignement du titre */
.form-header {
    text-align: left;
    margin-left: 10%;
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

/* ✅ Ajustement du formulaire */
.user-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* ✅ Colonne des labels */
.user-form .label-col {
    text-align: right;
    font-weight: bold;
    padding-right: 15px;
    width: 40%;
}

/* ✅ Colonne des inputs */
.profile-form input, 
.profile-form select {
    width: 100%;
    max-width: 400px; /* ✅ Évite que les champs deviennent trop larges */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* ✅ Centrage du bouton */
.user-form .centered {
    text-align: center;
}

/* ✅ Style du bouton */
.user-form button {
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.user-form button:hover {
    background-color: #0056b3;
}

.profile-form button {
    width: 100%;
    max-width: 400px; /* ✅ Aligné avec les champs */
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s ease;
    margin-top: 15px;
}

.profile-form button:hover {
    background: #0056b3;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.dropbtn {
    background-color: #007bff; /* Bleu pour bien le voir */
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.dropdown-content a {
    color: black;
    padding: 10px 16px;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

/* Centrage et cadre stylisé pour la section d'accueil */
.welcome-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.welcome-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 50px auto;
}

/* Meilleur espacement et alignement des boutons */
.button-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 8px;
    transition: 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #007bff;
    color: white;
    border: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.btn-primary:hover, .btn-secondary:hover {
    opacity: 0.8;
}

/* Section des avantages : meilleur alignement et espacement */
.features {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 50px;
}

.feature {
    text-align: center;
    max-width: 300px;
}

.feature i {
    color: #007bff;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
}



