﻿body
{
    background-color: #ebebeb;
    height: 100%;
}

.form 
{
    padding-bottom: 0;
}

.content-wrapper 
{
    padding-bottom: 0;
}

.content 
{
    display: table;
    height: calc(100vh - 3.13rem); /* 3.13rem is the Header size */
}

.formLayout-verticalAlign
{
    display: table-cell;
    vertical-align: middle;
}

.formLayout-container
{
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    max-width: 362px;
    box-shadow: 0px 1px 4px 0 rgba(0, 0, 0, 0.2) !important;
    border-radius: 2px;
}

.formLayout-groupBox
{
    margin: 0;
    padding: 0 !important;
}

.formLayout-generalErrorText
{
    color: red;
    padding-top: 1em;
}

.eye-button
{
    background: none;
}

.eye-button > div
{
    background: url('Images/eye-button.svg') no-repeat center;
    width: 18px;
    height: 12px;
    vertical-align: baseline;
    pointer-events: none;
    user-select: none;
}
.eye-button.show-password > div
{
    background: url('Images/eye-button-hide.svg') no-repeat center;
}

input[type=password]::-ms-reveal,
input[type=password]::-ms-clear
{
    display: none;
}

.footer-wrapper
{
    position: static;
    display: table-row;
}
.login-page {
    position: relative;
    min-height: 100vh;
    background: #000014; /* fondo muy oscuro */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

    /* Líneas diagonales brillantes animadas */
    .login-page::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: repeating-linear-gradient( 45deg, rgba(44, 166, 164, 0.15) 0, rgba(44, 166, 164, 0.15) 2px, transparent 2px, transparent 10px );
        animation: moveLines 10s linear infinite;
        z-index: 0;
        filter: blur(1.2px);
    }

@keyframes moveLines {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* Luz pulsante de partículas (simples puntitos) */
.login-page::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(44, 166, 164, 0.3) 2px, transparent 3px) 0 0, radial-gradient(rgba(44, 166, 164, 0.3) 2px, transparent 3px) 50px 50px;
    background-size: 100px 100px;
    animation: moveParticles 20s linear infinite;
    z-index: 0;
}

@keyframes moveParticles {
    0% {
        background-position: 0 0, 50px 50px;
    }

    100% {
        background-position: 100px 100px, 150px 150px;
    }
}

/* Para que el card esté encima */
.card {
    position: relative;
    z-index: 1;
    background-color: rgba(255 255 255 / 0.95);
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
}

/* Ajustes de logo y botón similares a antes */
.card-header img {
    max-height: 80px;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: #2CA6A4;
    border-color: #2CA6A4;
}

    .btn-primary:hover {
        background-color: #238d8b;
        border-color: #1d746f;
    }