/* ============================================================
   VARIABLES GLOBALES - DARK PROFESSIONAL THEME
   ============================================================ */
:root {
    /* Fond de la page : noir professionnel */
    --bg-page: #0a0e27;

    /* Fond du conteneur principal : gris très foncé */
    --bg-container: #111827;

    /* Fond des cartes : gris foncé */
    --bg-card: #1f2937;

    /* Texte principal : blanc */
    --color-text: #f3f4f6;

    /* Texte secondaire : gris clair */
    --color-text-light: #d1d5db;

    /* Fond blanc */
    --color-white: #ffffff;

    /* Couleur d'accent : blanc pur pour contraste */
    --color-accent: #ffffff;

    /* Accent plus subtil : gris très clair */
    --color-accent-light: #e5e7eb;

    /* Bordures : gris foncé */
    --color-border: #374151;

    /* Dégradé subtil */
    --gradient-accent: linear-gradient(135deg, #ffffff, #e5e7eb);
}

/* ============================================================
   BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: var(--bg-page);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 30px auto;
    background: var(--bg-container);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 2.5rem;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    border: 1px solid var(--color-border);
}

/* ============================================================
   EN-TÊTE (header)
   ============================================================ */
header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

/* Profil principal : photo + infos côte à côte */
.profile {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin-bottom: 2rem;
}

.profile-left {
    flex: 0 0 auto;
}

.profile-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: block;
    border: 2px solid var(--color-accent-light);
}

.profile-right {
    flex: 1 1 auto;
    text-align: left;
}

/* Encadré "Contactez-moi" : dernier bloc du profil */
.profile-right:last-child {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.profile-right h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--color-text);
}

.profile-right h3 {
    margin: 1rem 0 0.6rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-accent-light);
    font-weight: 600;
}

.profile-right ul {
    margin: 0;
    padding: 0;
}

.profile-right ul li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.profile-right ul li a {
    color: var(--color-accent);
    font-weight: 500;
}

.profile-right ul li:not(:has(a)) {
    color: var(--color-text-light);
}

/* En-tête des pages de formation (logo + titre) */
.formation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.formation-header h1 {
    flex: 1;
    text-align: left;
    margin: 0;
}

.formation-logo {
    width: 170px;
    height: 170px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* ============================================================
   BOUTON LINKEDIN
   ============================================================ */
.Btn {
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    background: var(--color-accent);
    margin: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.svgIcon {
    transition: opacity 0.2s;
}

.svgIcon path {
    fill: white;
}

.text {
    position: absolute;
    color: var(--color-white);
    width: 120px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 0.85rem;
}

.Btn:hover {
    width: 110px;
    border-radius: 25px;
    background: var(--color-accent-light);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.2);
}

.Btn:hover .text {
    opacity: 1;
}

.Btn:hover .svgIcon {
    opacity: 0;
}

a.linkedin-btn-link {
    padding: 0;
    display: inline;
}

a.linkedin-btn-link:hover {
    background: none;
}

/* ============================================================
   TITRES DE SECTIONS (h2 hors cards)
   ============================================================ */
h2 {
    color: var(--color-text);
    font-size: 1.1rem;
    margin: 1.8rem 0 0.8rem 0;
    border-left: 3px solid var(--color-accent-light);
    padding-left: 0.8rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
    margin-bottom: 2rem;
}

/* ============================================================
   LISTES
   ============================================================ */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    margin-bottom: 0.6rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Puces pour les listes de qualifications et petites expériences */
.skills ul {
    list-style: none;
    padding-left: 0;
}

.skills ul li {
    padding-left: 1.8rem;
    position: relative;
}

.skills ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 1.2em;
    font-weight: bold;
}

/* ============================================================
   LIENS
   ============================================================ */
a {
    color: var(--color-accent-light);
    text-decoration: none;
    padding: 0.2rem 0.3rem;
    border-radius: 3px;
    transition: all 0.2s ease;
    display: inline-block;
}

a:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
}

/* ============================================================
   BOUTON STANDARD
   ============================================================ */
.btn {
    display: inline-block;
    margin-top: auto;
    background: var(--color-accent-light);
    color: #111827;
    padding: 0.55rem 1.2rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn:hover,
.btn:focus {
    background: var(--color-accent);
    color: #0a0e27;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Bouton fixe en bas à droite (retour au CV) */
.btn-bottom-right {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

/* ============================================================
   CARTES
   ============================================================ */

/* Section formation avec timeline verticale */
.education {
    position: relative;
    padding-left: 30px;
}

.education .cards {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    position: relative;
    padding-left: 8px;
}

/* Ligne verticale de la timeline */
.education .cards::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    border-radius: 1px;
}

/* Point de la timeline sur chaque carte */
.education .card::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 14px;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border: 2px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--color-border);
    transition: all 0.2s ease;
}

