:root {
    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
    :root { font-family: InterVariable, sans-serif; }
}

body {
    background-color: #e0e3e5;
}

body, li, a, p, input, label, button, select, b, i,textarea {    
    font-family: Inter, sans-serif;            
    font-size: 0.88rem !important;                
}

h1, h2, h3, h4, h5, h6 {
    font-family: Inter, sans-serif;
}

.fw-300 {
    font-weight: 300 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fade-in-bottom {
    opacity: 0;
    transform: translateY(100%); /* Start offscreen from the bottom */
    animation: fadeInBottom 300ms forwards; /* Adjust the time as needed */
    }

    @keyframes fadeInBottom {
    0% {
        opacity: 0;
        transform: translateY(5%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.arrow-hover {
    background-color: #000;
    border-radius: 5px;
    display: none;
}

.canale-card {
    border: 1px solid rgba(0, 0, 0, 0.13);
    background-color: #f8f9fa;
    transition: all 0.2s;
}

.canale-card:hover {
    background-color: #f0f1f2;
}

.canale-card:hover .arrow-hover {
    display: block;
}

label {
    font-weight: 500;
}

.login-background {
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.10)), url("../../img/login_bg.jpg");
    /* filter: grayscale(100%); */
}

.bg-blur {
    backdrop-filter: blur(8px);
}

.shadow-s {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.shadow-xs {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 1px 0px;
}

.shadow-m {
    box-shadow: 0px 0px 0px 1px rgb(50 10 0 / 0.03),
        0px 1px 1px -0.5px rgb(50 10 0 / 0.03),
        0px 3px 3px -1.5px rgb(50 10 0 / 0.03), 
        0px 6px 6px -3px rgb(50 10 0 / 0.03),
        0px 12px 12px -6px rgb(50 10 0 / 0.03),
        0px 24px 24px -12px rgb(50 10 0 / 0.03) !important;
}

.shadow-btn {
    box-shadow: rgba(0, 0, 0, 0.50) 0px 1px 3px 0px !important;
}

.form-check-input {
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.form-control {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 1px 0px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.form-select {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 1px 0px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.20);
}

.border-sub {
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.border-sub-dark {
    border: 1px solid rgba(0, 0, 0, 0.2);
}


.form-select {
    border-radius: 10px;
}

.btn, select {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 1px 0px;
}

.btn {
    font-weight: 600;
    border-radius: 10px;
}

.btn-light {
    background-color: #fff !important;
}

.btn-light:hover {
    background-color: #f5f5f5 !important;
}

/****Custom datatable colors ****/

/****TASTO PRECEDENTE****/
.page-item:first-child .page-link {
    box-shadow: none;
    color: #000;
}

/****NUMERI NON ATTIVI****/
.page-item:not(:first-child) .page-link {
    box-shadow: none;
    color: #000;
}

/* NUMERO ATTIVO */
.active>.page-link, .page-link.active{
    border: 1px solid #000;
    background-color: #000; /* Change to your desired background color */
    color: #fff !important; /* Change to your desired text color */
}

.mag-select-active {
    background-color: #000;
    color: #000;
}

.mag-select:hover {
    background-color: #000;
    color: #000;
}

.text-bg-success {
    background-color: #b2d9a7 !important;
    color: #0c4206 !important;
    border: 1px solid #6ca166;
}

.btn-white {
    background-color: #fff;
}

.btn-white:hover {
    background-color: #f8f9fa;
}

.btn-secondary {
    box-shadow: none !important;
    border: 1px solid #c8ccd0;
    color: #5f686e;
    background-color: #eff1f4 !important;
}

.btn-secondary:hover {
    color: #212529 !important;
    border: 1px solid #c8ccd0;
    background-color: #e0e3e5 !important;
}

.btn-secondary:active {
    color: #212529 !important;
    border: 1px solid #c8ccd0;
    background-color: #e0e3e5 !important;
}

.btn-secondary:focus {
    color: #212529 !important;
    border: 1px solid #c8ccd0;
    background-color: #e0e3e5 !important;
}

.nav-link {
    font-weight: 500;
    color: rgb(108,117,125);
}

.nav-active {
    color: #111;
    font-weight: 600;
    background-color: #ebedf0 !important;
}

#loader {
    height: 100%;
    width: 100%;
    backdrop-filter: blur(2px); 
    position: absolute;
    z-index: 999;
    background-color: rgb(255, 255, 255, 0.5);
    display: flex; /* Enable flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.rounded-l {
    border-radius: 16px;
}

.rounded-m {
    border-radius: 10px;
}

.dark-bg {
    background-color: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px); 
}

#msgBox {
    border-radius: 16px;
    padding: 2rem;
    min-width: 800px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 6px 0px, rgba(0, 0, 0, 0.06) 0px 1px 6px 0px;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0.90) 100%);
}

.text-bg-badge-primary {
    color: rgb(44, 35, 176);
    border: 1px solid rgb(185, 186, 237);
    background-color: #e6e6f8;
    font-size: 0.80rem !important;
    padding-top: 3px;
    padding-bottom: 3px;
}


.text-bg-badge-dark {
    color: rgb(39, 39, 39);
    border: 1px solid rgb(201, 201, 201);
    background-color: #eff1f4;
    font-size: 0.80rem !important;
    padding-top: 3px;
    padding-bottom: 3px;
}

.text-bg-badge-dark:hover {
    background-color: #ffffff;
}

.text-bg-badge-red {
    color: rgb(176, 35, 35);
    border: 1px solid rgb(237, 185, 185);
    background-color: #f8e6e6;
    font-size: 0.80rem !important;
    padding-top: 3px;
    padding-bottom: 3px;
}

.text-bg-badge-red:hover {
    background-color: #fff7f7;
}