html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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 #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: #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(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Fondo actual */
body {
    background-image: url('/images/fondo.avif');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
}

    /* Capa blanca encima del fondo */
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.90);
        z-index: -1;
    }

.checkbox-cell {
    text-align: center;
    vertical-align: middle !important;
    width: 70px;
}

.checkbox-input {
    transform: scale(1.6);
    cursor: pointer;
    margin: 0;
}

/* ===================================
   LOGIN PET HOME
=================================== */

.login-wrapper {
    position: relative;
    width: 100%;
    max-width: 470px;
    padding: 3px;
    border-radius: 26px;
    overflow: hidden;
}

    /* Borde azul dinámico */
    .login-wrapper::before {
        content: "";
        position: absolute;
        inset: -200%;
        background: conic-gradient( from 0deg, #0d6efd, #2d8cff, #0dcaf0, #5aa9ff, #0d6efd );
        animation: rotateBorder 4s linear infinite;
    }

    /* Fondo interior */
    .login-wrapper::after {
        content: "";
        position: absolute;
        inset: 3px;
        background: white;
        border-radius: 24px;
        z-index: 1;
    }

/* Card login */
.login-card {
    position: relative;
    z-index: 2;
    background: transparent;
    width: 100%;
    border-radius: 24px;
}

    /* Inputs del login */
    .login-card .form-control {
        border: 1px solid #dce3ef;
        transition: all .25s ease;
    }

        .login-card .form-control:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.18rem rgba(13,110,253,.15);
        }

/* Botón login */
.login-btn {
    font-weight: 600;
    transition: all .25s ease;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(13,110,253,.25);
    }

/* Glow hover */
.login-wrapper:hover::before {
    animation-duration: 1.8s;
    filter: drop-shadow(0 0 14px rgba(13,110,253,.5));
}

/* Animación */
@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
