/* Public accounting calculator — Countman-inspired layout */

/* სექცია: თემის bg5.jpg-ის ნაცვლად სუფთა თეთრი ფონი */
.calculator-page-section.rs-about {
	background-color: #fff;
	background-image: none !important;
}

.calculator-page {
	width: 100%;
}

.calculator-layout {
	align-items: flex-start;
}

.calculator_com {
	width: 100%;
}

.custom-company-form {
	background: #fafbfc;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	padding: 1.25rem 1.35rem 1.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.custom-company-form .company-needs {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #eceff2;
}

.company-needs_title_buttons {
	margin-bottom: 1.5rem;
}

.company-needs_title {
	font-weight: 600;
	font-size: 1rem;
	color: #2b3035;
	margin-bottom: 0.75rem;
}

.company-needs_button_box,
.company-needs_buttons_wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
	align-items: stretch;
}

.company_needs_button,
.company_needs_button_2 {
	appearance: none;
	border: 1px solid #c8cdd3;
	background: #fff;
	border-radius: 6px;
	padding: 0.55rem 0.85rem;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
	line-height: 1.35;
	min-height: 44px;
}

.company_needs_button:hover,
.company_needs_button_2:hover {
	border-color: #1f7cff;
	background: #f7fbff;
}

.company_needs_button.active-btn,
.company_needs_button_2.active-btn {
	border-color: #1f7cff;
	background: #e8f2ff;
	box-shadow: 0 0 0 1px #1f7cff;
}

.company-needs_button_text {
	font-size: 0.9rem;
	color: #33363f;
}

.company-needs_buttons_wrapper_2 {
	margin-bottom: 1rem;
}

.company-info_text_wrapper {
	margin-bottom: 1rem;
}

.contact_button_style {
	font-size: 0.92rem;
	font-weight: 500;
	color: #33363f;
	margin-bottom: 0.4rem;
}

.calc-input-gray,
.calc-select-gray {
	width: 100%;
	max-width: 100%;
	height: 40px;
	border-radius: 4px;
	border: 1px solid #bcbcbc;
	background: #f6f6f6;
	padding: 0 12px;
	font-size: 14px;
	outline: none;
	box-sizing: border-box;
}

.calc-input-gray:focus,
.calc-select-gray:focus {
	border-color: #1f7cff;
	background: #fff;
}

.company-info_text_checkbox_wrapper {
	margin-bottom: 1rem;
	padding: 0.35rem 0;
}

.company-info_text_style {
	font-size: 0.92rem;
	font-weight: 500;
	color: #33363f;
	margin-bottom: 0.35rem;
}

.calc-checkbox-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.calc-checkbox-row input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	flex-shrink: 0;
}

.info-icon-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: help;
}

.info-icon-wrapper .tooltip {
	display: none;
	position: absolute;
	left: 0;
	bottom: 100%;
	margin-bottom: 8px;
	padding: 8px 10px;
	background: #2b3035;
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
	border-radius: 4px;
	width: min(280px, 70vw);
	z-index: 5;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.info-icon-wrapper:hover .tooltip {
	display: block;
}

.price_component {
	background: #fafafa;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	padding: 1.25rem 1.35rem;
	position: sticky;
	top: 1rem;
}

.price_component_cost_title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a1d22;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e0e0e0;
}

.price_component_cost {
	width: 100%;
}

.price_component_cost_wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 0.85rem;
}

