* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f4f6f8;
    color: #17202a;
}

.riscoia-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 32px 20px;
}

.riscoia-card {
    width: 100%;
    max-width: 620px;

    padding: 42px 48px;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 20px 55px
        rgba(0, 0, 0, 0.12);
}

.riscoia-header {
    text-align: center;

    margin-bottom: 32px;
}

.riscoia-brand {
    display: inline-block;

    color: #17202a;

    font-size: 38px;
    font-weight: 700;

    text-decoration: none;
}

.riscoia-brand:hover {
    color: #17202a;
}

.riscoia-subtitle {
    margin-top: 8px;

    color: #6b7785;

    font-size: 15px;
}


/* ==========================================================
   CONTENIDO
   ========================================================== */

.riscoia-content {
    width: 100%;
}

.riscoia-content h1 {
    margin:
        0
        0
        22px;

    font-size: 29px;
    line-height: 1.2;

    color: #17202a;
}

.riscoia-content h2 {
    margin-top: 24px;

    color: #17202a;
}

.riscoia-content p {
    color: #52606d;

    font-size: 16px;
    line-height: 1.55;
}

.riscoia-content a {
    color: #1769aa;

    text-decoration: none;
}

.riscoia-content a:hover {
    text-decoration: underline;
}


/* ==========================================================
   FORMULARIOS
   ========================================================== */

.riscoia-content form {
    width: 100%;

    margin-top: 20px;
}

.riscoia-content label {
    display: block;

    margin:
        17px
        0
        7px;

    color: #263238;

    font-size: 15px;
    font-weight: 600;
}

.riscoia-content input,
.riscoia-content select,
.riscoia-content textarea {
    width: 100%;

    min-height: 46px;

    padding:
        11px
        13px;

    border:
        1px solid
        #cbd2d9;

    border-radius: 9px;

    background: #ffffff;

    color: #17202a;

    font-family: inherit;
    font-size: 16px;

    outline: none;

    transition:
        border-color .15s,
        box-shadow .15s;
}

.riscoia-content input:focus,
.riscoia-content select:focus,
.riscoia-content textarea:focus {
    border-color: #4b89b8;

    box-shadow:
        0 0 0 3px
        rgba(75, 137, 184, 0.14);
}


/* Checkbox y radio */

.riscoia-content input[type="checkbox"],
.riscoia-content input[type="radio"] {
    width: auto;
    min-height: auto;

    margin-right: 7px;
}


/* ==========================================================
   BOTONES
   ========================================================== */

.riscoia-content button,
.riscoia-content input[type="submit"] {
    width: 100%;

    min-height: 46px;

    margin-top: 19px;

    padding:
        11px
        18px;

    border: 0;

    border-radius: 9px;

    background: #17202a;

    color: #ffffff;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .1s,
        opacity .15s;
}

.riscoia-content button:hover,
.riscoia-content input[type="submit"]:hover {
    opacity: .91;
}

.riscoia-content button:active,
.riscoia-content input[type="submit"]:active {
    transform: translateY(1px);
}


/* ==========================================================
   AYUDAS DE CONTRASEÑA
   ========================================================== */

.riscoia-content .helptext,
.riscoia-content .helptext ul {
    color: #697683;

    font-size: 13px;
    line-height: 1.45;
}

.riscoia-content ul {
    padding-left: 22px;
}

.riscoia-content li {
    margin: 5px 0;

    color: #52606d;
}


/* ==========================================================
   ERRORES
   ========================================================== */

.riscoia-content .errorlist {
    margin:
        8px
        0;

    padding:
        10px
        14px;

    list-style: none;

    border-radius: 8px;

    background: #fdecec;

    color: #a12622;

    font-size: 14px;
}

.riscoia-content .errorlist li {
    color: #a12622;
}


/* ==========================================================
   MENSAJES
   ========================================================== */

.riscoia-messages {
    margin-bottom: 22px;
}

.riscoia-message {
    margin-bottom: 8px;

    padding:
        12px
        14px;

    border-radius: 8px;

    background: #e5f6ec;

    color: #176b3a;

    font-size: 14px;
}


/* ==========================================================
   FOOTER / NAVEGACION
   ========================================================== */

.riscoia-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap:
        8px
        16px;

    margin-top: 34px;
    padding-top: 22px;

    border-top:
        1px solid
        #e5e9ed;
}

.riscoia-footer a {
    color: #52606d;

    font-size: 13px;

    text-decoration: none;
}

.riscoia-footer a:hover {
    color: #17202a;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 640px) {

    .riscoia-page {
        align-items: flex-start;

        padding:
            18px
            12px;
    }

    .riscoia-card {
        padding:
            30px
            22px;

        border-radius: 14px;
    }

    .riscoia-brand {
        font-size: 32px;
    }

    .riscoia-content h1 {
        font-size: 25px;
    }
}
