/*
 * ═══════════════════════════════════════════════════
 *  RBWatch — Configuration Profiles UI
 * ═══════════════════════════════════════════════════
 */

/* ── Configuration cards: one centered vertical column ── */
.config-layout {
    display: block;
}

.config-sidebar {
    margin-bottom: 0;
}

.config-main {
    min-width: 0;
}

/* ── Profile select wrapper ── */
.profile-select-wrap {
    margin-bottom: 0.75rem;
}
.profile-select-wrap .form-label {
    margin-bottom: 0.375rem;
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--tblr-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Profile footer buttons ──
   Same style as card-footer text-end in Paramètres du compacteur */
.profile-actions-footer {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Mobile : boutons icône seule, plus compacts */
@media (max-width: 575px) {
    .profile-actions-footer .btn {
        padding: 0.375rem;
    }
}

/* ── Profile hint text ── */
.profile-hint {
    font-size: 0.75rem;
    color: var(--tblr-muted, #64748b);
    margin-top: 0.5rem;
    line-height: 1.5;
    display: block;
}

/* ── Profile badge (current profile indicator) ── */
.profile-current-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tblr-primary, #206bc4);
    background: var(--tblr-primary-lt, #e8f0fe);
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

.profile-current-badge svg {
    width: 14px;
    height: 14px;
}



/* Alignement navbar ↔ contenu : la .container du layout fournit déjà le
   gutter horizontal ; le container de premier niveau du contenu ne doit pas
   en ajouter une seconde — sinon le bord gauche des widgets se retrouve
   décalé d'un gutter sous l'icône burger. */
.starter-template > .container,
.starter-template > .container-xl,
.starter-template > .container-fluid,
.page-wrapper > .container,
.page-wrapper > .container-xl,
.page-wrapper > .container-fluid,
.page-body > .container,
.page-body > .container-xl,
.page-body > .container-fluid,
.page-header > .container,
.page-header > .container-xl,
.page-header > .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

/* Le bouton burger (32px) centre son icône (20px) en flex → le glyphe
   démarre 6px à droite du bord. flex-start cale le trait du burger pile
   sur le bord gauche du contenu (widgets alignés visuellement). */
.navbar-toggler {
    justify-content: flex-start;
}
