/* css/offer_form.css */
/* Kozos arajanlat-urlap (#offer_form / .flat-modal) stilusok, kigyujtve a style.css-bol. */
/* A fooldal ES a terkep is ezt hasznalja. Kivezetve: 2026-08-13 (terkepes arajanlatkeres). */



.flat-color-button {
	background:var(--main-color);
	border:1px solid var(--main-color);
	color:#FFF;
	transition: opacity 0.2s;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}


.flat-color-button:hover {
	opacity: 0.85;
}


.full-search-view .search-container .dropdown-search-container {
	width:37%;
	position: relative;
	font-size: 12px;
	font-weight: 600;
	padding:10px;
}


.full-search-view .search-container .dropdown-search-container::after {
	content:' ';
	position: absolute;
	right:0;
	top:7px;
	height: 50px;
	width:1px;
	background:#EAECEE;
}


.dropdown-search-container {
	position: relative;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}


.dropdown-search-container .default-text {
	display:block;
	cursor: pointer;
	line-height: 44px;
	vertical-align: middle;
	font-weight: 600;
}


.dropdown-search-container .default-text .num {
	display:none;
	font-weight: 600;
	font-size: 10px;
	text-align: center;
	color:#FFF;
	background: var(--main-color);
	border-radius: 50%;
	width:18px;
	height: 18px;
	line-height: 19px;
	vertical-align: top;
	margin-top: 13px;
	margin-left: 7px;
}


.dropdown-search-container .default-text.active-filter {
	color:var(--main-color);
}


.dropdown-search-container .default-text.active-filter .num {
	display:inline-block;
}


