:root {
    --backgroundColor: #FAFAFA;
    --brandPrimaryBlue:#092651;
    --brandViolet200: #EBE1EB;
    --brandSecondaryLavender: #D2AED2;
    --defaultBorderColor: #AFAFAF;
    --inputBorderRadius: 4px;
    --buttonBorderRadius: 24px;
    --textSecondary: #575757;
    --error: #B00020;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Thin.otf');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Thin Italic.otf');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Regular.otf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Regular Italic.otf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Medium.otf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Medium Italic.otf');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Bold.otf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Bold Italic.otf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Semi Bold.otf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Semi Bold Italic.otf');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Light.otf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Light Italic.otf');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Black.otf');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Gelion';
    src: url('/register/oomi/fonts/Gelion Black Italic.otf');
    font-weight: 900;
    font-style: italic;
}

body {
    display: flex;
    height: 100vh;
    font-family: 'Gelion', Arial, sans-serif !important;
    color: var(--brandPrimaryBlue);
    background: var(--backgroundColor);
	margin: 0;

	button {
	    cursor: pointer;
	}
}

.main-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    width: 100%;

    .button-and-form {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: white;
        padding: 24px;
        box-sizing: border-box;

        .btn-go-back {
            align-items: center;
            display: flex;
            padding: 15px;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            background: var(--brandViolet200);
            border: none;

            img {
                width: 20px;
                height: 20px;
            }
        }

        h1 {
            font-size: 28px;
            font-weight: 500;
        }

        .header-and-form {
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex-grow: 1;

            .form-and-submit {
                display: flex;
                flex-direction: column;
                justify-content: center;
                flex-grow: 1;
                gap: 16px;

                .registration-form {
                    display: flex;
                    flex-direction: column;

                    .form-column {
                        display: flex;
                        flex-direction: column;
                        gap: 8px;
                        width: 100%;

                        .inputWrapper {
                            display: flex;
                            flex-direction: column;
                            width: 100%;

                            .inputLabel {
                                margin-bottom: 8px;
                            }

                            input:not([type="checkbox"]) {
                                width: 100%;
                                height: 48px;
                                border: 1px solid var(--defaultBorderColor);
                                box-sizing: border-box;
                                border-radius: 4px;
                                margin-bottom: 10px;
                                padding: 0 20px 0 20px;
                            }
                        }
                        .inputWrapper:has(input:required) .inputLabel::after {
                            content: " *";
                            color: var(--error);
                            margin-left: 2px;
                        }

                        .inputInfo {
                            display: flex;
                            gap: 16px;
                            align-items: center;

                            p {
                                color: var(--textSecondary);
                                font-size: 16px;
                                font-weight: 400;
                                margin: 0;
                                padding: 0;
                            }
                        }
                    }

                    hr {
                        height: inherit;
                        color: var(--brandSecondaryLavender);
                    }
                }

                .submit {
                    display: flex;
                    gap: 16px;
                    margin-top: auto;
                    margin-left: auto;
                    align-items: center;

                    .text-and-icon {
                        display: flex;
                        gap: 16px;
                        align-items: center;
                    }
                }
            }
        }
    }

    .success-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: white;
        padding: 24px;
        border-radius: 20px;

        .registeredButtonContainer {
            display: flex;
            flex-direction: column;
            width: 100%;
            align-items: center;
            gap: 16px;

            .buttonTitle {
                font-size: 14px;
                font-weight: 700;
                margin: auto;
            }

            .buttonBody {
                margin: auto;
                font-weight: normal;
                font-size: 12px;
                margin-top: 0;
            }

            button {
                width: 200px;
            }
        }
    }

    .companyLogo {
        display: flex;
        justify-content: center;
        height: 60px;
        margin: 30px 0px;

    }

    .manualRegisteredBody {
        font-size: 20px;
        font-weight: 400;
    }

    .btn-contained {
        color: white;
        font-weight: 500;
        font-size: 18px;
        background-color: var(--brandPrimaryBlue);
        border: none;
        border-radius: var(--buttonBorderRadius);
        padding: 12px 20px;
        width: fit-content;
    }

    .btn-outlined {
        color: var(--brandPrimaryBlue);
        font-weight: 500;
        font-size: 18px;
        background-color: white;
        border: 2px solid var(--brandPrimaryBlue);
        border-radius: var(--buttonBorderRadius);
        padding: 12px 20px;
        width: fit-content;
    }
}

@media (min-width: 768px ) {
    .main-container {
        flex-direction: row;

        .button-and-form {
            height: 100%;
        }
    }

    .registration-form {
        flex-direction: row !important;
        gap: 24px;

        .form-column {
            padding: 16px 0;
        }
    }

    .mobileOnlyButton {
        display: none;
    }

    .registeredButtonContainer {
        flex-direction: row !important;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    body {
        justify-content: center;
    }
    .main-container {
        align-items: center;
        padding: 60px;
        width: 900px;

        .button-and-form {
            border-radius: 20px;
        }
    }
}

.errors {
    color: var(--error);
}

.passwordGroup {
    display: flex;
    align-items: center;
    position: relative;
}

#passwordEye {
	position: absolute;
	right: 5px;
	top: 17px;
}

#passwordAgainEye {
	position: absolute;
	right: 5px;
	top: 17px;
}

.fa.fa-eye {
    margin: 0 10px;
}

.fa.fa-eye-slash {
    margin: 0 10px;
}

input:-webkit-autofill {
  background-color: transparent !important;
  box-shadow: inset 0 0 0px 1000px white;
}
