
@import url(../font-face/font-face/fonts.css);

body {
    font-family: PantonNarrow, sans-serif;
    background-image: url('/assets/images/Background-Inicio.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-attachment: fixed;
    flex-direction: column;
}

.administrator-background {
    background-image: url('/assets/images/Background-Administrador.png');
}

#logo-sat-1 {
    width: 40px !important;
}

.user-background {
    background-image: url('/assets/images/Background-Usuario.png');
}

.circle-container {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contrata {
    display: block;
    position: absolute;
    margin-bottom: -35%;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.login-form {
    background-color: transparent;
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0);    
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
    width: calc(100% - 12px);
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #005bb5;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .4);    
}

input[type="submit"],
input[type="button"] {
    width: 100%;
    padding: 15px;
    border-color: #005bb5;
    background-color: #005bb5;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
}

input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #0381ffda;
}

a {
    font-weight: normal;
    color: #005bb5;
    text-decoration: none;
    font-weight: normal;
}

a:hover {
    font-weight: normal;
    color: #0381ffda;
}

.form-container {
    background: radial-gradient(circle at left center, rgba(145,206,227,1)  25%, transparent 60%),
        radial-gradient(circle at right center, rgba(145,206,227,1)  25%, transparent 60%);
    border-radius: 15px;
    position: absolute;
    top: 58%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-container input {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #005bb5;
    border-radius: 25px;
    outline: none;
    font-size: 16px;
}

.form-container-fields {
    width: 31%;
}

.titles-buttons {
    font-size: 14px;
}

.form-container .fa-rotate-left {
    font-size: 1.5rem;
    color: #5fd7cf;
}

/* Estilo para el footer con logos */
.footer {
    display: flex;
    justify-content: space-around; /* Alinea las imágenes en el footer de manera uniforme */
    align-items: center;
    margin-top: 20px;
    width: 100%;
    
}

.footer img {
    width: 100px;
    height: auto;
    display: flex;
    justify-content: space-between;
}

.footer img.logo_emite {
    width: 110px;
    height: auto;    
    position: absolute;
    top: 88%;   
    left: 6%;     
}

.footer img.logo-sat-1 {
    width: auto;
    height: auto;
    position: absolute;
    top: 84%;   
    left: 48%; 
}

.footer img.logo_sat_full {
    width: 80px;
    height: auto;        
    position: absolute;
    top: 88.5%;    
    left: 70%;
}

.logo-emite {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -26%;
    width: 100%;
    position: relative;
}

/* Clase para la imagen dentro del div */
.logo-emite img.absolute-position {
    width: 25%;
    height: auto;
    position: absolute;
    top: 5%;
    left: 25.5%;
    transform: translateX(-50%); /* Mueve la imagen a la derecha para alinearla bien */
    z-index: 5;
}

/* Media Queries para hacer el diseño responsive */
@media (max-width: 600px) {
    .footer img {
        max-width: 60%;
        margin: 10px 0;
    }

    .logo-emite {
        justify-content: center;
        margin-top: -20%;
    }

    .logo-emite img.absolute-position {
        width: 30%;
        left: 0;
        transform: translateX(0);
    }
}

@media (max-width: 767px) {
    .form-container {
        width: 80%;
        left: 50%;
    }

    .login-form {
        width: 80%;
        margin-left: 0;
    }

    .footer {
        justify-content: space-around; /* Alinea las imágenes en línea */
    }

    .logo-emite {
        margin-top: -50%;
    }
}

@media (min-width: 768px) {
    .form-container {
        width: 60%;
    }

    .logo-emite {
        margin-top: -15%;
    }

    .footer {
        justify-content: space-around; /* Alinea las imágenes en línea */
    }
}

@media (max-width: 768px) {
    body {
        background-position: top right;
    }

    .logo-emite {
        justify-content: center;
    }

    .logo-emite img.absolute-position {
        width: 35%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .form-container {
        width: 40%;
    }

    .logo-emite {
        margin-top: -35%;
    }

    .footer {
        justify-content: space-around; /* Alinea las imágenes en línea */
    }
}

@media (min-width: 1025px) {
    .form-container {
        width: 25%;
    }

    .form-container-fields {
        width: 31%;
    }

    .logo-emite {
        margin-top: -26%;
    }

    .footer {
        justify-content: space-around; /* Alinea las imágenes en línea */
    }
}

/* Estilo para el botón de "Contratar sistema" y "Ingresar" */
#contrata:hover,
#ingresar:hover {
    background-color: #0381ffda;
}
