@import "animations.css";

* {
    outline: none;
}

html{
    overflow-y: auto !important;
}

/*
 * Panel de superficie estándar de la app.
 * Usa los custom properties del tema de Vuetify (theme.options.customProperties)
 * para respetar light/dark automáticamente:
 *   --v-clear-base      -> #ffffff (light) / #1E1E1E (dark)
 *   --v-lightgray-base  -> #CDCDCD (light) / #424242 (dark)
 */
.section {
    padding: 25px;
    background-color: var(--v-clear-base, #ffffff);
    border: 1px solid var(--v-lightgray-base, #e0e0e0);
    border-radius: 10px;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

/*
 * Tarjeta estándar del dashboard: usar junto a color="clear" (superficie theme-aware).
 * Altura completa -> grids con tarjetas alineadas; micro-interacción de elevación al hover.
 */
.dashboard-card {
    height: 100%;
    border-radius: 12px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14) !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

body *::-webkit-scrollbar {
    width: 0.7em;
    height: 0.7em;
}

/* Scrollbar en gris neutro: visible tanto en light como en dark mode */
body *::-webkit-scrollbar-track {
    background-color: rgba(128, 128, 128, 0.12);
    border-radius: 15px;
}

body *::-webkit-scrollbar-thumb {
    background-color: rgba(128, 128, 128, 0.45);
    border-radius: 15px;
}

body *::-webkit-scrollbar-thumb:hover {
    background-color: rgba(128, 128, 128, 0.7);
}

.infoCard {
    border-color: #2196F3;
    width: 100% !important;
}
.infoCardText {
    color: #2196f3 !important;
    font-size: 16px;
    line-height: 24px;
}

.alertCard {
    border-color: #f36021;
    width: 100% !important;
}
.alertCardText {
    color: #f36021 !important;
    font-size: 16px;
    line-height: 24px;
}
