:root {
    --pink-color: #FF9AD2;
    --dark-pink-text: #A371AB;
    --vert:#CED77E;
    --bleu : #91B9E2;
    --light-grey-bg: #f2f2f2;
    --font-handwritten: 'Caveat', cursive;
    --font-title: 'Poleno';
}
@font-face {
  font-family: 'Poleno';
  src: url('./fonts/fonnts.com-Poleno_SemiBold.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background-color: #fff;
}

/* ---- En-tête (Header) ---- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    border-bottom: 1px solid var(--light-grey-bg);
   
}

.main-header .logo img {
    width: 15%;
}

.main-header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-header nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
}

.login-button {
    background: linear-gradient(90deg, #f8cdda, var(--pink-color));
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

/* ---- Section Héros ---- */
.hero {
    background-image: url('./img/index/background-papier_3.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    background-color: #fdfcff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--dark-pink-text);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 150%;
    height: auto;
    margin-bottom: -19%;
    transform: translateX(20%);
}


/* ---- Section Projets ---- */
.projects {
    padding: 4rem 5%;
    text-align: center;
}
.cta{
    background-color: var(--pink-color);
}
.projects a {
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 20px;
    font-family: var(--font-title);
    margin-bottom: 4rem;
    font-size: 150%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2rem;
    max-width: 900px;
    margin: auto;
}

.project-card-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-icon {
    width: 350px;
    height: 220px;
    margin-bottom: 1.5rem;
}
.project-icon img {
   width: 100%;
   height: 100%;
   object-fit: contain;
}


.project-card-icon p {
    font-family: var(--font-handwritten);
    font-size: 2.5rem;
    color: #333;
    border-bottom: 3px solid #000;
    padding-bottom: 5px;
    line-height: 1;
}

/* ---- Pied de page (Footer) ---- */
.main-footer {
    background-image: url('./img/index/background-papier_2.jpg');
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    background-color: var(--light-grey-bg);
    padding: 3rem 5%;
    color: #444;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
}

.footer-links p {
    margin-bottom: 0.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #444;
    line-height: 1.8;
}

.footer-info {
    flex: 1;
    min-width: 250px;
    text-align: right;
}

.copyright {
    font-family: var(--font-handwritten);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    color: #000;
    font-size: 1.8rem;
    margin-left: 1.5rem;
    text-decoration: none;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-header .logo {
        display: flex;
        justify-content: center;
    }
    .main-header {
        flex-direction: column;
        gap: 1rem;
    }
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-image img {
        transform: translateX(0);
        max-width: 60%;
        margin-bottom: -30%;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-info {
        text-align: center;
    }
    .social-icons a {
        margin: 0 0.75rem;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}


/* --- Bannière des statistiques --- */
.stats-banner {
    background-image: 
        url('https://i.imgur.com/grid-texture.png'), 
        url('./img/index/background-papier_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    background-repeat: repeat, repeat;
    background-blend-mode: multiply; 
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 8rem;
    text-align: center;
    color: #000;
}

.stat-item .stat-number {
    font-family: var(--font-title), sans-serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.stat-item .stat-label {
    font-family: var(--font-title), sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}


/* --- Section de la grille Portfolio --- */
.portfolio-section {
    background-color: #ffc0da;
    padding: 4rem 5%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    display: block;
    background-color: #e0e0e0;
    aspect-ratio: 4 / 3;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        gap: 4rem;
    }

    .stat-item .stat-number {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.new-project-page {
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.project-section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Titres de section (centrés) */
.section-title {
    text-align: center;
    font-family: var(--font-title), sans-serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* --- Section 1: Intro --- */
.intro-section {
    padding-top: 5rem;
    background: linear-gradient(to top right, #fff 70%, #fff3f8 100%);
}
.intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.intro-text h1.section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}
.intro-text p {
    line-height: 1.7;
    color: #333;
}
.intro-visuals h3 {
    font-family: var(--font-title), sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.software-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.intro-image { 
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}
.stats-banner {
    background-image: url('./img/index/background-papier_2.jpg');
    padding: 3rem 2rem;
}
.stats-container {
    display: flex;
    justify-content: center;
    gap: 8rem;
    text-align: center;
}
.stat-item .stat-number {
    font-family: var(--font-title), sans-serif;
    font-size: 4rem;
    font-weight: 900;
}
.stat-item .stat-label {
    font-family: var(--font-title), sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
}

/* --- Section 3: Objectif --- */
.objective-section {
    text-align: center;
}
.objective-text {
    background-color: var(--pink-color);
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem auto;
    border-radius: 8px;
    line-height: 1.6;
}
.objective-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 2rem auto;
}
.objective-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}
.project-tags {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.tag {
    background-color: var(--dark-pink-text);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.catchphrase-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.section-title-left {
    font-family: var(--font-title), sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    text-transform: uppercase;
}
.catchphrase-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* --- Section 5: Bilan --- */
.summary-section {
    padding-bottom: 5rem;
}
.summary-image {
    height: 400px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .intro-container, .catchphrase-section {
        grid-template-columns: 1fr;
    }
    .intro-text { order: 2; }
    .intro-visuals { order: 1; }
    .section-title-left {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 2rem;
    }
}
@media (max-width: 768px) {
    .objective-images {
        grid-template-columns: 1fr;
    }
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
}

.login-register-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem 2rem;
    min-height: 80vh;
    background-color: #fff3f8; 
}

.form-container {
    width: 100%;
    max-width: 450px;
    padding: 2.5rem;
    background-image: url('https://www.transparenttextures.com/patterns/crumped-paper.png');
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* --- Le système d'onglets --- */
.form-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.toggle-btn {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-family: var(--font-title), sans-serif;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    color: #000;
    border-bottom-color: var(--pink-color);
}

/* --- Styles des formulaires --- */
.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section.hidden {
    display: none;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--pink-color);
    box-shadow: 0 0 0 3px rgba(245, 160, 200, 0.4);
}

.forgot-password {
    text-align: right;
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    margin-top: -1rem; 
}

.forgot-password:hover {
    text-decoration: underline;
}


.form-section .cta-button {
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}


.error-message {
    color: #d92027; 
    font-weight: bold;
    text-align: center;
    margin-top: -1rem; 
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-error {
    border-color: #d92027 !important;
    box-shadow: 0 0 0 3px rgba(217, 32, 39, 0.2) !important;
}

.page-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff3f8;
    background-image: url('/img/index/background-papier_2');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero-content h1 {
    font-family: var(--font-title), sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.page-hero-content p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Section des filtres --- */
.filter-section {
    padding: 2rem 1rem;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.filter-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover {
    background-color: #e0e0e0;
}
.filter-btn.active {
    background-color: var(--pink-color);
    color: white;
    box-shadow: 0 4px 10px rgba(245, 160, 200, 0.4);
}

/* --- Galerie de projets --- */
.projects-gallery {
    padding: 4rem 5%;
    background-color: #fafafa;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.card-image-container {
    height: 240px;
    background-color: #f0f0f0;
}
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    padding: 1.5rem;
}
.card-category {
    display: inline-block;
    background-color: #c5a6d9; 
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.card-title {
    font-family: var(--font-title), sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.page-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff3f8;
}
.page-hero-content h1 {
    font-family: var(--font-title), sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.page-hero-content p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card-section {
    padding: 5rem 2rem;
    background-color: #fafafa;
}

.contact-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.contact-card .card-title {
    font-family: var(--font-title), sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.contact-card .card-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2.5rem;
}

.main-email-link {
    margin-bottom: 2.5rem;
}

.main-email-link a {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-bottom: 3px solid var(--pink-color);
    padding-bottom: 5px;
    transition: all 0.2s ease;
}

.main-email-link a:hover {
    color: var(--pink-color);
    border-bottom-color: #000;
}

.card-social-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.card-social-icons a {
    color: #333;
    font-size: 2.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.card-social-icons a:hover {
    transform: scale(1.1) translateY(-5px);
    color: var(--pink-color);
}

.page-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff3f8;
}
.page-hero-content h1 {
    font-family: var(--font-title), sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.page-hero-content p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.booking-section {
    margin-bottom: 4rem;
}

.booking-section .section-title {
    text-align: center;
    font-family: var(--font-title), sans-serif;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.booking-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 2rem auto;
    line-height: 1.6;
    color: #333;
}

.status-notice {
    background-color: #ffddee;
    border-left: 5px solid var(--pink-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}
.status-notice p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.booking-section h3 {
    font-family: var(--font-title), sans-serif;
    margin-bottom: 1rem;
}
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.service-tag {
    background-color: #f0f0f0;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.cta-box {
    text-align: center;
    padding: 2.5rem;
    background-image: url('https://www.transparenttextures.com/patterns/crumped-paper.png');
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
}
.cta-box h4 {
    font-family: var(--font-title), sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.cta-box p {
    line-height: 1.7;
    margin-bottom: 2rem;
}
.cta-box .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.section-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 4rem 0;
}

.product-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.product-preview-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1rem auto 0 auto;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.instagram-button:hover {
    background-color: #000;
    color: #fff;
}
.instagram-button .fab {
    font-size: 1.5rem;
}
.about-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff;
}
.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.about-hero h1 {
    font-family: var(--font-title), sans-serif;
    font-size: 2.5rem;
}
.about-hero .tagline {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
}

.story-section {
    padding: 4rem 2rem;
    background-image: url('/img/index/background-papier_2');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fdfcff;
}
.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}
.story-content p {
    margin-bottom: 1rem;
}

.timelines-section {
    padding: 5rem 2rem;
    background-color: #fafafa;
}
.timelines-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}
.timeline-title {
    text-align: center;
    font-family: var(--font-title), sans-serif;
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    padding: 1rem 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 50px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 6px;
    width: 18px;
    height: 18px;
    background-color: var(--pink-color);
    border: 3px solid #fff;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.timeline-date {
    display: inline-block;
    background-color: #c5a6d9; 
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.timeline-content h4 {
    font-family: var(--font-title), sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.timeline-content p {
    font-size: 0.95rem;
    color: #444;
}

.about-cta-section {
    text-align: center;
    background-color: #fff3f8;
    padding: 4rem 2rem;
}
.about-cta-section h2 {
    font-family: var(--font-title), sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.about-cta-section p {
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .timelines-container {
        grid-template-columns: 1fr; 
    }
}
@media (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-item::before {
        left: 2px;
    }
}


.toggle-wrapper {
    cursor: pointer;
    background: linear-gradient(to right, #fbd3e9, #fcb0d9);
    border-radius: 20px;
    padding: 15px 25px;
    font-weight: bold;
    color: white;
    text-align: center;
    position: relative;
    transition: 0.5s ease;
}

.user-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dropdown-inline-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.7s ease, opacity 0.7s ease;
}

.dropdown-inline-content.show {
    max-height: 200px;
    opacity: 1;
}

.dropdown-inline-content a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 0;
    transition: 0.5s;
}

.dropdown-inline-content a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.hidden {
    display: none !important;
}

.admin-board-page {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 4rem;
}

.board-header {
    background: linear-gradient(135deg, #fff3f8, #fde5ee);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.board-header h1 {
    font-family: var(--font-title), sans-serif;
    font-size: 2.5rem;
}

.board-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.board-filters .filter-btn {
}

.board-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: var(--font-title), sans-serif;
    font-size: 2rem;
}

.add-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
}

.table-container {
    width: 100%;
    overflow-x: auto; 
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead {
    background-color: #fafafa;
}

table th, table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

table th {
    font-family: var(--font-title), sans-serif;
    font-size: 1rem;
    color: #555;
    text-transform: uppercase;
}

tbody tr:hover {
    background-color: #fff8fb;
}

.category-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #e0e0e0;
}

.actions-cell {
    display: flex;
    gap: 0.8rem;
}

.action-btn {
    display: inline-block;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 1.4; 
}

.view-btn { background-color: var(--bleu); }
.edit-btn { background-color: var(--vert); }
.delete-btn { background-color: #e74c3c; }

th.sortable-header {
    cursor: pointer;
    position: relative;
    user-select: none;
}
th.sortable-header:hover {
    background-color: #f0f0f0;
}

.sort-arrow {
    position: absolute;
    margin-left: 8px;
    transition: opacity 0.2s ease;
}

.sort-arrow::after {
    content: '↕';
    opacity: 0.4;
}

th.sorting-asc .sort-arrow::after,
th.sorting-desc .sort-arrow::after {
    opacity: 1;
}

th.sorting-asc .sort-arrow::after {
    content: '▲';
}
th.sorting-desc .sort-arrow::after {
    content: '▼';
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    padding: 2rem;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
    opacity: 0;
}

.modal-content {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.9);
}

.modal-content h2 {
    font-family: var(--font-title), sans-serif;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}
.close-modal-btn:hover {
    color: #333;
}

#edit-form .form-grid,
#add-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0 2.5rem;
    margin-bottom: 1.5rem;
}

#edit-form .input-group,
#add-form .input-group {
    margin-bottom: 1.5rem;
}

#edit-form .input-group label,
#add-form .input-group label {
    font-weight: 600;
    margin-bottom: 0.7rem; 
    color: #333;
}

#edit-form textarea,
#add-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical; 
    min-height: 120px;
}

#edit-form .cta-button,
#add-form .cta-button {
    grid-column: 1 / -1; 
    justify-self: flex-end; 
    margin-top: 1rem;
}

.search-bar-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 450px;
    margin-bottom: 2rem;
    
    background-color: #f7f7f7;
    border: 2px solid #e9e9e9;
    border-radius: 50px;
    padding-left: 1.2rem;
    transition: all 0.3s ease;
}

.search-bar-container:focus-within {
    border-color: var(--pink-color);
    box-shadow: 0 0 0 4px rgba(255, 154, 210, 0.3);
}

.search-bar-container .search-icon {
    color: #aaa;
    font-size: 1rem;
}

#user-search-input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    color: #333;
}

#user-search-input::placeholder {
    color: #bbb;
}

.note-stars {
    font-size: 1.2rem;
    color: #f39c12;
}
.comment-cell {
    max-width: 400px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.comment-form-wrapper {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comment-form-wrapper h3 {
    font-family: var(--font-title), sans-serif;
    text-align: center;
    margin-bottom: 1.5rem;
}

.comments-display-area {
    max-width: 800px;
    margin: 0 auto;
}

.comments-display-area h3 {
    font-family: var(--font-title), sans-serif;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.comment-item {
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

.comment-author {
    font-weight: bold;
    font-family: var(--font-title), sans-serif;
}

.comment-date {
    font-size: 0.85rem;
    color: #888;
}

.comment-body .note-stars {
    font-size: 1.1rem;
    color: #f39c12;
    margin-bottom: 0.5rem;
    display: block;
}

.comment-body .comment-text {
    font-size: 1.1rem;
    color: #f39c12;
    margin-bottom: 0.5rem;
    display: block;
}

.comment-footer {
    text-align: right;
    margin-top: 1rem;
    border-top: 1px solid #f5f5f5;
    padding-top: 0.8rem;
}

.delete-comment-link {
    font-size: 0.85rem;
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.delete-comment-link:hover {
    text-decoration: underline;
}

.input-group input,
.input-group textarea,
.input-group select { 
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--pink-color);
    box-shadow: 0 0 0 3px rgba(255, 154, 210, 0.4);
}

.input-group textarea {
    resize: vertical; 
    min-height: 120px;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
}

.comment-form .cta-button {
    padding: 0.8rem 1.5rem;
    align-self: flex-start;
}

.input-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}
.input-group-checkbox input[type="checkbox"] {
    width: auto;
    accent-color: var(--pink-color);
}
.input-group-checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}


.notification-bar {
    background-color: var(--dark-pink-text);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}
.notification-bar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}
.notification-count {
    display: inline-block;
    background-color: white;
    color: var(--dark-pink-text);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 0.9rem;
    margin-left: 10px;
}

.academic-details {
    padding: 4rem 5%;
    background-color: #fff;
}

.academic-details .section-title {
    margin-bottom: 3rem;
}

.academic-details .details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem; /* Espace entre les blocs */
    max-width: 1400px;
    margin: 0 auto;
}

.academic-details .detail-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.academic-details .detail-item h3 {
    font-family: var(--font-title), sans-serif;
    font-size: 1.3rem;
    color: var(--dark-pink-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.academic-details .detail-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.academic-details .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.academic-details .tag {
    background-color: var(--dark-pink-text);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 50px;
    font-weight: 500;
}

.academic-details .ac-tag {
    background-color: var(--bleu);
    font-family: monospace;
}