/*
 * Base minima para Login.aspx (reemplaza assets/css/style.bundle.css, ~1,3 MB, en esta pagina).
 * Solo incluye lo que el login usa: reset, tipografia, controles de formulario, loader y
 * notificaciones (bootstrap-notify). El diseño de la tarjeta vive en stylenLogin.css, que se carga despues.
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: #f2f3f8;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

form {
    margin: 0;
}

img {
    vertical-align: middle;
    border-style: none;
}

a {
    color: #0072B1;
    text-decoration: none;
}

/* ---- Controles de formulario ---- */

button,
input,
select {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input[type="submit"],
select {
    cursor: pointer;
}

button:disabled,
input:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #B7B7B7;
    border-radius: 7px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    outline: 0;
    border-color: #25468B;
    box-shadow: 0 0 0 3px rgba(37, 70, 139, .2);
}

.form-control::placeholder {
    color: #6B6B6B;
    opacity: 1;
}

/* ---- Loader (pantalla de carga) ---- */

.modal-loader {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding-top: 17%;
    overflow: auto;
    background-color: #ffffffbf;
}

.modal-content-loader {
    display: block;
    width: 10%;
    max-width: 700px;
    margin: auto;
}

/* ---- Notificaciones (bootstrap-notify) ---- */

.alert {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: .35rem;
    margin: 0 0 20px 0;
    padding: 1rem 2.5rem 1rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 3px;
    color: #fff;
}

.alert-info {
    background-color: #0097ec;
}

.alert[data-notify] {
    min-width: 300px;
    width: 30%;
    max-width: 90%;
}

.alert [data-notify="title"] {
    font-weight: 600;
}

.alert [data-notify="icon"]:empty,
.alert [data-notify="progressbar"] {
    display: none;
}

.alert .close {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    opacity: .8;
    cursor: pointer;
}

.alert .close:hover,
.alert .close:focus {
    opacity: 1;
}

.animated {
    animation-duration: .5s;
    animation-fill-mode: both;
}

.fadeInDown {
    animation-name: loginFadeInDown;
}

.fadeOutUp {
    animation-name: loginFadeOutUp;
}

@keyframes loginFadeInDown {
    from { opacity: 0; transform: translate3d(0, -40%, 0); }
    to   { opacity: 1; transform: none; }
}

@keyframes loginFadeOutUp {
    from { opacity: 1; }
    to   { opacity: 0; transform: translate3d(0, -40%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .animated {
        animation: none;
    }
}

@media (max-width: 768px) {
    .alert[data-notify] {
        width: 90%;
    }
}
