
/**** formulár ***/

.project {
	max-width: 863px;
	margin: 0 auto;
}

.project form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: normal;
    gap: 30px;
}

.project fieldset {
	display: block;
	padding: 20px 20px;
	border: solid 1px #c2c7c9;
}
	.large {width: 100%; margin: 20px auto;}
	.large p {margin: 0 0 25px 0;}
	.large div {justify-content: flex-start !important;}
	.large label {}
	.large input, textarea, select {}

.project fieldset div {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0;
}

.project label {
	display: inline-block;
	font-weight: 500;
	color: #0e3b5a;
	font-size: 14px;
	min-width: 175px;
}


.project input,
.project textarea,
.project select {
	display: inline-block;
	padding: 10px;
	border: 1px solid #2f587530;
	border-radius: 3px;
	font-size: 13px;
	min-width: 200px;
}

.project textarea {
	resize: vertical;
	width: -webkit-fill-available;
	min-height: 150px;
}

.project button {
	padding: 12px 25px;
	border: none;
	background: #0e3b5a;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.project button:hover {
	background: #19537e;
}


.radio-group {max-width: max-content;}

.radio-group p {margin: 0; color: #0e3b5a; font-weight: 600; min-width: 235px;}
.radio-group label {min-width: auto !important;}

.switches {display: block !important; margin: 0 !important; padding: 10px 0;}

.switch-radio {
	display: inline-block;
	margin-right: 10px;
	cursor: pointer;
	position: relative;
}
.switch-radio input[type="radio"] {
	display: none;
}

.switch-option {
	display: inline-block;
	padding: 8px 18px;
	border: 1px solid #ccc;
	border-radius: 20px;
	background-color: #f0f0f0;
	color: #333;
	font-size: 14px;
	transition: all 0.2s;
	user-select: none;
}

.switch-radio input[type="radio"]:checked + .switch-option {
	background-color: #0e3b5a;
	color: #fff;
	border-color: #0e3b5a;
}

.switch-radio input[type="radio"]:hover + .switch-option {
	background-color: #1d7bbd;
	color: #fff;
	border-color: #1d7bbd;
}

.form-success {
	max-width: max-content;
	margin: 0 auto 30px auto;
	background: #d2f4d2;
	color: #256029;
	padding: 15px;
	border-radius: 5px;
	text-align: center;
}

.form-error {
	max-width: max-content;
	margin: 0 auto 30px auto;
	background: #f8d7da;
	color: #842029;
	padding: 15px;
	border-radius: 5px;
	text-align: center;
}
