/* Base */
body {
    background-color: #0f172a;
    color: white;
    font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
    margin: 0;
}

/* Layout */
.container-hub {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* min-height supprimé pour éviter le scroll vertical inutile sur mobile */
    padding: 1.5rem 1rem; /* Padding vertical un peu réduit pour gagner de la place */
}

.wrapper {
    max-width: 56rem;
    width: 100%;
}

.grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

/* Dashboard Cards */
.glass {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.08);
}

/* Icons & Colors */
.icon-bg-blue { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.icon-bg-green { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.icon-bg-purple { background: rgba(139, 92, 246, 0.2); color: #8b5cf6; }
.icon-bg-orange { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }

.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.badge {
    margin-top: 1rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: #1e293b;
    color: #cbd5e1;
    border-radius: 0.25rem;
    border: 1px solid #334155;
}

.text-slate { color: #94a3b8; }
.blue-text { color: #3b82f6; }

/* Hub page elements */
.container-hub header {
    text-align: center;
    margin-bottom: 1rem;
}

.container-hub header a {
    text-decoration: none;
    color: inherit;
}

.container-hub h1 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 0;
}

.icon-circle svg {
    width: 2rem;
    height: 2rem;
}

.icon-circle img {
    width: 3.2rem;
    height: 3.2rem;
    object-fit: contain;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card .text-slate {
    font-size: 0.875rem;
}

.container-hub footer {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
}

.container-hub footer a {
    color: inherit;
    text-decoration: none;
}