/* ==========================================================================
   DASHBOARD LINKS - ESTHÉTIQUE LUXE (GRIS FONCÉ & OR À DÉGRADÉS)
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
:root {
    /* Nuances de gris foncé */
    --bg-card: #1a1a1e;          /* Gris anthracite très sombre */
    --hover-bg: #222227;         /* Gris légèrement plus clair pour le survol */
    --border-color: #333;     /* Bordure sombre discrète */
    
    /* Dégradés d'or (Gold) */
/* Dégradés d'or (Gold) en RGB */
--gold-primary: #ccc;     /* #dfba6b */
--gold-grad-start: #efefef;   /* #f3e7c4 */
--gold-grad-end: #555555;      /* #a87f32 */

--gold-gradient2: linear-gradient(
  135deg,
  var(--gold-grad-start) 0%,
  var(--gold-primary) 50%,
  var(--gold-grad-end) 100%
);
    
    /* Textes */
    --text-main: #f4f4f6;        /* Blanc cassé soyeux */
    --text-muted: #8e8e93;       /* Gris moyen chaud */
    
    /* Effets */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(223, 186, 107, 0.05);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.lab {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;    text-align: center;
}

.lab img {
   max-width: 100%;
    height: auto;
}
.links-dashboard {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

/* Grille forcée à 1 seule colonne */
.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;                 /* Espacement mini entre les cartes */
}

/* Style de la carte ULTRA-COMPACTE */
.link-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 0.85rem;     /* Hauteur minimale */
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;          /* Angles légèrement adoucis, style épuré */
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;    width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Effets au survol */
.link-card:hover {
    background: var(--hover-bg);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-md);
    transform: translateX(2px); /* Léger décalage vers la droite plutôt que vers le haut */
}

/* Mini Icône de gauche avec fond en dégradé or */
.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;                 /* Format mini */
    height: 30px;
    background: var(--gold-gradient2);
    color: #111113;              /* Icône sombre pour contraster sur l'or */
    border-radius: 4px;
    font-size: 0.95rem;
    transition: var(--transition);
    flex-shrink: 0;
}

/* Au survol, l'icône gagne un léger éclat */
.link-card:hover .link-icon {
    filter: brightness(1.1);
    box-shadow: 0 0 8px rgba(223, 186, 107, 0.3);
}

/* Contenu textuel sur une seule ligne */
.link-content {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    align-items: center;         /* Aligne titre et description */
    gap: 1rem;
}

.link-content h2 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;            /* Moins gras pour un effet plus élégant/subtil */
    color: var(--text-main);
    white-space: nowrap;
    transition: var(--transition);
}
@media (max-width: 600px) {

    .link-content h2 {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
    }

}
/* Le titre prend une touche dorée au survol */
.link-card:hover .link-content h2 {
    color: var(--gold-primary);
}

.link-content p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;     /* Coupe proprement avec "..." */
}

/* Flèche d'action à droite texturée en Or */
.link-arrow {
    color: var(--text-muted);
    font-size: 0.75rem;
    opacity: 0.5;
    transition: var(--transition);
    flex-shrink: 0;
}

.link-card:hover .link-arrow {
    opacity: 1;
    color: var(--gold-primary);
    transform: translate(1px, -1px);
}

/* Mode Mobile : Empilage si l'écran est trop étroit */
@media (max-width: 600px) {
    .link-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
    }
    .link-content p {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
}

/* État vide */
.no-links {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
}