/* head styles */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;



}

main.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flex-error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
}

.flex-start {
    justify-content: flex-start;
}

.flex-start-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: .5em;
}

.tryAnotherWay {
    font-size: 1rem;
    color: #007bff;
    cursor: pointer;
    text-align: center;
}

.tryAnotherWayPeerMobile {
    display: none;
}

.tryAnotherWayPeer {
    font-size: 1.5rem;
    color: #007bff;
    cursor: pointer;
    text-align: center;
    margin-top: 1em;
}

.center-div {
    justify-content: center;
    align-items: center;
}

.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: #F7F8F8;
    gap: 1.5em;
}
.welcome {
    font-family: "TiemposHeadlineBold", serif;
    color: #070E46;
    font-size: 2.5rem;
    text-align: center;
    font-weight: 700;
    color: #070E46;
}

.legacy_welcome {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: "TiemposHeadlineBold", serif;
    color: #070E46;
    font-size: 2.5rem;
    text-align: center;
    font-weight: 700;
    color: #070E46; 
}

img {
    border: none;
    outline: none;
    text-decoration: none;
    box-shadow: none;
}

header {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 1em;
}

.logo {
    min-width: 160px;
    min-height: 45px;
    background-size: contain;
    background-image: url(images/bbva-logo.png);
    background-repeat: no-repeat;
}

/* Error styles */

.otp-legend {
    font-family: "BentonSansBBVABook", sans-serif;
    font-size: 0.9375rem;
    color: #070E46;
}

.logo-error {
    min-width: 12px;
    min-height: 12px;
    background-image: url(images/error-message-logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Media query para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
    .flex-start-row {
        width: 100%;
        justify-content: center;
        align-items: center;
        word-wrap: break-word;
    }

    header {
        margin-top: 23px;
    }

    .logo {
        min-width: 100px;
        min-height: 28px;
    }

    .tryAnotherWayPeer {
        display: none;
    }

    .tryAnotherWayPeerMobile {
        display: block;
        font-size: 1rem;
        color: #007bff;
        cursor: pointer;
        text-align: center;
        margin-bottom: .5em;
    }
}

/* Media query para pantallas medianas (tablets y más grandes) */
@media (min-width: 768px) and (max-width: 1326px) {
    .flex-start-row {
        word-wrap: break-word;
    }
}

@media (min-width: 1327px) {

}