body.trx-login {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
}

.trx-container {
    display: flex;
    height: 100vh;
}

/* Fondo institucional */
.trx-left {
    flex: 1;
    background-image: url('../Images/Fondo.png'); /* Usá tu imagen acá */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trx-slogan {
    color: white;
    font-size: 62px; /* Más grande */
    font-weight: 900; /* Más gruesa */
    font-family: 'MontserratExtraBold', sans-serif;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    max-width: 900px; /* Más ancho para evitar 4 líneas */
    line-height: 1.2;
    padding: 20px;
}

/* Panel blanco con encabezado azul */
.trx-right {
    width: 400px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@font-face {
    font-family: 'MontserratExtraBold';
    src: url('../fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

.trx-header {
    background-color: #002b5c;
    color: white;
    font-size: 50px; /* Más grande */
    font-weight: 900;
    font-family: 'MontserratExtraBold', sans-serif;
    width: 100%;
    text-align: center;
    padding: 50px 0; /* Más alto */
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    letter-spacing: 1px;
    border-bottom: 4px solid #001f3f;
}

/*.trx-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
}*/

.trx-form {
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.trx-logo {
    display: block;
    margin: 0 auto 30px;
    width: 200px;
}

/* Campos */
.trx-field {
    position: relative;
    margin-bottom: 20px;
}

/*.trx-input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}*/

.trx-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

/* Botón */
.trx-button {
    width: 100%;
    padding: 10px;
    background-color: #002b5c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

    .trx-button:hover {
        background-color: #004080;
        transition: background-color 0.3s ease;
    }


.trx-input-wrapper {
    position: relative;
}

.trx-input {
    width: 100%;
    padding: 10px 40px 10px 35px; /* espacio para ícono a la izquierda */
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    box-sizing: border-box;
}

.trx-icon-inside {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 16px;
}

.trx-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
}


@media screen and (max-width: 768px) {
    .trx-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .trx-left, .trx-right {
        width: 100%;
        max-width: 400px;
        padding: 20px;
    }

    .trx-left {
        display: none; /* opcional: ocultar fondo en mobile */
    }

    .trx-form {
        width: 100%;
    }

    .trx-logo {
        max-width: 180px;
        height: auto;
        margin: 0 auto 20px auto;
        display: block;
    }

    .trx-input-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .trx-button {
        width: 100%;
        margin-top: 20px;
    }
}