/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 03 2026 | 15:17:55 */

/* =========================================
   AUDIOBIBBIA DASHBOARD - STILE CONDIVISO
   DASHBOARD ITEM + TRACKER MODULE
   ========================================= */

:is(#dashboard-item, #tracker-module) .abdb-dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    font-family: system-ui, Arial, sans-serif;
}

/* =========================================
   BARRA SUPERIORE
   REFRESH - PREMIUM - PULIZIA
   ========================================= */

:is(#dashboard-item, #tracker-module) .abdb-topbar {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* REFRESH */

:is(#dashboard-item, #tracker-module) .abdb-refresh {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 8px !important;
    border: none !important;
    border-radius: 9px !important;
    background: #8fd3f4 !important;
    color: #173b54 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    cursor: pointer;
    transition: background .2s;
    box-sizing: border-box !important;
}

:is(#dashboard-item, #tracker-module) .abdb-refresh:hover {
    background: #65bde9 !important;
}

/* PREMIUM ATTIVI */

:is(#dashboard-item, #tracker-module) .abdb-premium-card {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 7px 5px !important;
    margin: 0 !important;
    border-radius: 10px;
    background: linear-gradient(135deg, #263c58, #426b91);
    color: #fff;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.10);
}

:is(#dashboard-item, #tracker-module) .abdb-premium-label {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

:is(#dashboard-item, #tracker-module) .abdb-premium-number {
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    margin: 2px 0 0;
}

/* PULIZIA */

:is(#dashboard-item, #tracker-module) .abdb-cleanup-card {
    display: block !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
}

:is(#dashboard-item, #tracker-module) .abdb-cleanup-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 8px;
    border: none;
    border-radius: 10px;
    background: #b74747;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s;
}

:is(#dashboard-item, #tracker-module) .abdb-cleanup-button:hover {
    background: #923333;
}

:is(#dashboard-item, #tracker-module) .abdb-cleanup-button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

:is(#dashboard-item, #tracker-module) .abdb-cleanup-message {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 600;
    max-width: 180px;
}

/* =========================================
   STATISTICHE ULTIMI 7 GIORNI
   ========================================= */

:is(#dashboard-item, #tracker-module) .abdb-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

:is(#dashboard-item, #tracker-module) .abdb-stat-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

:is(#dashboard-item, #tracker-module) .abdb-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

:is(#dashboard-item, #tracker-module) .abdb-stat-date {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 18px;
    opacity: .85;
}

:is(#dashboard-item, #tracker-module) .abdb-stat-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

/* SINGOLI STEP */

:is(#dashboard-item, #tracker-module) .abdb-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f6f8fc;
    font-size: 15px;
}

:is(#dashboard-item, #tracker-module) .abdb-step-wide {
    grid-column: 1 / -1;
    width: 100%;
}

:is(#dashboard-item, #tracker-module) .abdb-step-label {
    opacity: .75;
    font-size: 14px;
}

:is(#dashboard-item, #tracker-module) .abdb-step-value {
    font-weight: 700;
    font-size: 15px;
}

/* COLORI STATISTICHE */

:is(#dashboard-item, #tracker-module) .abdb-lvl-300 {
    background: #2e7d32;
    color: #fff;
}

:is(#dashboard-item, #tracker-module) .abdb-lvl-100 {
    background: #66bb6a;
    color: #111;
}

:is(#dashboard-item, #tracker-module) .abdb-lvl-50 {
    background: #ffcc80;
    color: #111;
}

:is(#dashboard-item, #tracker-module) .abdb-lvl-low {
    background: #f6f8fc;
    color: #333;
}

/* =========================================
   MOBILE
   ========================================= */

@media screen and (max-width: 600px) {

    :is(#dashboard-item, #tracker-module) .abdb-dashboard {
        gap: 15px;
    }

    /* Barra superiore */

    :is(#dashboard-item, #tracker-module) .abdb-topbar {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 0 auto !important;
    }

    /* Refresh */

    :is(#dashboard-item, #tracker-module) .abdb-refresh {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        height: 40px !important;
        padding: 0 5px !important;
        font-size: 12px !important;
        border-radius: 9px !important;
    }

    /* Premium compatto */

    :is(#dashboard-item, #tracker-module) .abdb-premium-card {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 6px 3px !important;
        border-radius: 9px;
    }

    :is(#dashboard-item, #tracker-module) .abdb-premium-label {
        font-size: 10px;
    }

    :is(#dashboard-item, #tracker-module) .abdb-premium-number {
        font-size: 22px;
    }

    /* Pulizia compatta */

    :is(#dashboard-item, #tracker-module) .abdb-cleanup-card {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
    }

    :is(#dashboard-item, #tracker-module) .abdb-cleanup-button {
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 40px !important;
        padding: 8px 5px !important;
        font-size: 11px !important;
        border-radius: 9px !important;
    }

    /* Card giornaliere */

    :is(#dashboard-item, #tracker-module) .abdb-stat-card {
        padding: 14px;
    }

    :is(#dashboard-item, #tracker-module) .abdb-stat-date {
        font-size: 17px;
    }

    :is(#dashboard-item, #tracker-module) .abdb-stat-steps {
        gap: 8px;
    }

    :is(#dashboard-item, #tracker-module) .abdb-step {
        padding: 6px 8px;
    }

    :is(#dashboard-item, #tracker-module) .abdb-step-label {
        font-size: 12px;
    }

    :is(#dashboard-item, #tracker-module) .abdb-step-value {
        font-size: 14px;
    }
}
