@import url('../variables.css');


/*
<link
	rel="stylesheet"
	href="../../static/css/login/login.css"
	th:href="@{/css/login/login.css}">
*/


.parent {
	box-sizing: border-box;
	height: 100%; 
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
}

.inputParent{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
}


input[type="text"],
input[type="password"]{
	width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
	box-sizing: border-box; 
}

.error {
    max-width: 100%; 
    padding: 10px;
    text-align: center;
}

.error p {
	max-width : 100%; 
    margin: 0;
    word-wrap: break-word; 
    color: var(--error-color)
}


button {
    width: 100%;
    font-size: 16px;
    font-weight: bold; 
    margin-top: 10px;
    padding: 10px;
	border: none;
    border-radius: 5px;
    background-color: var(--button-color);
    color: var(--button-text-color);
    cursor: pointer;
}

button:hover {
    background-color: var(--button-hover-color);
}

@media ( max-width : 400px) {
	.parent {
		padding: 20px;
		width: 100%;
	}
	.inputParent{
		width: 100%;
	}
	.formClass{
		width: 100%;
	}
}
