:root {
  --brand-color: #114550;
  --background-color: #189672;
  --text-secondary: rgba(30, 30, 30, 0.60);
  --text-disabled: rgba(30, 30, 30, 0.38);
  --field-error: #B00020;
  --dash: #B1B1B1;
}

@font-face {
    font-family: "Nunito";
    src: url('/register/loistelampo/fonts/Nunito-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: "Nunito";
    src: url('/register/loistelampo/fonts/Nunito-Italic-VariableFont_wght.ttf') format('truetype');
    font-style: italic;
}

body {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    font-family: "Nunito", sans-serif;

    .top-bar {
        display: flex;
        background-color: white;
        justify-content: center;
        margin: 0;

        .images {
            display: flex;
            flex-direction: row;
            padding: 16px;
            gap: 16px;

            img {
                height: 50px;
            }

            .dividers {
                padding-left: 16px;
                padding-right: 16px;
                border-left: 1px solid lightgray;
                border-right: 1px solid lightgray;
            }
        }
    }

    a {
        color: var(--brand-color);
        &:hover {
            color: var(--brand-color);
        }
    }
}

.content-wrapper {
    display: flex;
    width: 100vw;
    padding: 32px 0;
    justify-content: center;
    align-items: center;

    .main-container {
        display: flex;
        flex-direction: column;
        max-width: 700px;
        height: fit-content;
        padding: 32px;
        border-radius: 4px;
        background-color: white;


        .stepper {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-bottom: 48.5px;

            .step {
                display: flex;
                gap: 10px;
                font-size: 14px;
                font-style: normal;
                font-weight: 500;
                line-height: 157%;
                letter-spacing: 0.1px;
            }

            .number {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 24px;
                height: 24px;
                border-radius: 50%;
                background-color: var(--text-disabled);
                color: white;
            }

            .dash {
                border-top: 1px solid var(--dash);
                width: 20px;
                height: 1px;
            }
        }

        .header {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 16px;

            h5 {
                margin: 0;
                padding: 0;
                font-size: 24px;
                line-height: 133.4%;
            }

            .info {
                color: var(--text-secondary);
            }
        }

        .form {
            display: flex;
            flex-direction: column;
            padding-left: 10px;
            padding-right: 10px;

            .account-type {
                display: flex;
                flex-direction: column;
                gap: 16px;
            }

            .strong-identification {
                font-size: 14px;
                font-weight: 500;
                line-height: 157%;
                letter-spacing: 0.1px;
                color: var(--text-secondary);
            }
        }
        hr {
            width: 100%;
            border-top: 1px solid var(--dash);
        }
    }
}

@media(max-width: 767px) {
    .stepper {
        display: none !important;
    }

    .content-wrapper {
        padding: 0;
        padding-top: 100px;
    }
}

@media(min-width: 768px) {
    body {
        .top-bar {
            .images {
                gap: 32px;

                .dividers {
                    padding-left: 32px;
                    padding-right: 32px;
                }
            }
        }
    }
}

@media(max-width: 1099px) {
    .content-wrapper {
        padding-top: 100px;
    }
}

.active {
    background-color: var(--brand-color) !important;
}

button {
    padding: 8px;
    border-radius: 10px;
    border: none;
    background-color: var(--brand-color);
    color: white;
}

.errors {
    color: var(--field-error);
}

.error-page-container {
    display: flex;
    height: inherit;
    justify-content: center;
    padding: 32px 0px;
    box-sizing: border-box;

    .error-container {
        display: flex;
        flex-direction: column;
        background-color: white;
        border-radius: 16px;
        padding: 32px;
        margin-top: auto;
        margin-bottom: auto;

        .content {
            display: flex;
            flex-direction: column;
            img {
                margin-left: auto;
                margin-right: auto;
            }

            .errorTitle {
                margin-top: 16px;
            }
        }
    }
}