.dropdown-search-container .default-text::after {
	content:' ';
	display: block;
	width:10px;
	height: 6px;
	position: absolute;
	top:50%;
	right: 23px;
	background-image: url(/images/arrow-down.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}


.dropdown-search-container .dropdown-options {
	position: absolute;
	top:100%;
	left:0;
	width:calc(100% - 2px);
	background:#FFF;
	padding:0;
	box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
	z-index: 1;
}


.dropdown-search-container .dropdown-options ul {
	margin:0;
	padding:9px 0 11px;
	list-style: none;
}


.dropdown-search-container .dropdown-options .option-item {
	display:block;
	width:100%;
	padding:6px 5px 7px 10px;
	font-size: 12px;
	font-weight: 400;
}


.dropdown-search-container .dropdown-options .option-item.main-item label {
	font-weight: 600;
}


.dropdown-search-container .dropdown-options .option-item.sub-item {
	padding-left:40px;
}


.custom-checkbox-container  {
	display:inline-block;
	position: relative;
	vertical-align: top;
	margin-top: -3px;
	margin-right: 2px;
}


.custom-checkbox-container:after {
	content:' ';
	display:block;
	width:18px;
	height: 18px;
	border-radius: 2px;
	background:var(--main-color);
	border:1px solid #C7CBCF;
	background:#FFF;
	opacity: background 0.2s, border-color 0.2s;
}


.custom-checkbox-label:hover .custom-checkbox-container:after {
	border:1px solid var(--main-color);
}


.custom-checkbox-container.checked {
	
}


.custom-checkbox-container.checked:after {
	border-radius: 2px;
	background:var(--main-color);
	border:1px solid var(--main-color);
	background-image:url(/images/check.svg);
	background-size: 12px 8px;
	background-repeat: no-repeat;
	background-position: center 6px;
}


.custom-checkbox-container .custom-checkbox {
	opacity:0.0;
	display:none;
	width:0;
	height: 0;
}


.dropdown-search-container .default-text {
	padding-left:10px;
}


.dropdown-search-container .default-text::after {
	right:18px;
}


.flat-modal-outer {
	position: fixed;
	top:0;
	left:0;
	width:100%;
	height: 100%;
	background: rgba(33,37,41,0.3);
	z-index: 60;
}


.flat-modal {
	width:100%;
	max-width: 1000px;
	height: 100%;
	max-height: 617px;
	z-index: 17;
	position: absolute;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
	background:#FFF;
	border: 1px solid #EAECEE;
	box-shadow: 1px 4px 20px rgba(0, 0, 0, 0.05);
	border-radius: 2px;
	display: flex;
}


.flat-modal-mobile-title {
	display:none;
}


.flat-modal .flat-modal-close {
	position: absolute;
	top:23px;
	right:19px;
	background:transparent;
	border: 1px solid rgba(142, 153, 175, 0.3);
	border-radius: 3px;
	width:30px;
	height: 30px;
	cursor: pointer;
}


.flat-modal .flat-modal-close:after,
.flat-modal .flat-modal-close:before {
	content:' ';
	position: absolute;
	top:0;
	left:0;
	height:14px;
	width:1px;
	background:#A7ACB0;
}


.flat-modal .flat-modal-close::after {
	transform: rotate(45deg);
	top:7px;
	left:14px;
}


.flat-modal .flat-modal-close::before {
	transform: rotate(-45deg);
	top:7px;
	left:14px;
}


.flat-modal .flat-modal-flats {
	width:50%;
	border-right: 1px solid #EAECEE;
	background: #FFF;
	overflow: auto;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list {
	display:flex;
	flex-wrap: wrap;
	padding:15px;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item {
	padding:10px;
	width:50%;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .item-inner {
	width:100%;
	height: 0;
	padding-bottom: 100%;
	position: relative;
	background: #FFFFFF;
	border: 1px solid #EAECEE;
	border-radius: 2px;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .flat-title {
	color: var(--main-color);
	font-weight: 800;
	font-size: 14px;
	line-height: 17px;
	margin: 9px;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .remove-icon {
	position: absolute;
	top:15px;
	right: 16px;
	width:14px;
	height: 14px;
	cursor: pointer;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .remove-icon:after,
.flat-modal .flat-modal-flats .flat-modal-flat-list .item  .remove-icon:before {
	content:' ';
	position: absolute;
	top:0;
	left:0;
	height:16px;
	width:1px;
	background:#A7ACB0;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .remove-icon::after {
	transform: rotate(45deg);
	top:0px;
	left:7px;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .remove-icon::before {
	transform: rotate(-45deg);
	top:0px;
	left:7px;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .image-container {
	position: absolute;
	width: calc(100% - 20px);
	height: 0;
	padding-bottom: calc(100% - 44px);
	left: 10px;
	bottom: 10px;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .image-container .flat-image {
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .add-new-flat,
.item.empty-item .item-inner .add-new-flat {
	border:0px none;
	background: transparent;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width:130px;
	cursor: pointer;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .add-new-flat .plus-icon,
.item.empty-item .item-inner .add-new-flat .plus-icon {
	display:block;
	width:42px;
	height: 42px;
	border: 2px solid var(--main-color);
	border-radius: 50%;
	position: relative;
	margin:0 auto 13px;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .add-new-flat .plus-icon:after,
.flat-modal .flat-modal-flats .flat-modal-flat-list .item .add-new-flat .plus-icon:before,
.item.empty-item .item-inner .add-new-flat .plus-icon:after,
.item.empty-item .item-inner .add-new-flat .plus-icon:before {
	display:block;
	content:' ';
	background:var(--main-color);
	position: absolute;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .add-new-flat .plus-icon:after,
.item.empty-item .item-inner .add-new-flat .plus-icon:after {
	width:20px;
	height: 2px;
	top:18px;
	left:9px;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .add-new-flat .plus-icon:before,
.item.empty-item .item-inner .add-new-flat .plus-icon:before {
	height:20px;
	width: 2px;
	top:9px;
	left:18px;
}


.flat-modal .flat-modal-flats .flat-modal-flat-list .item .add-new-flat .text,
.item.empty-item .item-inner .add-new-flat .text {
	font-weight: normal;
	font-size: 12px;
	color: #8E99AF;
}



.flat-modal .flat-modal-form {
	width:50%;
	background: #FAFBFB;
	position: relative;
}


.flat-modal-form .form-title {
	margin:0;
	padding:24px 19px 23px;
	font-weight: 600;
	font-size: 18px;
	line-height: 26px;
	vertical-align: middle;
	color: #212529;
	border-bottom:1px solid #EAECEE;
}


.flat-modal-form .form-row {
	display:flex;
	flex-flow: wrap;
	padding:0 10px;
}


.flat-modal-form .form-row .dropdown-search-container {
	background: #FFFFFF;
	border: 1px solid #C1CCE0;
}


.flat-modal-form .form-row .dropdown-search-container .default-text {
	line-height: 34px;
	font-weight: 400;
}


.flat-modal-form .form-row .dropdown-search-container .default-text::after {
	top: 14px;
	right: 12px;
}


.col-3 {
	width:25%;
	padding:0 10px;
}


.col-6 {
	width:50%;
	padding:0 10px;
}


.col-9 {
	width:75%;
	padding:0 10px;
}


.col-12 {
	width:100%;
	padding:0 10px;
}


.form-group {
	padding:14px 0;
}


.form-group label {
	display:block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 600;
}


label.custom-checkbox-label {
	font-weight: 400;
}


.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
	width:100%;
	display:block;
	background: #FFFFFF;
	border: 1px solid #C1CCE0;
	border-radius: 2px;
	padding:8px 10px;
	font-weight: 400;
	font-size: 14px;
	color: #42474D;
}


.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
	color: #8E99AF;
	font-weight: 300;
}


.form-group input[type="text"]:-ms-input-placeholder,
.form-group input[type="email"]:-ms-input-placeholder,
.form-group textarea:-ms-input-placeholder {
	color: #8E99AF;
	font-weight: 300;
}


.form-group input[type="text"]::-ms-input-placeholder,
.form-group input[type="email"]::-ms-input-placeholder,
.form-group textarea::-ms-input-placeholder {
	color: #8E99AF;
	font-weight: 300;
}


.form-group input[type="text"].error,
.form-group input[type="email"].error,
.form-group textarea.error,
.form-group select.error {
	border-color:#dc3545 !important;
}


.form-group textarea {
	height: 70px;
}


.modal-form-container {
	padding:11px 0;
	overflow-y: auto;
}


.multi-step-form .modal-form-container {
	margin-bottom: 80px;
}


.modal-form-success {
	padding:11px 20px;
	text-align: center;
}


#flat_pdf_send .modal-form-success {
  padding: 31px 20px;
  text-align: center;
  font-size: 16px;
}


.flat-modal-form form {
	position: relative;
  	height: 100%;
	display: flex;
  	flex-flow: column;
}


.flat-modal-form .modal-ch {
	display:block;
	font-size: 12px;
	font-weight: 400;
	margin-top: 6px;
	margin-bottom: 17px;
}


.flat-modal-form .modal-ch.modal-ch-small {
	margin-top: 6px;
	margin-bottom: 6px;
    display: flex;
}


.flat-modal-form .modal-ch .custom-checkbox-container::after {
	/*border: 1px solid #EAECEE;
	border-radius: 4px;
	width:22px;
	height: 22px;
	background-color: #FAFBFB;*/
	cursor: pointer;
}


.flat-modal-form .modal-ch .custom-checkbox-container.checked::after {
	/*background-image:url('/images/check-color.svg');
	background-size: 15px 11px;
	background-position: 4px 6px;
	background-color: #FAFBFB;*/
}


.flat-modal-form .modal-ch .custom-checkbox-text {
	margin-left:5px;
}


.flat-modal-form .modal-ch .custom-checkbox-text a {
	color:#4B4852;
	text-decoration: none;
	font-weight:700; 
}


.flat-modal-form .submit-container {
	display:block;
	text-align: center;
}


.flat-modal-form .flat-modal-form-submit {
	display:block;
	text-align: center;
	text-transform: uppercase;
	width:240px;
	max-width: 100%;
	padding:9px 20px;
	border-radius: 2px;
	position: relative;
}


.flat-modal-form .flat-modal-form-submit .button-text {
	transition: all 0.2s;
}


.flat-modal-form .flat-modal-form-submit.button--loading .button-text {
  visibility: hidden;
  opacity: 0;
}


.flat-modal-form .flat-modal-form-submit.button--loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border: 4px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}


.flat-compare .fc-header-right .flat-color-button {
	font-weight: bold;
	font-size: 13px;
	text-transform: uppercase;
	padding:9px;
	width:auto;
	cursor: pointer;
}


.flat-compare .fc-header-right .flat-color-button.fav-offer {
	width:auto;
	display: inline-block;
}


.flat-popup.flat-modal-full .flat-popup-basic-content .flat-popup-iframe-image-content {
	width:100%;
}


.offer-form-error {
	position: absolute;
	top:0;
	left:50%;
	transform: translateX(-50%);
	display:block;
	background:rgba(255,203,203,0.95);
	width:calc(100% - 20px);
	padding:10px 20px;
	display:none;
	opacity:0.0;
	transition:opacity 0.2s, top 0.2s;
	z-index: 1;
}


.offer-form-error.show-error {
	opacity:1.0;
	top:85px;
}


.offer-form-error ul {
	margin:0;
	padding:0;
	list-style: none;
}


.offer-form-error ul li {
	margin:5px 0;
}


.dropdown-container .dropdown-options {
	display:none;
	position: absolute;
	top:32px;
	left:0;
	width:100%;
	z-index: 3;
	background:#FFF;
}


.dropdown-container .dropdown-options .dd-item {
	border: 1px solid #DBDDE0;
	border-top:0px none;
	padding: 9px 9px 9px 19px;
	overflow: hidden;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}


.dropdown-container .dropdown-options .dd-item:hover,
.dropdown-container .dropdown-options .dd-item.selected {
	background:var(--main-color);
	color:#FFF;
}


#flat_pdf_send .flat-modal {
	max-width:500px;
	height: auto;
}


#flat_pdf_send .flat-modal .flat-modal-form {
	width:100%;
}


/* Multi-Step Form Styles */
.form-steps-container {
	position: relative;
	overflow: hidden;
}


.form-step-indicators {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
	gap: 10px;
}


.step-indicator {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: #999;
	transition: all 0.3s ease;
	position: relative;
}


.step-indicator:not(:last-child)::after {
	content: '';
	position: absolute;
	width: 50px;
	height: 2px;
	background: #e0e0e0;
	left: calc(100%);
	top: 50%;
	transform: translateY(-50%);
	transition: background 0.3s ease;
}


.step-indicator.active {
	background: var(--main-color, #0066cc);
	color: white;
}


.step-indicator.completed {
	background: #4caf50;
	color: white;
}


.step-indicator.completed::after {
	background: #4caf50;
}


.form-step {
	display: none;
	opacity: 0;
}


.form-step.active {
	display: block;
	animation: fadeIn 0.4s ease forwards;
}


.form-step-navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	gap: 10px;
	position: absolute;
	bottom:0;
	padding: 20px;
  	width: 100%;
}


.btn-step-prev,
.btn-step-next {
	border: none;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	padding: 9px 14px;
	vertical-align: top;
	height: 36px;
	font-weight: 500;
  	font-size: 13px;
}


.btn-step-prev {
	background: #f0f0f0;
	color: #333;
}


.btn-step-prev:hover {
	background: #e0e0e0;
}


.btn-step-next {
	background: var(--main-color, #0066cc);
	color: white;
	margin-left: auto;
}


.btn-step-next:hover {
	opacity: 0.9;
}


/* Button Group Styles */
.button-group-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 5px;
}


.button-group-container .button-option {
	padding: 10px 20px;
	border: 2px solid #e0e0e0;
	background: white;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #333;
	outline: none;
}


.button-group-container .button-option:hover {
	border-color: var(--main-color, #0066cc);
	background: rgba(0, 102, 204, 0.05);
}


.button-group-container .button-option.selected {
	border-color: var(--main-color, #0066cc);
	background: var(--main-color, #0066cc);
	color: white;
}


.button-group-container.error .button-option {
	border-color: #dc3545 !important;
}


.button-group-container.error .button-option.selected {
	border-color: var(--main-color, #0066cc) !important;
}


/* Switch Styles */
.switch-container {
	display: inline-block;
	margin-top: 5px;
}


label.switch-label {
  	font-weight: 400;
}


.switch-label {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	margin: 0;
}


.switch-input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}


.switch-slider {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
	background-color: #ccc;
	transition: 0.3s;
	border-radius: 34px;
	flex-shrink: 0;
	vertical-align: middle;
}


.switch-slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.3s;
	border-radius: 50%;
}


.switch-input:checked + .switch-slider {
	background-color: var(--main-color, #0066cc);
}


.switch-input:focus + .switch-slider {
	box-shadow: 0 0 1px var(--main-color, #0066cc);
}


.switch-input:checked + .switch-slider:before {
	transform: translateX(26px);
}


.switch-container.error .switch-slider {
	box-shadow: 0 0 0 2px #dc3545;
}


.switch-text {
	font-size: 14px;
	line-height: 1.4;
	user-select: none;
	vertical-align: middle;
  	margin-left: 10px;
}


/* Child Field Styles */
.child-field {
	padding-left: 25px;
	border-left: 2px solid var(--main-color, #0066cc);
	margin-left: 10px;
}


.child-field.child-depth-2 {
	border-left-color: #999;
	padding-left: 25px;
	margin-left: 50px;
}


.child-field.child-depth-3 {
	border-left-color: #bbb;
	padding-left: 25px;
	margin-left: 75px;
}
@media screen and (max-width: 1099px) {

	
	.tm-filter-group ul .option-item {
		padding:8px 0 9px;
	}
	
	.tm-filter-group ul .option-item.main-item label,
	.tm-filter-group ul .option-item.main-item {
		font-weight: 600;
	}
	
	.tm-filter-group ul .option-item.sub-item {
		padding-left:25px;
	}
}
@media screen and (max-width: 767px) {

	
	.flat-modal-outer {
		padding:17px 10px;
		overflow: auto;
	}
	
	.flat-modal {
		max-height: none;
		flex-wrap: wrap;
		top:17px;
		width:calc(100% - 20px);
		left:10px;
		height: auto;
		transform: none;
	}
	
	.flat-modal-mobile-title {
		display:block;
		font-weight: 700;
		font-size: 18px;
		padding:14px 9px 13px;
		width:100%;
		border-bottom: 1px solid #EAECEE;
	}
	
	.flat-modal .flat-modal-flats {
		width:100%;
	}
	
	.flat-modal .flat-modal-form {
		width: 100%;
	}
	
	.flat-modal .flat-modal-flats {
		width: 100%;
		height: 370px;
		height: 100%;
	}
	
	.flat-modal .flat-modal-close {
		border:0px none;
		top:9px;
		right:11px;
	}
	
	.flat-modal .flat-modal-close::after,
	.flat-modal .flat-modal-close::before {
		height: 16px;
	}
	
	.flat-modal .flat-modal-flats .flat-modal-flat-list {
		padding:10px 5px;
	}
	
	.flat-modal .flat-modal-flats .flat-modal-flat-list .item {
		padding:5px;
	}
	
	.flat-modal .flat-modal-flats .flat-modal-flat-list .item .flat-title {
		margin:5px 6px;
	}

	/* Mobilon a lakaslista vizszintes, gorgetheto sor (kevesebb fuggoleges helyet vesz el).
	   FIX magassag kell: a .flat-modal-flats .overlay-scroll (overlayScrollbars) → auto-magassagnal 0-ra esik. */
	.flat-modal .flat-modal-flats {
		height: 165px;
	}

	.flat-modal .flat-modal-flats .flat-modal-flat-list {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}

	.flat-modal .flat-modal-flats .flat-modal-flat-list .item {
		width: 140px;
		min-width: 140px;
		flex: 0 0 140px;
	}

	.flat-modal .flat-modal-flats .flat-modal-flat-list .item .remove-icon {
		top:8px;
		right:9px;
	}
	
	.flat-modal-form .form-title {
		display:none;
	}
	
	.modal-form-container {
		border-top:1px solid #EAECEE;
	}
	
	.flat-modal-form .form-row {
		padding: 0 5px;
	}
	
	.col-m-12 {
		width:100%;
	}
	
	.col-6,
	.col-12 {
		padding: 0 5px;
	}
	
	.modal-form-container {
		padding-bottom: 30px;
		padding-top: 16px;
	}
	
	.form-group {
		padding:10px 0 9px;
	}
	
	.form-group textarea {
		height: 88px;
	}
	
	.flat-modal-form .modal-ch {
		padding-left:25px;
		position: relative;
		margin-top: 15px;
		margin-bottom: 15px;
	}
	
	.flat-modal-form .modal-ch .custom-checkbox-container {
		top:0;
		left:0;
		position: absolute;
	}
	
	.flat-modal-form .modal-ch .custom-checkbox-container::after {
		width:18px;
		height: 18px;
		background-position: center 3px;
	}
	
	.flat-modal-form .modal-ch .custom-checkbox-container.checked::after {
		/*background: var(--main-color);
		border-color: var(--main-color);*/
	}
	
	.flat-modal-form .submit-container {
		padding-top: 15px;
	}
	
	.flat-compare .fc-header-right .flat-color-button.fav-offer {
		width:150px;
	}
}

/* Az urlap altal hasznalt @keyframes-ek (a style.css-bol, kulonben a lepes opacity:0-n ragad) */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes button-loading-spinner {
	from { transform: rotate(0turn); }
	to { transform: rotate(1turn); }
}