.price_component_cost_text {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.price_component_cost_text .dot-icon {
	flex-shrink: 0;
	margin-top: 4px;
}

.price_component_cost_p {
	font-size: 0.88rem;
	color: #444;
	margin: 0;
	line-height: 1.35;
}

.price_component_cost_p.sum {
	font-weight: 700;
	font-size: 1rem;
	color: #1a1d22;
}

.price_component_cost_p_price {
	font-size: 0.95rem;
	font-weight: 600;
	color: #1a1d22;
	margin: 0;
	flex-shrink: 0;
	text-align: right;
}

.price_component_cost_p_price.sum-total {
	font-size: 1.4rem;
	font-weight: 700;
}

.price_component .price-divider {
	width: 100%;
	height: 1px;
	background: #7b7b7b;
	opacity: 0.35;
	margin: 0.75rem 0 1rem;
}

.price_component .price-spacer {
	height: 8px;
}

.price_buttons {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.price_buttons .calc-action-blue,
.price_buttons .calc-action-orange {
	width: 100%;
	border: none;
	border-radius: 6px;
	padding: 0.65rem 1rem;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: filter 0.15s, opacity 0.15s;
}

.price_buttons .calc-action-blue {
	background: #b1976b;
	color: #fff;
}

.price_buttons .calc-action-orange {
	background: #f94d32;
	color: #fff;
}

.price_buttons .calc-action-blue:hover {
	filter: brightness(1.05);
}

.price_buttons .calc-action-orange:hover {
	filter: brightness(1.05);
}

.price_buttons .calc-action-green {
	background: #2d8f54;
	color: #fff;
}

.price_buttons .calc-action-green:hover {
	filter: brightness(1.05);
}

.calc-contact-link {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.88rem;
	color: #1f7cff;
	text-decoration: underline;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}

.calc-contact-link:hover {
	color: #155fcc;
}

.contact-popup-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.contact-popup-overlay.is-open {
	display: flex;
}

.contact-popup {
	background: #fff;
	border-radius: 10px;
	max-width: 420px;
	width: 100%;
	padding: 1.5rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contact-popup-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 0.75rem;
}

.contact-popup-text {
	font-size: 0.92rem;
	color: #555;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.contact-popup-info p {
	margin: 0.35rem 0;
	font-size: 0.92rem;
}

.contact-popup-info a {
	color: #1f7cff;
}

.contact-popup-close-btn {
	margin-top: 1rem;
	width: 100%;
	padding: 0.55rem;
	border-radius: 6px;
	border: 1px solid #c8cdd3;
	background: #f6f6f6;
	font-weight: 600;
	cursor: pointer;
}

.contact-popup-close-btn:hover {
	background: #eaeaea;
}

#calc-form-msg {
	font-size: 0.9rem;
	margin-top: 0.75rem;
}

#calc-result-empty {
	font-size: 0.92rem;
	color: #6c757d;
	line-height: 1.45;
	padding: 0.5rem 0;
}

@media (max-width: 991px) {
	.price_component {
		position: static;
		margin-top: 2rem;
	}
}


.dot-industry-body{
	display: none;
}

.dot-industry-body.active{
	display: block;
}

.calculator-page-scope .dot-dropdown {
	position: relative;
	max-width: 100%;
	width: 100%;
}
.dot-dropdown .dropdown-select{
	width: 100%;
	height: 38px;
	border-radius: 4px;
	border: 1px solid #c8cdd3;
    background: #fff;
	padding: 0 12px;
	font-size: 14px;
	outline: none;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 0.92rem;
	font-weight: 500;
	color: #33363f;
	margin-bottom: 0.35rem;
}
.dot-dropdown .dropdown-menu{
	width: 100%;
}
.dot-dropdown .dropdown-menu.active{
	display: block;
}
.dropdown-item{
	cursor: pointer;
}

/* ველების ბადე: პირდაპირ mount-ზე — ორი სვეტი დესკტოპზე */
.calc-fields-mount {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	align-items: start;
}

.calc-fields-mount > .calc-field {
	min-width: 0;
}

.calc-fields-mount > .calc-field--span-2 {
	grid-column: 1 / -1;
}

/* გრიდის gap საკმარისია — ზედმეტი სივრცე არ დაემატოს */
.calc-fields-mount .company-needs_title_buttons {
	margin-bottom: 0;
}

.calc-fields-mount .company-info_text_wrapper {
	width: 100%;
}

.dot-industry-body-wrapper {
	display: block;
}

.dot-industry-body-wrapper .calc-input-gray {
	border: 1px solid #c8cdd3;
	background: #fff;
}

.company-info_text_wrapper {
	margin-bottom: 0;
}
.breadcrumbs{
	display: flex;
	gap: 12px;
}

@media (max-width: 600px) {
	.calc-fields-mount {
		grid-template-columns: 1fr;
	}

	.custom-company-form {
		padding: 1rem 1rem 1.25rem;
		border-radius: 10px;
	}

	.breadcrumbs-title .title{
		font-size: 24px;
		line-height: 32px;
		padding-top: 20px;
	}
	.calculator-page-section.rs-about{
		padding-top: 40px;
	}
	.calculator-page-scope .dot-dropdown {
		max-width: 100%;
	}
}