html.ingresos-locked {
    overflow: hidden;
}

.ingresos-auth {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    font-family: 'Poppins', system-ui, sans-serif;
}

.ingresos-auth__card {
    width: 100%;
    max-width: 380px;
    background: #ffffff;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 18px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 50px rgba(67, 56, 202, 0.2);
    color: #1f2937;
}

.ingresos-auth__card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.ingresos-auth__card p {
    font-size: 0.92rem;
    color: #6b7280;
    margin-bottom: 18px;
    line-height: 1.45;
}

.ingresos-auth__input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    font: inherit;
    font-size: 1rem;
    color: #1f2937;
    background: #fafafa;
}

.ingresos-auth__input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.ingresos-auth__btn {
    width: 100%;
    margin-top: 14px;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    background: linear-gradient(90deg, #a855f7, #c084fc);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.35);
    cursor: pointer;
}

.ingresos-auth__btn:hover {
    filter: brightness(1.03);
}

.ingresos-auth__error {
    display: none;
    margin-top: 12px;
    font-size: 0.88rem;
    color: #dc2626;
    text-align: center;
}

.ingresos-auth__error.is-visible {
    display: block;
}
