html, body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    font-size: 12px;
    font-family: Helvetica,Arial,sans-serif;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;  
}

body {
    position: relative;
    background:
      radial-gradient(circle at 15% 85%, rgba(14, 143, 181, 0.10) 0%, rgba(14, 143, 181, 0) 40%),
      linear-gradient(160deg, #FFFFFF 0%, #EEF3F7 100%);
}

/* Trazo de marca (como el arco del logo) detras de la tarjeta */
body::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 70%;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='500' viewBox='0 0 1440 500'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%230E8FB5' stop-opacity='0'/%3E%3Cstop offset='0.35' stop-color='%230E8FB5'/%3E%3Cstop offset='1' stop-color='%232BA8D0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M-20 470 C 360 180 900 40 1460 120 L 1460 128 C 900 70 380 220 -20 478 Z' fill='url(%23g)'/%3E%3Cpath d='M-20 492 C 420 250 960 140 1460 190 L 1460 192 C 960 160 430 270 -20 494 Z' fill='url(%23g)' opacity='0.35'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.no_user_select{
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

.login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    max-width: calc(100% - 32px);
    padding: 32px 32px 28px 32px;
    box-sizing: border-box;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0px 24px 48px -20px rgba(2, 27, 60, 0.45), 0px 2px 6px rgba(2, 27, 60, 0.06);
    animation: login-entrada 0.5s ease-out both;
}

@keyframes login-entrada {
    from { opacity: 0; transform: translate(-50%, -46%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

.login_Titulo {
    width: 100%;
    text-align: center;
    margin: 0px;
}

.login_Titulo img {
    width: 220px;
    height: 104px;
    object-fit: contain;
}

.login_bienvenida {
    margin: 18px 0px 4px 0px;
    color: #021B3C;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.login_subtitulo {
    margin: 0px 0px 24px 0px;
    color: #7A8A9A;
    font-size: 13px;
    text-align: center;
}

#FormLogin {
    display: flex;
    flex-direction: column;
}

.login_campo {
    color: #3D4F63;
    font-size: 12px;
    font-weight: bold;
    margin: 0px 0px 6px 2px;
}

.login input[type="text"], .login input[type="password"], .login input[type="email"] {
    width: 100%;
    height: 44px;
    margin: 0px 0px 16px 0px;
    padding: 0px 14px;
    box-sizing: border-box;
    border: 1px solid #D5DEE6;
    border-radius: 10px;
    background: #F7FAFC;
    color: #1F2D3D;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.login input::placeholder {
    color: #A3B1BF;
}

.login input[type="text"]:focus, .login input[type="password"]:focus, .login input[type="email"]:focus {
    border-color: #0E8FB5;
    background: #FFFFFF;
    box-shadow: 0px 0px 0px 4px rgba(14, 143, 181, 0.15);
}

.login_boton {
    height: 46px;
    margin-top: 8px;
    border: 0px;
    border-radius: 10px;
    background: linear-gradient(135deg, #021B3C 0%, #0E6E95 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0px 8px 18px -10px rgba(2, 27, 60, 0.8);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.login_boton:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0px 12px 22px -10px rgba(2, 27, 60, 0.8);
}

.login_boton:active {
    transform: translateY(0px);
}

.login_boton[disabled] {
    filter: grayscale(0.4) brightness(1.2);
    cursor: wait;
}

.login #progressLogin {
    box-sizing: border-box;
}

.login_tamanoIcono {
    width: 50px;
    height: 50px;
}

.login_fieldlist {
    margin: 0 0 -2em;
    padding: 0;
}

.login_fieldlist li {
    white-space: normal;
    list-style: none;
    margin: 10px;
}

.login_label {
    display: block;
    color: #575757;
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 3px;
    padding: 0px;
}
  
input[type="text"] 
{
  border: 1px solid #ccc;
  color: #3a3a3a;
  font-size: 12px;
  font-weight: normal;
  margin: 0px;
  padding: 2px 5px;
  outline: none;
}

.NotificarValidacionesG,
.NotificarValidaciones,
.NotificarValidaciones_warning,
.NotificarValidaciones_info,
.NotificarValidaciones_required {
    color: white;
    position: absolute;
    opacity: 0;
    display: none;
    z-index: 2147483647;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: indianred;
    height: 30px;
    width: auto;
    min-width: 200px;
    border: 1px solid #ccc;
    -webkit-box-shadow: 3px 3px 5px -2px #666;
    -moz-box-shadow: 3px 3px 5px -2px #666;
    -ms-box-shadow: 3px 3px 5px -2px #666;
    -o-box-shadow: 3px 3px 5px -2px #666;
    box-shadow: 3px 3px 5px -2px #666;
    padding: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.NotificarValidaciones_warning {
    background: #c21c35;
}

.NotificarValidacionesG,
.NotificarValidaciones,
.NotificarValidaciones_warning,
.NotificarValidaciones_info,
.NotificarValidaciones_required {
    border: 0px;
    border-radius: 8px;
    padding: 6px 14px;
}

.NotificarValidaciones_info {
    background: #47B350;
}

.NotificarValidaciones_required {
    color: black;
    background: #ffff00;
}

footer{
  width: 100%;
  height: 24px;
  bottom: 0;
  position: absolute;
  padding: 0px;
  margin: 0px;
  background-color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid #E3EAF0;
  color: #8A8A8A;
  font-family: Arial;
  font-size: 12px;
  text-align: center;  
  line-height: 24px;
  vertical-align: middle; 
}

@media (max-height: 640px) {
  .login_Titulo img { width: 170px; height: 80px; }
  .login_bienvenida { margin-top: 8px; }
  .login_subtitulo { margin-bottom: 14px; }
}
