html, body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

/* Login: contenedor centrado a toda la página */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f5f5 100%);
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
}

.login-footer .mud-typography {
    display: block;
}

.login-footer .mud-typography + .mud-typography {
    margin-top: 0.25rem;
}

/* Wrapper que limita el ancho del card (centrado en la mitad de la página) */
.login-card-wrapper {
    width: 100%;
    max-width: 360px;
    flex-shrink: 0;
}

.login-logo {
    max-width: 100%;
    height: auto;
    max-height: 100%;
    display: block;
}

/* Forzar que el MudCard no herede ancho completo de MudBlazor */
.login-container .login-card-wrapper .login-card,
.login-container .login-card-wrapper .mud-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 2rem;
    box-sizing: border-box;
}

/* Main layout: content area below AppBar so breadcrumbs and first content are visible */
.layout-main-content {
    padding-top: var(--mud-appbar-height, 64px) !important;
    min-height: 100%;
}

.app-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Fila del último informe generado: buen contraste en light y dark */
.report-row-last-generated .mud-table-cell {
    color: inherit;
}

.mud-dark-theme .report-row-last-generated {
    background-color: rgba(34, 197, 94, 0.2);
}

.mud-dark-theme .report-row-last-generated .mud-table-cell {
    color: #E2E8F0 !important;
}

.dashboard-card {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
