/* ── GestNFC Web — Global Styles ── */

html, body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

/* Scroll suave */
* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* MudBlazor overrides */
.mud-drawer {
    border-right: 1px solid rgba(0,0,0,0.08) !important;
}

.mud-nav-link.active {
    background-color: rgba(69, 39, 160, 0.12) !important;
    border-radius: 8px;
    font-weight: 600;
}

.mud-nav-link:hover {
    background-color: rgba(69, 39, 160, 0.06) !important;
    border-radius: 8px;
}

/* Tarjetas KPI del dashboard */
.kpi-card {
    border-radius: 12px !important;
    transition: box-shadow 0.2s;
}
.kpi-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
}

/* Tablas */
.mud-table-container {
    border-radius: 8px;
    overflow: hidden;
}

.mud-table-head .mud-table-cell {
    background-color: #ede7f6;
    color: #4527a0;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Chips de tipo transacción */
.mud-chip {
    border-radius: 6px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
}

/* Login page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4527a0 0%, #7b1fa2 100%);
}

.login-card {
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.24) !important;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
    background: #c0a0e0;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9c6cc4;
}