.education .card:hover::before {
    box-shadow: 0 0 0 3px var(--color-accent);
    transform: scale(1.1);
}

/* Espacement plus généreux pour les pages de détail de formation */
.education-details .cards {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

/* Carte de base */
.card {
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 1.2rem;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.2s ease;
    position: relative;
    margin-left: 16px;
    border: 1px solid var(--color-border);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    border-color: var(--color-accent-light);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    color: var(--color-accent-light);
    font-size: 1.05rem;
    font-weight: 600;
}

.card p {
    margin: 0.2rem 0 0.6rem 0;
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Variante horizontale : image à gauche, texte à droite */
.card-horizontal {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
}

.card-horizontal .card-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: var(--bg-page);
    padding: 6px;
    border-radius: 8px;
    flex-shrink: 0;
}

.card-horizontal .card-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

/* Carte avec image de fond + overlay sombre pour lisibilité */
.card-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    border-radius: inherit;
    z-index: 0;
}

.card-bg>* {
    position: relative;
    z-index: 1;
}

/* Variante pour les logos (fond blanc, image en contain, overlay sombre) */
.card-bg-logo {
    background-color: white;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card-bg-logo::before {
    background: rgba(0, 0, 0, 0.82);
}

/* ============================================================
   BANNIÈRE DE PAGE (pages formation)
   ============================================================ */
.formation-banner {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--bg-page);
}

