/* HostCM SMS — styles applicatifs (complément Bootstrap 5) */
:root {
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --bg: #f1f5f9;
}

body {
    background-color: var(--bg);
    color: #1e293b;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-size: 1.4rem;
}

/* ---- Authentification ---- */
.auth-body { background: linear-gradient(135deg, #eef2ff, #f8fafc); }
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
}

/* ---- Shell applicatif ---- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
    width: 250px;
    background: #0f172a;
    color: #cbd5e1;
    flex-shrink: 0;
    padding-top: 1rem;
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 1rem 1.25rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: .75rem;
}
.sidebar .nav-link {
    color: #cbd5e1;
    border-radius: 10px;
    margin-bottom: .15rem;
    padding: .6rem .8rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.sidebar .nav-link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sidebar .nav-link.active { background: var(--brand); color: #fff; }

.app-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: .9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.content { padding: 1.5rem; flex: 1; }

/* ---- Cartes statistiques ---- */
.stat-card .stat-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.25rem; margin-bottom: .75rem;
}
.stat-label { color: #64748b; font-size: .85rem; }
.stat-value { font-size: 1.5rem; font-weight: 700; }

@media (max-width: 768px) {
    .sidebar { width: 64px; }
    .sidebar-brand span:last-child, .sidebar .nav-link span { display: none; }
}
