@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --main-color: #000000;
    --secondary-color: #111827;
    --background-color: #f3f4f6;
    --surface-color: #ffffff;
    --muted-text: #6b7280;
    --border-color: #e5e7eb;
    --sidebar-bg: #0f172a;
    --sidebar-fg: #e2e8f0;
    --sidebar-accent: #22d3ee;
}

/* FONTI */
body, p, span, div, a {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

.mt-30{
    margin-top: 30px !important;
}

.mb-30{
    margin-bottom: 30px !important;
}

.mt-20{
    margin-top: 20px !important;
}

.mb-20{
    margin-bottom: 20px !important;
}

body{
    margin: 0px;
    color: var(--secondary-color);
    background: var(--background-color);
}

input[type="color"] {
    padding: 0px 0px;
    background: white;
    border-radius: 0px;
}

p.success {
    background: #58b358;
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    text-align: center;
    width: fit-content;
    border: 2px solid #407b40;
    font-family: 'Montserrat';
}

select {
    border-radius: 5px;
    padding: 7px 10px;
    border: 1px solid var(--background-color);
    font-size: 16px;
}

textarea {
    font-family: 'Roboto';
    font-size: 16px;
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
}

.t-center{
    text-align: center;
}

button{
    background: var(--secondary-color);
}

button, a.primary, a.secondary {
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s ease-in-out all;
    font-family: 'Roboto';
    text-decoration: none;
        display: block;
    width: fit-content;
}

input {
    border-radius: 5px;
    padding: 7px 10px;
    border: 1px solid var(--border-color);
    font-size: 16px;
}

input[type="file"] {
    border: none;
    padding-left: 0px;
}

.input-label {
    display: flex;
    flex-direction: column;
    width: fit-content;
    gap: 5px;
}

button.primary,
a.primary{
    background-color: var(--main-color);
}

button.primary:hover,
a.secondary:hover,
a.primary:hover,
button.secondary:hover{
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    opacity: 0.8;
}

/* Sidebar modern styles */
.sidebar {
    background: var(--sidebar-bg);
    color: var(--sidebar-fg);
    min-height: 100vh;
}

.sidebar a { color: var(--sidebar-fg); }
.menu-link { padding-left: 6px; padding-right: 6px; border-radius: 8px; }
.menu-link:hover { background: rgba(255,255,255,0.06); }
.bottom-support { background: var(--main-color); }

/* Header */
.dash-head { background: var(--main-color); }
.dash-head .left { display: flex; align-items: center; gap: 12px; }
.dash-head .sidebar-toggle { background: transparent; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.dash-head .sidebar-toggle:hover { background: rgba(255,255,255,0.12); }

/* Content */
.content { background: transparent; }
.inner-content { background: transparent; }

/* Cards */
.dash-box { border: 1px solid var(--border-color); }



    .multiselect-container {
        position: relative;
        display: inline-block;
        width: 100%;
    }

    .multiselect-display {
        padding: 8px;
        border: 1px solid #ccc;
        cursor: pointer;
        background: #fff;
    }

    .multiselect-options {
        display: none;
        position: absolute;
        background-color: #fff;
        border: 1px solid #ddd;
        max-height: 200px;
        overflow-y: auto;
        width: 100%;
        z-index: 1000;
    }

    .multiselect-options label {
        display: block;
        padding: 5px 10px;
        cursor: pointer;
    }

    .multiselect-options label:hover {
        background-color: #f0f0f0;
    }
