﻿.fc-license-message {
    display: none !important;
}

.text-sm {
    font-size: 12px;
}

.text-xs {
    font-size: 10px;
}

.w-10 {
    width: 20px !important;
}

.w-45 {
    width: 45% !important;
}

.back-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.back-button .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.back-button:hover {
    background-color: #eef2f7;
    color: #0d6efd;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.vertical-align {
    transform: translate(0%, -50%) !important;
    top: 50% !important;
}

.c-not-allowed {
    cursor: not-allowed;
}

.txt-disabled {
    color: #7b7b7b !important;
}

.mt--50 {
    margin-top: -50px;
}

.mt--60 {
    margin-top: -60px;
}

.mt--75 {
    margin-top: -75px;
}

.mt--100 {
    margin-top: -100px;
}

.fw-900 {
    font-weight: 900;
}

.fw-800 {
    font-weight: 800;
}

.fw-700 {
    font-weight: 700;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-25 {
    font-size: 25px !important;
}

.fs-40 {
    font-size: 40px !important;
}

.custom-notify {
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.custom-notify__body {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 25px;
    flex: 1 1 auto;
}

.custom-notify__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: inherit;
    min-width: 32px;
}

.custom-notify__icon:empty {
    display: none;
}

.custom-notify__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: inherit;
    min-width: 0;
}

.custom-notify__title {
    font-weight: 600;
    margin: 0;
    color: inherit;
}

.custom-notify__message {
    margin: 0;
    color: inherit;
}

.custom-notify__close {
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.custom-notify__close .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.custom-notify__close:hover,
.custom-notify__close:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: inherit;
}

.h-60 {
    height: 60px !important;
}

.association-toggle {
    width: 100%;
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.association-toggle__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 12px 14px;
    min-height: 40px;
    border-radius: 0 !important;
    border: 0;
    background: transparent;
    color: #004080;
    font-weight: 600;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.association-toggle__option:hover {
    background: #e6eef9;
    color: #004080;
}

.association-toggle .btn-check:checked + .association-toggle__option {
    background: #004080;
    color: #fff;
    box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.35);
}

