/* General */
::selection {
  color: #ffffff;
  background-color: #2D2F93;
}
a {
    color: #2D2F93 !important;
    text-decoration: none;
    font-size: 14px;
    background-color: transparent;
}
a:hover {
    text-decoration: underline
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #d9e0e7;
    z-index: 9999;
    display: none;
}
.loading-spinner {
    height: 36px;
    width: 36px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -18px 0 0 -18px;
    border: 2px solid rgba(45,53,60,.85);
    border-top: 2px solid #fff;
    -webkit-border-radius: 36px;
    border-radius: 36px;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -ms-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
}
.form-group {
    position: relative;
}
.form-group input[type="password"] {
    padding-right: 40px; /* Ajustar el espacio para el icono */
}
.form-group i.togglePassword{
    position: absolute;
    top: 50%;
    right: 10px; /* Ajustar el espacio desde el borde derecho */
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 15px;
    transition: color 0.2s ease;
}
.checkbox.checkbox-css input:checked + label::before {
  background: #2D2F93;
  border-color: #2D2F93;
}
.checkbox.checkbox-css label:before {
    width: 16px;
    height: 16px;
    background: transparent;
    border: 1px solid #7F7F7F;
    cursor: pointer;
}
.checkbox.checkbox-css input:checked+label:after {
    background-size: 75%;
    color: #fff;
    height: 16px;
    width: 16px;
    text-align: center;
    cursor: pointer;
}
.checkbox.checkbox-css label {
    cursor: pointer;
}
.form-control:focus {
  border: 1px solid #2D2F93;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Color negro con opacidad (0.5) */
}
/* End General */
/* Jconfirm */
.jconfirm .jconfirm-box.jconfirm-type-success{
  border-top: solid 7px #2D2F93 !important;
  -webkit-animation-name: type-green;
  animation-name: type-green;
}
.jconfirm .jconfirm-box.jconfirm-type-success .jconfirm-title-c .jconfirm-icon-c{
  color: #2D2F93 !important;
}
.jconfirm .jconfirm-box.jconfirm-type-info{
  border-top: solid 7px #49b6d6 !important;
  -webkit-animation-name: type-blue;
  animation-name: type-blue;
}
.jconfirm .jconfirm-box.jconfirm-type-info .jconfirm-title-c .jconfirm-icon-c{
  color: #49b6d6 !important;
}
/* End Jconfirm */
/* Alertas */
body #gritter-notice-wrapper .gritter-item-wrapper .gritter-item p {
    color: #FFFFFF !important;
    font-size: 12px !important;
}
.gritter-close:before, .gritter-light .gritter-close:before{
    font-family: "Font Awesome 5 Free" !important;
    content: "\f00d" !important;
    font-size: 16px !important;
    font-weight: 900 !important; 
}
.alert-success .gritter-bottom,.alert-success .gritter-item,.alert-success .gritter-top{
    background: #2D2F93 !important;
}
.alert-warning .gritter-bottom,.alert-warning .gritter-item,.alert-warning .gritter-top{
    background: #F8AC59 !important;
}
.alert-info .gritter-bottom,.alert-info .gritter-item,.alert-info .gritter-top{
    background: #1C84C6 !important;
}
.alert-error .gritter-bottom,.alert-error .gritter-item,.alert-error .gritter-top{
    background: #F66C5E !important;
}
.gritter-image i{
    color: #FFFFFF;
}
.gritter-close{
    color: #FFFFFF !important
}
.gritter-title{
    font-size: 13px !important;
    font-weight: bold !important;
}
.login-content {
            padding: 40px 30px;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .form-group { position: relative; margin-bottom: 25px; }
        
        .form-control-lg {
            height: 55px;
            padding: 20px 15px 5px 15px; /* Ajuste para label flotante */
            font-size: 16px;
            border: 2px solid #eef2f5;
            background-color: #f8f9fa;
            border-radius: 8px;
            transition: all 0.3s;
            font-weight: 500;
            color: #333;
        }

        .form-control-lg:focus {
            background-color: #fff;
            border-color: #2D2F93;
            box-shadow: 0 0 0 4px rgba(0, 172, 172, 0.1);
        }

        .floating-label {
            position: absolute;
            top: 16px;
            left: 15px;
            font-size: 15px;
            color: #999;
            pointer-events: none;
            transition: all 0.2s ease-out;
            background-color: transparent;
        }

        .form-control-lg:focus ~ .floating-label,
        .form-control-lg:not(:placeholder-shown) ~ .floating-label {
            top: 8px;
            font-size: 11px;
            color: #2D2F93;
            font-weight: 700;
            text-transform: uppercase;
        }

        .togglePassword {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #b0b0b0;
            font-size: 18px;
            z-index: 10;
        }
        .togglePassword:hover { color: #2D2F93; }

        .btn-lg {
            height: 52px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 8px;
            letter-spacing: 0.5px;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .btn-lg:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 172, 172, 0.3);
        }

        .form-control-lg::placeholder { color: transparent; }
/* End Alertas */
