body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.contenedor_principal {
    width: 920px;
    height: 620px;
    border: 1px solid #01152E;
}

.header {
    background-image: url('../img/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contenido {
    display: flex;
    align-items: center;
    height: 420px;
    width: 920px;
}

.logo2 {
    margin-left: 77px;
    background-image: url('../img/logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 460px;
    height: 271px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formulario {
    display: flex;
    background-color: #F9F9F8;
    width: 230px;
    height: 271px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    border-radius: 10px;
    margin-left: 94px;
}

.dorado {
    background-color: #A6894B;
    height: 24px;
    width: 920px;
}

.azul {
    background-color: #01152E;
    height: 24px;
    width: 920px;
}

form {
    width: 230px;
    height: 239px;
    display: flex;
    justify-content: center;
    background-color: #F9F9F8;
}

.input-group {
  display: flex;
  flex-direction: column;      
  align-items: center;
  width: 160px;
  gap: 15px;
}

.input-group i {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 45px;
    color: #01152E;
}

.input-group input {
    border: none;
    border-bottom: 2px solid #01152E; 
    outline: none;
    width: 100%;                      
    padding: 2px 0;
    font-size: 18px;
    background: transparent;
}

.input-group input.passwd{
    padding-right: 1.6em;
}

input::placeholder {
  color: #A6894B;
  opacity: 1; 
  font-weight: bold;
  font-size: 18px;
}

.btn {
  background-color: #01152E;       
  color: #E3C076;                    
  padding: 8px 8px;              
  font-size: 18px;                 
  font-weight: bold;
  border: none;                    
  border-radius: 5px;              
  cursor: pointer;                 
  box-shadow: 0 4px 6px rgba(0,0,0,0.2); 
  transition: all 0.3s ease;       
}

.btn:hover {
  background-color: #A6894B;
  color: #01152E;       
  transform: translateY(-2px);     
  box-shadow: 0 6px 10px rgba(0,0,0,0.25); 
}

a {
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #A6894B;
    font-weight: bold;
}

a:hover {
    text-decoration: none;
    color: #01152E;
    transform: translateY(-2px);     
}

.campo-icono {
    position: relative;
    width: 100%;
}

.campo-icono input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #0b2a52;
    background: transparent;
    outline: none;
    font-size: 18px;
    box-sizing: border-box;
}

.icon-input {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-120%);
    color: #0b2a52;
    cursor: pointer;
    line-height: 1;
}

.icon-input::before {
    font-size: 18px;
}

.login .showPass{ display: block; position: absolute; right:0;
    font-size: 2em; color: #01152E; }

.login .no-access { display: block; width: 100%; }

.iframe{ left: 0; bottom: 0; }

@media (max-width: 768px) {
    body {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }

    .contenedor_principal {
        width: 95%;
        height: auto;
    }

    .header {
        height: 90px;
        background-size: cover;
    }

    .contenido {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .logo2 {
        margin-left: 0;
        margin-bottom: 25px;
        width: 100%;
        max-width: 320px;
        height: 190px;
    }

    .formulario {
        margin-left: 0;
        width: 100%;
        max-width: 260px;
        height: auto;
        padding: 20px 0;
        margin-bottom: 25px;
        order: -1;
    }

    form {
        width: 100%;
        height: auto;
    }

    .input-group {
        width: 85%;
    }

    .dorado, .azul {
        width: 100%;
    }
}
