﻿html, body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
}

a, .btn-link, .nav-link {
    color: var(--mud-palette-primary);
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--mud-palette-primary);
}
.nav-link:focus, .nav-link:hover {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}
.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--mud-palette-primary);
}

.invalid {
    outline: 1px solid var(--mud-palette-error);
}

.validation-message {
    color: var(--mud-palette-error);
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuN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no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--mud-palette-secobdary);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
.full-height-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main-content {
    flex: 1;
}
.form-check-input:checked {
    background-color: #ff6000 !important;
    border-color: #ff6000 !important;
}
/* Estilos base */
.text-display-large,
.text-link,
.text-display-medium,
.text-display-title {
    font-family: 'Roboto', Helvetica, Arial, sans-serif !important;
    line-height: normal !important;
    letter-spacing: normal !important;
}

.text-display-large {
    font-weight: 900 !important;
    color: var(--mud-palette-primary) !important;
}

.text-link {
    font-style: italic !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-transform: none !important;
    font-weight: 300 !important;
}

.text-display-medium {
    font-weight: 300 !important;
}

.text-display-title {
    font-style: normal !important;
    font-weight: 500 !important;
}

/* Breakpoint XS: <600px */
@media (max-width: 599px) {
    .text-display-large {
        font-size: 20px !important;
    }

    .text-link {
        font-size: 18px !important;
    }

    .text-display-medium {
        font-size: 18px !important;
    }

    .text-display-title {
        font-size: 24px !important;
    }
}

/* Breakpoint SM: 600–959px */
@media (min-width: 600px) and (max-width: 959px) {
    .text-display-large {
        font-size: 34px !important;
    }

    .text-link {
        font-size: 18px !important;
    }

    .text-display-medium {
        font-size: 18px !important;
    }

    .text-display-title {
        font-size: 24px !important;
    }
}

/* Breakpoint MD+: ≥960px */
@media (min-width: 960px) and (max-width: 1279px) {
    .text-display-large {
        font-size: 36px !important;
    }
    .text-link {
        font-size: 18px !important;
    }

    .text-display-medium {
        font-size: 18px !important;
    }

    .text-display-title {
        font-size: 24px !important;
    }
}

/* Breakpoint LG+: ≥1280px */
@media (min-width: 1280px) {
    .text-display-large {
        font-size: 55px !important;
    }

    .text-link {
        font-size: 18px !important;
    }

    .text-display-medium {
        font-size: 18px !important;
    }

    .text-display-title {
        font-size: 24px !important;
    }
}

.custom-input input {
    background-color: #fef9c3 !important; /* por ejemplo, un fondo amarillo claro */
}

.full-height-drawer {
    height: 100vh !important;
    max-height: 100vh !important;
    box-shadow: none !important;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: translateX(0) !important;
}



.mud-input.mud-input-filled {
    background-color: #F5F5F5 !important;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
}

    .mud-input.mud-input-filled:hover,
    .mud-input.mud-input-filled:focus-within {
        background-color: #E8E8E8 !important;
    }

.mud-input-root-filled {
    background-color: transparent !important;
}

input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px #F5F5F5 inset !important;
    -webkit-text-fill-color: #000 !important;
}

input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    box-shadow: 0 0 0px 1000px #E8E8E8 inset !important;
    -webkit-text-fill-color: #000 !important;
}

.mud-input-label,
.mud-input-label.mud-input-label-shrink {
    color: #333 !important; 
}


.falling-icon {
    position: absolute;
    top: -30px;
    font-size: 1.5rem;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.falling-btn:hover .falling-icon {
    animation: fall 1.5s linear;
    opacity: 1;
}
@keyframes fall {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(200%);
        opacity: 0;
    }
}

.pizza-rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.rain-icon {
    position: absolute;
    top: -40px;
    font-size: 2rem;
    opacity: 1;
    animation: fall-screen 5s ease-out forwards;
}

@keyframes fall-screen {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(120vh);
        opacity: 0;
    }
}


.circle-kpi {
    border-radius: 50%;
    border: 4px solid #f26a1b; /* Naranja LC */
    background-color: #fdf8f3;
    text-align: center;
    padding: 1rem;
}

.circle-kpi-img {
    max-height: 60px;
    max-width: 60px;
}

@media (max-width: 600px) {


    .circle-kpi-img {
        max-height: 40px;
        max-width: 40px;
    }
}
.login-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.mud-button-label {
    font-size: 0.8rem !important;
}