
/* -------- GLOBAL -------- */
body {
    margin: 0;
    font-family: "Segoe UI", Roboto, sans-serif;
    background-color: #f7f8fa;
}

.widget-body {
  background-color: #f7f8fa;
  margin-top: 100px;
}

/* -------- APP SIDEBAR -------- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px; /* compacte */
    height: 100vh;
    background-color: #ffffff;
    box-shadow: 2px 0 6px rgba(0,0,0,0.1);
    padding: 20px 0;
    transition: width 0.25s ease;
    overflow: hidden;
    z-index: 1000;
}

.sidebar:hover {
    width: 240px; /* version étendue */
}

.sidebar-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 20px 20px 20px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sidebar:hover .sidebar-title {
    opacity: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 14px;
    font-size: 18px;
    font-weight: 500;
    color: #3b4a6b;
    text-decoration: none;
    border-radius: 6px;
    margin: 4px 0;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}

.nav-item .material-symbols-outlined {
    font-size: 26px;
    color: #000000;
    transition: 0.15s;
}

.nav-text {
    opacity: 0;
    margin-left: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.sidebar:hover .nav-text {
    opacity: 1;
    width: auto;
    margin-left: 6px;
}

.nav-item:hover {
    background-color: #e8ecff;
    color: #1f2a40;
}

.nav-item:hover #home-logo-sidebar {
    color: #000000;
}

.nav-item:hover #budget-logo-sidebar {
    color: #b36a9f;
}

.nav-item:hover #presta-logo-sidebar {
    color: blue;
}

.nav-item:hover #guest-logo-sidebar {
    color: #7fa99b;
}

.nav-item:hover #event-logo-sidebar {
    color: orange;
}

.nav-item:hover #decoration-logo-sidebar {
    color: yellow;
}

/* -------- CONTENT -------- */
.page-content {
    margin-left: 90px;
    padding: 40px;
    transition: margin-left 0.25s ease;
}

.page-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.page-title .material-symbols-outlined {
    font-size: 48px;
    margin-right: 12px;
    color: #0d6efd; /* couleur du logo */
}

.page-title h1 {
    margin: 0;
    font-size: 36px;
}

.material-symbols-rounded {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48;
}
