/* ── Paramètres : nav grille 3 colonnes ── */

.settings-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: visible;
}

.settings-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80px;
    max-height: 80px;
    border: 1.5px solid #E2E8F0;
    border-left: 1.5px solid #E2E8F0;
    border-bottom: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 6px 4px;
    gap: 4px;
    text-decoration: none;
    color: #475569;
    background: transparent;
    text-align: center;
    min-width: unset;
    transition: border-color 0.15s, background-color 0.15s;
    overflow: hidden;
}

.settings-nav-item:hover {
    border-color: #FF6B00;
    background: transparent;
    color: #475569;
}

.settings-nav-item.active {
    border: 1.5px solid #FF6B00;
    border-left: 1.5px solid #FF6B00;
    border-bottom: 1.5px solid #FF6B00;
    background: rgba(255, 107, 0, 0.08);
    color: #FF6B00;
    font-weight: 600;
}

.settings-nav-icon {
    font-size: 28px;
    color: #475569;
    line-height: 1;
}

.settings-nav-item.active .settings-nav-icon {
    color: #FF6B00;
}

.settings-nav-text {
    font-size: 11px;
    font-weight: 600;
    color: inherit;
    line-height: 1.2;
}

/* ── Footer : boutons côte à côte, pleine largeur ── */

.settings-footer {
    padding: 12px 16px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: stretch;
}

.settings-footer .btn-secondary,
.settings-footer .btn-primary {
    flex: 1;
    min-height: 52px;
    height: auto;
    border-radius: 14px;
    font-size: 13px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 10px;
}

.settings-footer .btn-primary {
    background: #FF6B00;
    color: #FFFFFF;
    font-weight: 800;
    border: none;
}

.settings-footer .btn-secondary {
    background: transparent;
    color: #475569;
    border: 1.5px solid #E2E8F0;
    font-weight: 600;
}
