html, body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont;
    background-color: #f2f2f2;
    margin: 0;
}

/* ===== APP LOADER (initial - before Blazor renders) ===== */
.app-loader {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    color: #333;
    font-family: 'Inter', system-ui, sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
}

    .app-loader.hidden {
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease-out;
    }

/* ===== SPINNER/LOADER ===== */
.spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(0, 0, 0, 0.08);
    border-top-color: #57b846;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.loader-text {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.85;
    letter-spacing: 0.03em;
    color: #333;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== AUTHORIZING CONTAINER ===== */
.authorizing-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    color: #333;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


/*placeholder de formulario */
.form-control::placeholder {
    font-style: italic;
    font-size: 0.85rem;
    color: #6c757d;
}

.select-placeholder {
    font-style: italic;
    font-size: 0.85rem;
    color: #6c757d;
}
.home-bg {
    background-color: #ffffff;
    width: 100%;
    height: 89vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-center {
    text-align: center;
}

.home-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
}