.formation-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image de fond sur les pages de formation */
body.has-formation-banner {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

body.has-formation-banner .container {
    margin-top: 40px;
}

/* ============================================================
   COMPÉTENCES TECHNIQUES (badges)
   ============================================================ */
.tech-skills {
    margin: 0 auto 2rem auto;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: flex-start;
}

.skill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.skill-badge:hover {
    background: var(--color-accent-light);
    color: #111827;
    border-color: var(--color-accent-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}

/* ============================================================
   BARRES DE LANGUE
   ============================================================ */
.languages {
    margin: 0 auto 2rem auto;
    max-width: 500px;
}

.language-skill {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.language-skill:hover {
    background: rgba(255, 255, 255, 0.08);
}

.language-skill .lang-icon {
    width: 44px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    flex: 1;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.progress {
    height: 100%;
    background: var(--color-accent-light);
    color: #111827;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 18px;
    text-align: right;
    padding-right: 10px;
    border-radius: 8px;
    transition: width 1s ease;
    min-width: 35px;
    box-shadow: 0 1px 3px rgba(229, 231, 235, 0.2);
}

/* ============================================================
   CARTES DE CONTACT
   ============================================================ */
.contacts {
    margin: 0 auto 2rem auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.contact-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--color-border);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.contact-card:hover .contact-icon {
    background: var(--color-accent-light);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-white);
}

.contact-card h4 {
    margin: 0 0 0.2rem 0;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
}

.contact-role {
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin: 0 0 0.8rem 0;
    font-style: normal;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.contact-info a {
    color: var(--color-accent);
    font-size: 0.85rem;
    padding: 0.2rem 0;
    border-radius: 3px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s forwards ease-out;
}

.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.6s forwards ease-out;
}

/* ============================================================
   DROPDOWNS (papiers détenus)
   ============================================================ */
.dropdowns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dropdown {
    width: 100%;
}

.dropdown-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.6rem 0.9rem;
    background: var(--color-light);
    color: var(--color-dark);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.dropdown-toggle[aria-expanded="true"],
.dropdown-toggle:hover,
.dropdown-toggle:focus {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.dropdown-content {
    margin-top: 0.6rem;
    background: rgba(71, 68, 72, 0.9);
    padding: 0.6rem;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.papers-gallery {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.papers-gallery img {
    width: 140px;
    height: 96px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: zoom-in;
}

/* ============================================================
   RESPONSIVE — TABLETTE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .container {
        margin: 20px 12px;
        padding: 1.5rem;
        border-radius: 10px;
    }

    .profile {
        gap: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
    }

    .profile-right h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1rem;
        margin: 1.5rem 0 0.6rem 0;
    }

    .skills-container {
        gap: 0.6rem;
    }

    .skill-badge {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }

    .card {
        padding: 1rem;
        margin-left: 12px;
    }

    .education {
        padding-left: 24px;
    }

    .education .card::before {
        left: -22px;
        width: 10px;
        height: 10px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
    .container {
        margin: 0;
        border-radius: 0px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
        padding: 1.2rem;
    }

    body {
        background: #000000;
    }

    section {
        margin-bottom: 1.5rem;
    }

    h2 {
        margin-top: 1.5rem;
        font-size: 0.95rem;
        padding-left: 0.6rem;
    }

    .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }

    .profile-photo {
        width: 90px;
        height: 90px;
    }

    .profile-right h1 {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }

    .profile-right {
        width: 100%;
    }

    .profile-right:last-child {
        padding: 0.8rem;
    }

    .profile-right h3 {
        margin: 0.8rem 0 0.4rem 0;
        font-size: 0.75rem;
    }

    .profile-right ul li {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    /* Supprime la timeline sur mobile */
    .education {
        padding-left: 0;
    }

    .education .cards {
        padding-left: 0;
        gap: 0.6rem;
    }

    .education .cards::before,
    .education .card::before {
        display: none;
    }

    .card {
        margin-left: 0;
        padding: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .card p {
        font-size: 0.85rem;
        margin: 0.15rem 0 0.4rem 0;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Skills section */
    .skills ul li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .skills ul li::before {
        font-size: 1rem;
    }

    /* Language skills */
    .languages {
        max-width: 100%;
    }

    .language-skill {
        margin-bottom: 0.8rem;
        padding: 0.5rem;
        gap: 0.6rem;
    }

    .language-skill .lang-icon {
        width: 40px;
        height: 26px;
    }

    .progress-bar {
        height: 16px;
    }

    .progress {
        font-size: 0.7rem;
        line-height: 16px;
        padding-right: 8px;
    }

    /* Skills badges */
    .skills-container {
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .skill-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Contact cards */
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-card h4 {
        font-size: 0.95rem;
    }

    /* Dropdowns */
    .dropdown-toggle {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Folders */
    .folder-row {
        gap: 2rem;
    }

    /* Button bottom right */
    .btn-bottom-right {
        right: 12px;
        bottom: 12px;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ============================================================
   COMPOSANT DOSSIER — Papiers détenus (from Uiverse.io by 3bdel3ziz-T)
   ============================================================ */
.folder-row {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem 0 0.5rem 0;
}

/* Conteneur global : dossier + étiquette empilés */
.folder-card {
    --transition: 350ms;
    --folder-W: 90px;
    --folder-H: 60px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    cursor: pointer;
    padding-top: 12px;
    outline: none;
}

.folder-card:hover,
.folder-card:focus {
    background: none;
    outline: none;
}

/* Dossier positionné normalement (pas de boîte bleue autour) */
.folder-card .folder {
    position: relative;
    width: var(--folder-W);
    height: var(--folder-H);
    perspective: 800px;
    transform-style: preserve-3d;
}

.folder-card .folder .front-side,
.folder-card .folder .back-side {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--folder-W);
    height: var(--folder-H);
    transition: transform var(--transition);
    transform-origin: bottom center;
    transform-style: preserve-3d;
}

.folder-card .folder .back-side::before,
.folder-card .folder .back-side::after {
    content: "";
    display: block;
    background-color: white;
    opacity: 0.5;
    width: var(--folder-W);
    height: var(--folder-H);
    position: absolute;
    transform-origin: bottom center;
    border-radius: 10px;
    transition: transform 350ms;
}

.folder-card:hover .folder .back-side::before {
    transform: rotateX(-5deg) skewX(5deg);
}

.folder-card:hover .folder .back-side::after {
    transform: rotateX(-15deg) skewX(12deg);
}

.folder-card .folder .front-side {
    z-index: 1;
}

.folder-card:hover .folder .front-side {
    transform: rotateX(-40deg) skewX(15deg);
}

.folder-card .folder .tip {
    background: linear-gradient(135deg, #ff9a56, #ff6f56);
    width: 56px;
    height: 14px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -10px;
    left: 0;
    z-index: 2;
}

.folder-card .folder .cover {
    background: linear-gradient(135deg, #ffe563, #ffc663);
    width: var(--folder-W);
    height: var(--folder-H);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Étiquette grise sous le dossier */
.folder-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    padding: 4px 12px;
    white-space: nowrap;
    transition: background var(--transition) ease;
}

.folder-card:hover .folder-label {
    background: rgba(255, 255, 255, 0.22);
}