
form > fieldset {
	margin: 1em 0 1em 0;
	padding: 0 0 0 0;
	border: none;
}

legend {
	font-weight: bold;
	font-size: 1em;
	margin: 0 0 1em 0;
	padding: 0 0 0 0;
}

form > div {
	margin-bottom: 10px;
}

div.field {
	margin: 0 1em 1em 1em;
	/*height: 3em;*/
}

div.field > label {
	padding: 0 0 5px 5px;
	display: inline-block;
}

div.field > input {
	padding: .5em 1em .5em 1em;
	width: 100%;
	min-width: 300px;
	box-sizing: border-box;
}

div.field > span.hint {
	margin-left: .5em;
	display: block;
}


  .hint {
	/*margin-left: .5em;*/
	display: block;
  }
  
form > div.row {
	display: flex;
	align-items: center;
	flex-shrink: unset;
	gap: 1em;
	flex-flow: row wrap;

}

form > div.row > div.field {
	flex: 1 1;
}

form div.elfogad input[type="checkbox"] {
	margin-right: .5em;
	width: unset;
	min-width: unset;
	max-width: unset;
}


form div.elfogad {
	padding: 1em 2em 1em 2em;
}



.file-input {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: white;
	margin: 1em;
  }

  .file-input input[type="file"] {
    display: none;
  }

  .file-input-label {
	cursor: pointer;
	color: #333;
	padding: 9px;
	box-sizing: border-box;
  }


  select {
    position: relative;
    display: inline-block;
    font-size: 16px;
    color: #333;
    padding: 8px 24px 8px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    appearance: none;
  }

  select:after {
    content: '\e5cf';
	font-family: "Material Icons";
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    pointer-events: none;
  }



 /* Fix reCAPTCHA v3 badge position */
 
 .grecaptcha-badge {
	width: 70px !important;
	overflow: hidden !important;
	transition: all 0.3s ease !important;
	right: 10px !important;
  }
  .grecaptcha-badge:hover {
	width: 256px !important;
  }
  


.delete_image {
	padding: 0.5em 1em 0.5em 0.8em;
	margin: 0.5em;
	border-radius: 5px;
	background-color: transparent;
	color: red;
	border: 1px solid red;
}

.delete_image:hover {
	padding: 0.5em 1em 0.5em 0.8em;
	margin: 0.5em;
	border-radius: 5px;
	background-color: red;
	color: white;
	border: 1px solid red;
}


input[type="radio"] {
    display: none; /* Az alap rádiógomb elrejtése */
}

/* Testreszabott rádiógomb stílus */
input[type="radio"] + label {
    display: inline-block;
    background-color: var(--color-bg-secondary);;
    color: var(--color-text-primary);
    padding: 8px 16px;
    border: 1px solid var(--color-text-primary); 
    border-radius: 4px;
    cursor: pointer;
	margin: 5px;
}

input[type="radio"]:hover + label {
    background-color: var(--color-bg-secondary);
	border-color: var(--color-primary);
	color: var(--color-primary);
}


input[type="radio"]:checked + label {
    background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: white;
}

input[type="radio"]:disabled + label {
	background-color: var(--color-bg-secondary);
	color: var(--color-disabled);
	border: 1px dashed var(--color-disabled);
	cursor: not-allowed;
}
