

.portals{ display: block; margin: auto; max-width: 60em; }

.portals .flogin{ display: block; width: 100%; padding: 2em 0 5em 0;
    background: #fff; border: 1px solid #01152E; }
.portals .flogin .form6{ display: block; margin: auto; text-align: center; }


.portals .titulo-externo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.portals .titulo-externo h1 {
    font-size: 36px;
    font-weight: 600;
    color: #01152E;
    margin: 0;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.4);
}

/* FOOTER */
.portals .dorado {
    background-color: #A6894B;
    height: 25px;
    width: 100%;
}

.portals .azul {
    background-color: #01152E;
    height: 25px;
    width: 100%;
}


.portals .form6 .input-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center;
    width: 360px;
    gap: 16px;
    position: relative;
    margin: auto;
}

/* ICONO LIBRO DENTRO DEL FORM */
.portals .form6 .icono{
    font-size: 64px;
    color: #01152E;
    margin-bottom: 10px;
}

/* INPUTS */
.portals .form6 .input-group input[type="text"],
.portals .form6 .input-group input[type="password"] {
    border: none;
    border-bottom: 2px solid #01152E;
    outline: none;
    width: 100%;
    padding: 2px 0;
    font-size: 20px;
    background: transparent;
    text-align: center;
    box-shadow: none;
    line-height: 1.2;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.portals .form6 .notes {
    font-size: 12px;
    text-align: center;
    color: #A6894B;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin: 0;
}

.portals .form6 input::placeholder {
    color: #A6894B;
    opacity: 1;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.portals .form6 .btn2 {
    background-color: #01152E;
    color: #E3C076;
    padding: 10px 10px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    min-width: 140px;
    margin-top: -5px;
    align-self: center;
}

.portals .form6 .btn2:hover {
    background-color: #A6894B;
    color: #01152E;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.portals .form6 .btn2:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.portals .form6 a {
    text-decoration: none;
    font-size: 14px;
    color: #A6894B;
    font-weight: bold;
}

.portals .form6 a:hover {
    color: #01152E;
}

.portals .form6 .campo-icono {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.portals .form6 .campo-icono input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #01152E;
    background: transparent;
    outline: none;
    font-size: 20px;
    box-sizing: border-box;
    text-align: center;
    padding: 2px 42px 2px 0;
    line-height: 1.2;
    transition: all 0.25s ease;
}

.portals .form6 .icon-input {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #A6894B;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    margin: 0 !important;
}

.portals .form6 .input-group input:focus,
.campo-icono input:focus {
    border-bottom: 2px solid #A6894B;
    transform: scale(1.02);
}

/* ------------------ RESPONSIVE ------------------ */

/* Tablet */
@media (max-width: 1024px) {
    .portals .contenedor_principal {
        height: auto;
    }

    .portals .contenido {
        height: auto;
        padding: 40px 20px;
    }

    .portals .titulo-externo h1 {
        font-size: 30px;
    }

    .portals .form6 {
        width: 90%;
        max-width: 560px;
        height: auto;
    }

    .portals .form6 .input-group {
        width: 90%;
        max-width: 360px;
    }
}

/* Celular grande */
@media (max-width: 768px) {

    .portals .contenido {
        padding: 30px 16px;
    }

    .portals .titulo-externo {
        margin-bottom: 18px;
    }

    .portals .titulo-externo h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .portals .form6 {
        width: 100%;
        padding: 22px 18px;
    }

    .portals .form6 .input-group > .fa-book-open {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .portals .form6 .input-group input[type="text"],
    .portals .form6 .input-group input[type="password"],
    .campo-icono input {
        font-size: 18px;
    }

    .portals .form6 input::placeholder {
        font-size: 16px;
    }

    .portals .form6 .btn {
        font-size: 16px !important;
        min-width: 130px;
    }
}

/* Celular chico */
@media (max-width: 480px) {

    .portals .header {
        height: 85px;
    }

    .portals .contenido {
        padding: 20px 12px;
    }

    .portals .titulo-externo h1 {
        font-size: 26px;
    }

    .portals .titulo-externo h1::after {
        width: 70px;
    }

    .portals .form6 {
        padding: 18px 14px;
    }

    .portals .form6 .input-group {
        gap: 14px;
    }

    .portals .form6 .input-group > .fa-book-open {
        font-size: 32px;
        margin-bottom: 6px;
    }

    .portals .form6 .input-group input[type="text"],
    .portals .form6 .input-group input[type="password"],
    .portals .form6 .campo-icono input {
        font-size: 16px;
    }

    .portals .form6::placeholder {
        font-size: 14px;
    }

    .portals .form6 {
        font-size: 11px;
    }

    .portals .form6 .btn {
        font-size: 15px !important;
        padding: 10px 14px;
        min-width: 120px;
    }

    .portals .form6 .icon-input {
        font-size: 18px;
        right: 8px;
    }

    .portals .form6 .campo-icono input {
        padding: 2px 36px 2px 0;
    }
}