﻿.simply-dashboard-section-title {
    font-size: 25px;
    font-weight: bold;
    color: #92acac
}

.simply-dashboard-section-chart-title {
    font-size: 25px;
    font-weight: bold;
    color: #92acac;
    margin: 20px;
    overflow: hidden;
    text-overflow: ellipsis;    
}

.simply-block-section {
    background-color: #ffffff;
    border: 1.5px solid #e5e5e5;
    margin: 5px;    
    min-height: 300px;
}

.simply-block-section-btn {
    background-color: #ffffff;
    border: 1.5px solid #e5e5e5;
    user-select: none;
    margin: 5px;
    padding: 8px 16px; /* Aggiunto per avere un padding decente */
    cursor: pointer;
    border-radius: 6px; /* Opzionale: angoli arrotondati */
    transition: all 0.2s ease;
}

    .simply-block-section-btn:hover {
        background-color: #f8f9fa;
        border-color: #c0c0c0;
        transform: translateY(-1px); /* Leggero sollevamento */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .simply-block-section-btn:active {
        background-color: #e9ecef;
        border-color: #a0a0a0;
        transform: translateY(0px); /* Torna alla posizione originale */
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    /* Opzionale: stato focus per accessibilità */
    .simply-block-section-btn:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    }

    /* Opzionale: stato disabled */
    .simply-block-section-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;        
    }

        .simply-block-section-btn:disabled:hover {
            background-color: #ffffff;
            border-color: #e5e5e5;
            transform: none;
        }

.simply-button-stat-0 {
    border: 3px solid #b2b2b2;
    border-radius: 8px;
    /*width: 100px;*/
    /*height: 200px;*/
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    margin: 10px;
    padding: 20px;
    gap: 4px;
    background: #f5f9fd;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
}

.simply-button-stat-1 {
    border: 3px solid #2c3e50;
    border-radius: 8px;
    /*width: 100px;*/
    /*height: 200px;*/
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    margin: 10px;
    padding: 20px;
    gap: 4px;
    background: rgba(231, 76, 60, 0.25);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
}

.simply-button-stat-2 {
    border: 3px solid #2c3e50;
    border-radius: 8px;
    /*width: 100px;*/
    /*height: 200px;*/
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    margin: 10px;
    padding: 20px;
    gap: 4px;
    background: rgba(241, 196, 15, 0.20);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.1);
}

.simply-button-stat-3 {
    border: 3px solid #2c3e50;
    border-radius: 8px;
    /*width: 100px;*/
    /*height: 100%;*/
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    margin: 10px;
    padding: 20px;
    gap: 4px;
    background: rgba(39, 174, 96, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.1);
}

/*
    border: 3px solid #b2b2b2;
    border-radius: 8px;
    width: 100px;
    height: 200px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    margin: 10px;
    padding: 20px;
    gap: 4px;
    background: #f5f9fd;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
*/

.simply-button-stat-01 {
    border: 3px solid #b2b2b2;
    border-radius: 8px;
    /*width: 100px;*/
    /*height: 100%;*/
    height: calc(100% - 20px);
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    margin: 10px;
    padding: 20px;
    gap: 4px;
    background: #f5f9fd;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
}

.simply-button-stat-4 {
    border: 3px solid #2c3e50;
    border-radius: 8px;
    /*width: 100px;*/
    /*height: 100%;*/
    height: calc(100% - 20px);
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    margin: 10px;
    padding: 20px;
    gap: 4px;
    background: rgba(44, 62, 80, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.1);
}

