* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

*:focus, *:focus-visible {
    outline: none;
}

:root {
	--ecb-color: #003299;
	--ecb-color-light: #4c8ccc;
}

body {
	height: 100vh;

	display: flex;
	flex-direction: column;
	align-items: center;

	font-weight: normal;
	font-family: "Segoe UI", "Segoe", "SegoeUI-Regular-final", Tahoma, Helvetica, Arial, sans-serif;

    background-color: #EEEEEE;
}

main {
	width: 100%;
	flex: 1;

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

.main__brand {
	width: 33%;
	height: 100%;

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

	background-color: var(--ecb-color);
	box-shadow: 10px 0 12px rgba(0, 0, 0, 0.1);
}

.main__brand-logo {
	width: 70%;
	height: auto;
	max-height: 75vh;
	object-fit: contain;
}

.main__content {
	width: 67%;
	height: 100%;

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

.auth-card {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
	min-width: 50%;
	max-width: 90%;
	padding: 2rem 4rem;

	border-radius: 1rem;
	box-shadow: 0 10px 20px 2px rgb(227 227 227 / 30%);

    background-color: white;
}

.auth-card__title {
	margin-bottom: 2rem;
    width: 100%;
    max-width: 600px;

	text-align: center;
	color: var(--ecb-color);
	font-size: 1.25rem;
	font-weight: 600;
}

.auth-card__text {
	margin-bottom: 1rem;
    width: 100%;
    max-width: 600px;

	text-align: start;
	color: var(--ecb-color);
    font-size: 1rem;
}

.auth-card__action-list {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2rem;
    width: 100%;
    max-width: 600px;
}

.auth-button {
	color: rgb(255, 255, 255);
	background-color: var(--ecb-color);
	cursor: pointer;

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

	width: 100%;
    max-width: 600px;
	padding: 2rem 4rem;
	border-radius: 1rem;
}

.auth-button:hover, .auth-button:focus, .auth-button:active, .auth-button:focus-visible {
    opacity: 0.8;
    box-shadow: 0 0 0 1px rgb(0, 50, 153, 0.5);
    border: none;
    outline: none;
}

.auth-button__text {
	font-size: 1.25rem;
	font-weight: 600;
	padding-left: 1rem;
}

.auth-button__icon {
    width: 48px;
    height: 48px;
    margin-left: 1rem;
}

.auth-accordion {
    font-weight: normal;
	font-family: "Segoe UI", "Segoe", "SegoeUI-Regular-final", Tahoma, Helvetica, Arial, sans-serif;
	color: rgb(255, 255, 255);
	background-color: var(--ecb-color);
	cursor: pointer;
    border: none;

	width: 100%;
    max-width: 600px;
	padding: 1rem;
	border-radius: 1rem;

	font-size: 1.25rem;
	font-weight: 600;

    transition: 0.4s;
}

.auth-accordion:hover {
    opacity: 0.8;
    box-shadow: 0 0 0 1px rgb(0, 50, 153, 0.5);
}

.auth-accordion:after {
    content: '\002B';
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.auth-accordion.active:after {
    content: '\2212';
}

.auth-accordion.active{
    border-radius: 1rem 1rem 0 0;
}

.auth-accordion.active + .auth-password {
    border: solid 3px var(--ecb-color);
    border-top: none;
    border-radius: 0 0 1rem 1rem;
    padding: 1rem;
}

.auth-password {
    max-height: 0;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.form {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
}

.form__input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
}

.form__input:focus, .form__input:focus-visible {
    outline: none;
    border: 2px solid var(--ecb-color);
    outline: none;
}

.form__button {
    width: 100%;
    display: flex;
    justify-content: start;
}

.form__submit {
    font-weight: normal;
	font-family: "Segoe UI", "Segoe", "SegoeUI-Regular-final", Tahoma, Helvetica, Arial, sans-serif;
    color: rgb(255, 255, 255);
    background-color: var(--ecb-color);
    cursor: pointer;
    text-decoration: none;

    display: inline-block;
    text-align: center;

    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.form__submit:hover, .form__submit:focus, .form__submit:active, .form__submit:focus-visible {
    opacity: 0.8;
    box-shadow: 0 0 0 1px rgb(0, 50, 153, 0.5);
}

textarea {
    width: 100%;
    max-width: 600px;
    margin-bottom: 1rem;
}

.footer {
	position: fixed;
	bottom: 0;
	right: 0;
	padding: 1rem 2rem;

    display: flex;
    flex-direction: row;
    justify-content: end;
}

.footer__text {
	padding-left: 1rem;
	font-size: 0.78rem;
}

.footer__link {
	color: black;
	padding-left: 1rem;
	font-size: 0.78rem;
	text-decoration: none;
}

.alert {
    margin-bottom: 2rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: #f8d7da;
    color: #58151c;
    border: 1px solid #f1aeb5;
    font-size: 1rem;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.alert__text:not(:empty) ~ * ,
.alert:not(:has(.alert__text:not(:empty))) {
    display: none;
}

.persistent-login {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;

    color: var(--ecb-color);
    font-weight: normal;
	font-family: "Segoe UI", "Segoe", "SegoeUI-Regular-final", Tahoma, Helvetica, Arial, sans-serif;

}

.persistent-login__checkbox {
    margin-right: 0.5rem;
}

input[type="checkbox"] {
    accent-color: var(--ecb-color);
}

.persistent-login__checkbox:focus, .persistent-login__checkbox:focus-visible {
    outline: none;
}

.hr-label {
    position: relative;
    margin: 2rem 0;
    width: 100%;
    max-width: 600px;
    clear: both;
    overflow: hidden; 
} 

.hr-label::before{
    background-color: rgba(0,50,153,0.7);
    right: 0.5em; 
    content: '';
    position: relative;
    width: 50%;
    display: inline-block;
    height: 1px;
    vertical-align: middle;
}

.hr-label::after{
    background-color: rgba(0,50,153,0.7);
    left: 0.5em;
    margin-right: -50%;
    content: '';
    position: relative;
    width: 50%;
    display: inline-block;
    height: 1px;
    vertical-align: middle;
}

.hr-label__text{
    color: rgba(0,50,153,0.7);
}

.width-100 {
    width: 100%;
}

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

@media (max-width: 767.98px) {

    main {
        flex-direction: column;
    }

    .main__brand {
        width: 100%;
        height: auto;
        padding: 2rem 0;
    }

    .main__content {
        width: 100%;
    }   

    .auth-card {
        border: none;
        border-radius: 0;
        box-shadow: none;

        height: 100%;
        min-width: 100%;
        max-width: unset;
        padding: 2rem;
    }

    .auth-button {
        width: 100%;
        padding: 1.5rem;
    }

    .auth-card__title {
        text-align: center;
    }

    .footer {
        position: static;
        margin: 0;
        width: 100%;
        background-color: #ffffff;
    }

}

#env {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}