.search-with-icon {
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-with-icon:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.search-with-icon .input-group-text,
.search-with-icon .form-control {
    border: 0;
    background: transparent;
}

.search-with-icon .input-group-text {
    color: var(--bs-secondary-color);
    padding-left: 14px;
}

.search-with-icon .form-control {
    box-shadow: none;
    padding-left: 10px;
}

.search-with-icon .form-control::placeholder {
    color: #94a3b8;
}

.entity-list {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.entity-item {
    border: 1px solid var(--bs-border-color);
    border-radius: 12px !important;
    padding: 12px 14px;
    background: #fff;
    margin: 0;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
    gap: 10px;
}

.entity-item:hover {
    background: #f0f4ff;
    border-color: #c9d7eb;
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.08);
    transform: translateY(-1px);
}

.entity-item .badge {
    border: 0;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

.entity-item .material-symbols-outlined {
    color: var(--bs-secondary-color);
    transition: color 0.12s ease;
}

.entity-item.active {
    background: #f0f4ff;
    color: var(--bs-body-color);
    border-color: #004080;
    box-shadow: 0 6px 14px rgba(0, 64, 128, 0.12);
}

.entity-item.active .badge {
    color: #fff !important;
    background: #f0f4ff;
}

.entity-item.active .material-symbols-outlined {
    color: #004080;
}

.entity-item .entity-radio {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: var(--bs-primary);
    flex-shrink: 0;
}

.shadow-sm-sm {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.mb-auto {
    margin-bottom: auto !important;
}

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

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

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

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

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

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

.mt-auto {
    margin-top: auto !important;
}

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

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

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

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

.mt-2-3 {
    margin-top: 25px !important;
}

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

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

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

.ml-0 {
    margin-left: 0px !important;
}

.ml-1 {
    margin-left: 10px !important;
}

.ml-1-2 {
    margin-left: 15px !important;
}

.ml-2 {
    margin-left: 20px !important;
}

.ml-3 {
    margin-left: 30px !important;
}

.ml-4 {
    margin-left: 40px !important;
}

.ml-5 {
    margin-left: 50px !important;
}

.ml-6 {
    margin-left: 60px !important;
}

.mr-0 {
    margin-right: 0px !important;
}

.mr-1 {
    margin-right: 10px !important;
}

.mr-2 {
    margin-right: 20px !important;
}

.mr-3 {
    margin-right: 30px !important;
}

.mr-4 {
    margin-right: 40px !important;
}

.p-0 {
    padding-left: 0px !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pb-1 {
    padding-bottom: 10px !important;
}

.pb-2 {
    padding-bottom: 20px !important;
}

.pb-3 {
    padding-bottom: 30px !important;
}

.pb-4 {
    padding-bottom: 40px !important;
}

.pb-5 {
    padding-bottom: 50px !important;
}

.pt-1 {
    padding-top: 10px !important;
}

.pl-0 {
    padding-left: 0px !important;
}

.pl-1 {
    padding-left: 10px !important;
}

.pl-1-2 {
    padding-left: 15px !important;
}

.pl-2 {
    padding-left: 20px !important;
}

.pl-3 {
    padding-left: 30px !important;
}

.pr-0 {
    padding-right: 0px !important;
}

.pr-1 {
    padding-right: 10px !important;
}

.pr-1-2 {
    padding-right: 15px !important;
}

.pr-2 {
    padding-right: 20px !important;
}

.pr-3 {
    padding-right: 30px !important;
}

.fs-7 {
    font-size: 14px !important;
}

.fs-8 {
    font-size: 12px !important;
}

.text-bold {
    font-weight: bold;
}

.w-a {
    width: auto !important;
}

.h-a {
    height: auto !important;
}

.h-5 {
    height: 50px !important;
}

.pl-3 {
    padding-left: 30px !important;
}

.none {
    display: none !important;
}

div.report {
    margin-bottom: 50px;
}

/* impedisce al campo di ricerca di sforare dal suo contenitore */

div.dataTables_wrapper div.dataTables_filter label {
    overflow: hidden !important;
}

/**
 * Card Collassabile
 * TODO: Servirebbe una piccola animazione per lo sliding
 */

 .card.card-collapsable .body {
    display: none;
}

.card.card-collapsable .body.open {
    display: block;
}

.collapsable-handler {
    cursor: pointer;
}

.collapsable-handler > i.rotated {
    transform: rotate(180deg);
}

input.form-control.input-sm {
    max-width: inherit;
}

.demo-switch .switch {
    min-width: 70px;
}

textarea.note {
    min-height: 400px;
    padding: 10px !important;
    background-color: #F8F8FA;
}

.progress {
    margin-bottom: 0px;
    margin-top: 7px;
}

.progress-installations {
    margin-bottom: 0px;
    margin-top: 0px !important;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.subtitle {
    font-size: 16px;
    color: #555555;
}

.card > .header h2 > i {
    top: 5px;
    position: relative;
    margin-right: 5px;
    color: #444;
}

.open > .dropdown-menu {
    min-width: 180px;
}

td > .label,
.label.label-big {
    padding: 0.3em 0.7em 0.4em;
    font-size: 90%;
}

.bootstrap-select .bs-searchbox .form-control, .bootstrap-select .bs-actionsbox .form-control, .bootstrap-select .bs-donebutton .form-control {
    margin-left: 0px;
}

.bootstrap-select .bs-searchbox:after {
    content: '';
}

i.text-sm {
    font-size: 15px;
}

i.vertical-middle {
    float: right;
    position: absolute;
    right: 0;
    bottom: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cursor-pointer {
    cursor: pointer;
}

/* Accordion */

.accordion-button {
    background-color: #fff;
    color: #000;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #000;
}

.accordion-item {
    border: none;
}

.accordion-title {
    color: #555555;
}

.accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.accordion-subtitle {
    font-size: 0.875rem;
    color: #000;
    display: block;
    margin-top: 0.25rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.sidebar .user-info,
.sidebar .legal {
    flex-shrink: 0;
}

.sidebar .legal {
    position: static;
    margin-top: auto;
}

.sidebar .menu {
    flex: 1 1 auto;
    height: auto !important;
    max-height: none;
    overflow-y: auto;
}

.sidebar .menu .list {
    padding-bottom: 1.5rem;
}

.sidebar .badge-coming-soon {
    font-size: 0.45rem !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    color: #6b5a2a;
    background: #f4f1e6;
    border: 1px solid #e3dcc9;
    box-shadow: none;
    line-height: 1.1;
}

.sidebar .menu-label {
    font-size: 0.85rem;
}

.sidebar .menu .list a.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.users-table tbody tr {
    height: 56px;
}

.dropdown-toggle::after {
    display: none !important;
}

.form-submit-row {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem;
    gap: 0.75rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .form-submit-row {
        justify-content: flex-end;
        padding: 0 1rem;
    }
}

.btn-form-submit {
    min-width: 220px;
    padding: 1.05rem 2.1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    color: #fff;
    background-color: #198754;
    border-color: #198754;
    box-shadow: 0 8px 22px rgba(25, 135, 84, 0.2);
}

.btn-form-submit:hover {
    color: #fff;
    background-color: #157347;
    border-color: #157347;
}

.btn-form-submit:focus {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

@media (max-width: 767.98px) {
    .btn-form-submit {
        width: 100%;
    }
}