.simply-button-stat-0:hover {
    background: #f5f9fd;
    border-color: #e8ecf0;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    transform: translateY(-5px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.simply-button-stat-01:hover {
    background: #f5f9fd;
    border-color: #e8ecf0;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    transform: translateY(-5px);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* HOVER - Stat 1 (Rosso) */
.simply-button-stat-1:hover {
    background: rgba(231, 76, 60, 0.45);
    border-color: #ff6b5c;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    transform: translateY(-5px);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* HOVER - Stat 2 (Blu scuro) */
.simply-button-stat-2:hover {
    background: rgba(241, 196, 15, 0.30);
    border-color: #a5cb22;
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
    transform: translateY(-5px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.simply-button-stat-4:hover {
    background: rgba(44, 62, 80, 0.45);
    border-color: #4a627a;
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
    transform: translateY(-5px);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* HOVER - Stat 3 (Verde) */
.simply-button-stat-3:hover {
    background: rgba(39, 174, 96, 0.45);
    border-color: #34ce7a;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    transform: translateY(-5px);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* ACTIVE (click) - per tutti e tre i bottoni */
.simply-button-stat-01:active,
.simply-button-stat-0:active,
.simply-button-stat-1:active,
.simply-button-stat-2:active,
.simply-button-stat-3:active {
    transform: translateY(2px);
    transition: all 0.05s ease;
}

/* ACTIVE specifico per mantenere i colori al click */
.simply-button-stat-1:active {
    background: rgba(231, 76, 60, 0.6);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.simply-button-stat-2:active {
    background: rgba(44, 62, 80, 0.6);
    box-shadow: 0 2px 10px rgba(44, 62, 80, 0.3);
}

.simply-button-stat-3:active {
    background: rgba(39, 174, 96, 0.6);
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.3);
}

.simply-circle-dash-white {
    border: 10px solid white;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    font-size: 11px;
    margin: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    color: white;
}

    /* Hover */
    .simply-circle-dash-white:hover {
        transform: scale(1.05);
        border-color: #f0f0f0;
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.2);
    }

    /* Active con effetto complesso */
    .simply-circle-dash-white:active {
        animation: pulseWhite 0.15s ease-out;
    }

        .simply-circle-dash-white:active::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
            transform: translate(-50%, -50%);
            animation: rippleEffectWhite 0.5s ease-out;
        }

@keyframes pulseWhite {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.90);
    }

    100% {
        transform: scale(0.98);
    }
}

@keyframes rippleEffectWhite {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }

    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* Hover sui testi */
.simply-circle-dash-white:hover div:first-child {
    transform: translateY(-2px);
}

.simply-circle-dash-white:hover div:last-child {
    transform: scale(1.1);
}

.simply-circle-dash-white div {
    transition: all 0.3s ease;
}
/* end of white circle */

/* Stile base del cerchio */
.simply-circle-dash-black {
    border: 10px solid black;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    font-size: 11px;
    margin: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.05) 100%);
    overflow: hidden;
}

    /* Effetto hover */
    .simply-circle-dash-black:hover {
        transform: scale(1.05);
        border-color: #333;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 100%);
    }

        /* Effetto hover sui testi interni */
        .simply-circle-dash-black:hover div:first-child {
            transform: translateY(-2px);
            letter-spacing: 0.5px;
        }

        .simply-circle-dash-black:hover div:last-child {
            transform: scale(1.1);
        }

    /* Effetto active con doppio ripple (più scenico) */
    .simply-circle-dash-black:active {
        animation: softPress 0.15s ease-out;
    }

        .simply-circle-dash-black:active::before,
        .simply-circle-dash-black:active::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            border-radius: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
        }

        .simply-circle-dash-black:active::before {
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
            animation: rippleBlack 0.4s ease-out 0s;
        }

        .simply-circle-dash-black:active::after {
            width: 0;
            height: 0;
            background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
            animation: rippleBlack 0.4s ease-out 0.1s;
        }

@keyframes softPress {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.96);
    }

    100% {
        transform: scale(0.98);
    }
}

@keyframes rippleBlack {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }

    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* Stile per i testi interni con transizione */
.simply-circle-dash-black div {
    transition: all 0.3s ease;
}

/* Stile per i testi interni con transizione */
.simply-circle-dash-black div {
    transition: all 0.3s ease;
}

/* effetto più elegante con gradiente */
.simply-circle-dash-black {
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.05) 100%);
}

    .simply-circle-dash-black:hover {
        background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 100%);
    }

/* end of black circle */

.simply-square-emis {
    border: 3px solid #81af92;
    border-radius: 8px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    padding: 10px;
    gap: 4px;
    background: #cef4ce;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}