

/* Start:/local/templates/ipotekatmpl/components/ipotekabank/panel/table_text/style.css?17635281511502*/
		.guide-list {
			display: flex;
			flex-direction: column;
			gap: 0.75rem;
			--list-bg: var(--container-higher);
			margin-bottom: var(--space-md);
		}

		.guide-list.guide-list--secondary {
			--list-bg: var(--container-high);
		}

		.guide-list__item {
			padding: var(--space-2x);
			border-radius: var(--radius-24);
			background-color: var(--list-bg);
		}

		.detail-list .detail-term {
			--font-size: var(--lead-font-size);
			--line-height: var(--lead-line-height);
			--font-weight: var(--lead-highlighted-font-weight);
			--font-family: var(--lead-font-family);
			font-family: var(--font-family);
			font-weight: var(--font-weight);
			font-size: var(--font-size);
			line-height: var(--line-height);
		}

		.detail-list .detail-description {
			--font-size: var(--lead-font-size);
			--line-height: var(--lead-line-height);
			--font-weight: var(--lead-font-weight);
			--font-family: var(--lead-font-family);
			font-family: var(--font-family);
			font-weight: var(--font-weight);
			font-size: var(--font-size);
			line-height: var(--line-height);
			color: var(--on-surface-variant);
		}

		.anchor-container {
			display: flex;
			flex-direction: column;
			gap: var(--space-2x);
		}

		@media (min-width: 768px) {
			.anchor-container {
				flex-direction: row;
				justify-content: center;
			}

			.guide-list__item {
				padding: 1.25rem var(--space-md);
			}

			.anchor-container {
				gap: var(--space-2x);
			}
		}
/* End */


/* Start:/local/templates/ipotekatmpl/components/ipotekabank/webform/citizens-appeals_form/style.css?176553479911037*/
		.form-module {
			display: flex;
			flex-direction: column;
			row-gap: var(--space-2x);
			padding: var(--space-2x);
			background-color: var(--container-high);
			border-radius: var(--radius-24);
		}

		.form-module__title {
			--font-size: var(--headline-1-font-size);
			--line-height: var(--headline-1-line-height);
			--font-weight: var(--headline-1-font-weight);
			--font-family: var(--headline-1-font-family);
			font-family: var(--font-family);
			font-weight: var(--font-weight);
			font-size: var(--font-size);
			line-height: var(--line-height);
		}

		.form-module__subtitle a {
			color: var(--info);
		}

		.form-block {
			--form-block-space: 1.25rem;
			display: flex;
			flex-direction: column;
			gap: var(--form-block-space);
		}

		.form-block__title {
			--font-size: var(--headline-2-font-size);
			--line-height: var(--headline-2-line-height);
			--font-weight: var(--headline-2-font-weight);
			--font-family: var(--headline-2-font-family);
			font-family: var(--font-family);
			font-weight: var(--font-weight);
			font-size: var(--font-size);
			line-height: var(--line-height);
		}

		.form-block__grid {
			row-gap: var(--form-block-space);
		}

		.form-module__banner {
			display: flex;
			flex-direction: column;
			gap: var(--space-2x);
			align-items: stretch;
		}

		.form-module .info-card {
			display: flex;
			align-items: center;
			gap: var(--space-base);
			background-color: var(--color-bg-3);
			border-radius: var(--radius-16);
			padding: var(--space-2x);
		}

		.form-module .info-card svg {
			flex-shrink: 0;
		}

		.form-module__banner .info-card {
			flex-grow: 1;
		}

		@media (min-width: 992px) {
			.form-module {
				padding: var(--space-x) var(--space-xl);
				row-gap: var(--space-md);
			}

			.form-module .form-module__title,
			.form-module .form-module__subtitle {
				text-align: center;
			}

			.form-module__banner {
				flex-direction: row;
				align-items: center;
			}
		}

		/* Minimal styling */
		.simple-select {
			position: relative;
		}

		.simple-select__control {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: var(--space-base);
			cursor: pointer;
			user-select: none;
		}

		.simple-select__placeholder {
			color: var(--on-surface);
		}

		.simple-select__arrow {
			margin-left: var(--space-base);
			transform: rotate(0deg);
			transition: transform 0.15s;
		}

		.simple-select.open .simple-select__arrow {
			transform: rotate(180deg);
		}

		.simple-select__dropdown {
			position: absolute;
			left: 0;
			right: 0;
			margin-top: var(--space-base);
			border: 1px solid var(--outline-variant);
			border-radius: var(--radius-12);
			background: var(--container-higher);
			box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
			z-index: 999;
			display: flex;
			flex-direction: column;
			overflow: hidden;
		}

		.simple-select__search {
			box-sizing: border-box;
			/* width: 100%; */
			padding: var(--space-base);
			margin: var(--space-base);
			background: var(--container-high);
			border-radius: var(--radius-8);
			border: none;
			/* border-bottom: 1px solid #eee; */
			outline: none;
		}

		.simple-select__list {
			max-height: 200px;
			overflow: auto;
			margin: 0;
			padding: var(--space-base) 0;
			list-style: none;
		}

		.simple-select__option {
			padding: var(--space-base) 0.75rem;
			cursor: pointer;
		}

		.simple-select__option:hover,
		.simple-select__option.is-active {
			background: var(--container-high);
		}

		.simple-select__option.is-hidden {
			display: none;
		}

		/* small helper for required/disabled states (optional) */
		.simple-select--disabled .simple-select__control {
			background: var(--container-high);
			cursor: not-allowed;
			color: var(--on-surface-variant);
		}



		/* Dropzone Styles */
		.file-dropzone {
			border: 2px dashed #ccc;
			border-radius: 1rem;
			padding: 1.25rem;
			text-align: center;
			cursor: pointer;
			transition: all 0.3s;
		}

		.file-dropzone:hover {
			border-color: var(--primary);
			background: var(--primary-container);
		}

		.file-dropzone:hover .dropzone-content {
			color: var(--primary);
		}

		.file-dropzone.dragover {
			border-color: var(--primary);
			background: var(--primary-container);
			transform: scale(1.02);
		}

		.dropzone-content {
			display: flex;
			gap: var(--space-base);
			justify-content: center;
			pointer-events: none;
			color: var(--on-surface-variant);
		}

		.dropzone-icon {
			width: var(--dimension-6);
			height: var(--dimension-6);
		}

		.dropzone-text {
			font-weight: var(--body-highlighted-font-weight);
		}

		.dropzone-subtext {
			--font-size: var(--small-font-size);
			--line-height: var(--small-line-height);
			--font-weight: var(--small-font-weight);
			--font-family: var(--small-font-family);
			font-family: var(--font-family);
			font-weight: var(--font-weight);
			font-size: var(--font-size);
			line-height: var(--line-height);
			color: var(--on-surface-variant);
			padding: var(--space-base) var(--space-2x) 0;
		}

		/* Preview Container */
		.preview-container {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
			gap: var(--space-2x);
			margin-top: var(--space-2x);
		}

		.preview-item {
			position: relative;
			border: 1px solid var(--container-high);
			border-radius: var(--radius-8);
			padding: var(--space-base);
			background: var(--container-higher);
			transition: transform 0.2s;
		}

		.preview-item:hover .remove-btn {
			opacity: 1;
			transition: opacoty 0.2s;
		}

		.preview-item:hover {
			transform: translateY(-2px);
			box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
		}

		.preview-info {
			--font-size: var(--small-font-size);
			--line-height: var(--small-line-height);
			--font-weight: var(--small-font-weight);
			--font-family: var(--small-font-family);
			font-family: var(--font-family);
			font-weight: var(--font-weight);
			font-size: var(--font-size);
			line-height: var(--line-height);
			color: var(--on-surface-variant);
			word-break: break-word;
		}

		.preview-name {
			font-weight: var(--body-highlighted-font-weight);
			line-height: 1;
			margin-bottom: var(--space-half);
		}

		.preview-size {
			color: var(--on-surface-variant);
		}

		.remove-btn {
			position: absolute;
			opacity: 0;
			top: -1rem;
			right: -1rem;
			background: var(--container-lower);
			color: white;
			border: none;
			border-radius: var(--radius-999);
			width: var(--dimension-6);
			height: var(--dimension-6);
			cursor: pointer;
			display: flex;
			align-items: center;
			justify-content: center;
			transition: opacity 0.2s;
			padding: 0;
		}

		.remove-btn:hover {
			background: #d32f2f;
		}

		.file-input {
			display: none;
		}

		/* Error Message */
		.error-message {
			color: var(--error);
			font-size: 13px;
			margin-top: 10px;
			padding: 10px;
			background: var(--error-container);
			border-radius: var(--radius-4);
			display: none;
		}

		.default-modal-content.modal-content {
			background-color: transparent;
			border-radius: 0;
			border: none;
			box-shadow: none;
		}

		.default-modal {
			position: relative;
			border-radius: var(--radius-32);
			padding: var(--space-x);
			background-color: var(--container-higher);
			box-shadow: 10px 5px 48px 10px rgba(166, 173, 186, 0.2);
		}

		.default-modal__close-btn {
			position: absolute;
			top: var(--space-2x);
			right: var(--space-2x);
			padding: var(--space-base);
			width: var(--dimension-8);
			height: var(--dimension-8);
			color: var(--on-surface-variant);
		}

		.modal-message {
			display: flex;
			flex-direction: column;
			gap: var(--space-3x);
			flex-shrink: 0;
		}

		.modal-message .modal-message__icon {
			width: var(--dimension-14);
			height: var(--dimension-14);
			display: flex;
			justify-content: center;
			align-items: center;
			border-radius: var(--radius-999);
			background-color: var(--primary-container);
			color: var(--primary);
			align-self: center;
		}

		.modal-message .modal-message__header {
			text-align: center;
		}

		.modal-message .modal-message__title {
			--font-size: var(--headline-3-font-size);
			--line-height: var(--headline-3-line-height);
			--font-weight: var(--headline-3-font-weight);
			--font-family: var(--headline-3-font-family);
			font-family: var(--font-family);
			font-weight: var(--font-weight);
			font-size: var(--font-size);
			line-height: var(--line-height);
			margin-bottom: 0.25rem;
		}

		.modal-message .modal-message__subtitle {
			color: var(--on-surface-variant);
		}

		.modal-message .modal-message__table {
			border-radius: var(--radius-16);
			background-color: var(--container-high);
			text-align: left;
			padding: var(--space-base);
		}

		.modal-message .modal-message__table table th,
		.modal-message .modal-message__table table td {
			background-color: transparent;
			border: none;
		}

		.modal-message .modal-message__table table th {
			font-weight: var(--body-highlighted-font-weight);
		}

		.modal-message .modal-message__table table {
			width: 100%;
			table-layout: fixed;
		}

		.modal-message .modal-message__table table td,
		.modal-message .modal-message__table table th {
			color: var(--on-surface);
			padding: var(--space-2x);
		}

		.modal-message .modal-message__table tr:not(:last-child) th,
		.modal-message .modal-message__table tr:not(:last-child) td {
			border-bottom: 1px solid var(--container-low);
		}

		.qr-banner {
			padding: var(--space-2x);
			border-radius: var(--radius-16);
			background-color: var(--container-high);
			display: flex;
			align-items: center;
			gap: var(--space-2x);
		}

		.qr-banner .qr-banner__img {
			display: flex;
			align-items: center;
			justify-content: center;
		}

		.qr-banner .qr-banner__img img {
			height: var(--dimension-40);
			width: var(--dimension-40);
		}

		.qr-banner .qr-banner__title {
			--font-size: var(--lead-font-size);
			--line-height: var(--lead-line-height);
			--font-weight: var(--lead-highlighted-font-weight);
			--font-family: var(--lead-font-family);
			font-family: var(--font-family);
			font-weight: var(--font-weight);
			font-size: var(--font-size);
			line-height: var(--line-height);
		}

		.qr-banner .qr-banner__qr-text {
			display: flex;
			flex-direction: column;
			align-items: start;
			flex-shrink: 0;
			flex-grow: 1;
			align-self: stretch;
			gap: var(--space-2x);
		}

		.qr-banner .qr-banner__map {
			max-width: 100%;
			flex-grow: 1;
			display: flex;
			justify-content: end;
		}

		.qr-banner .qr-banner__map img {
			height: 100%;
		}

		@media (max-width: 768px) {
			.qr-banner {
				flex-direction: column;
			}

			.modal-dialog:has(.default-modal) {
				display: flex;
				height: 100%;
				align-items: end;
				margin: 0;
			}

			.default-modal {
				border-radius: var(--radius-32) var(--radius-32) 0 0;
				padding: var(--space-2x);
			}

			.default-modal .modal-message {
				max-height: 85vh;
				overflow-y: auto;
			}

			.default-modal .modal-message>* {
				flex-shrink: 0;
			}

			.qr-banner .qr-banner__qr-text .qr-banner__img {
				display: none;
			}
		}
/* End */


/* Start:/local/templates/ipotekatmpl/components/ipotekabank/webform/standart_form-zapis/style.css?17655354536575*/
/**
 * Стили для компонента ipotekabank:webform
 */


/* FORM */
.autocredit-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    background-color: var(--color-bg-4);
    border-radius: var(--radius-32);
    padding: var(--space-3x);
    text-align: left;
}

.autocredit-form__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3x);
}

.autocredit-form__footer .info-card {
    flex: 1;
}

.autocredit-form__footer .info-card svg {
    flex-shrink: 0;
}

.autocredit-form__footer .button {
    align-self: stretch;
}

.form-check input {
    flex-shrink: 0;
}

.autocredit-form .info-card {
    display: flex;
    align-items: center;
    gap: var(--space-base);
    background-color: var(--color-bg-3);
    border-radius: var(--radius-16);
    padding: var(--space-2x);
}

@media (min-width: 578px) {
    .autocredit-form {
        text-align: center;
        padding: var(--space-x);
    }

    .autocredit-form__footer {
        flex-direction: row;
        align-items: center;
    }

    .autocredit-form__footer .button {
        align-self: center;
    }
}


/* Сообщения */
.webform-success,
.webform-errors {
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.webform-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.webform-errors {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.webform-errors ul {
    margin: 0;
    padding-left: 20px;
}

.webform-errors p {
    margin-bottom: 10px;
}

.webform-errors p:last-child {
    margin-bottom: 0;
}

/* Google reCAPTCHA */
.webform-recaptcha {
    margin-bottom: 20px;
}

.webform-recaptcha .g-recaptcha {
    display: inline-block;
}

/* Прелоадер */
.webform-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.webform-loader .spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.webform-loader .spinner-border.text-primary {
    color: #007bff;
}

.webform-loader .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .webform-recaptcha .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }
}

/* Валидация */
.webform .form-control:invalid {
    border-color: #dc3545;
}

.webform .form-control:valid {
    border-color: #28a745;
}

/* Отключаем браузерную валидацию при AJAX */
.webform[data-ajax="true"] .form-control:invalid,
.webform[data-ajax="true"] .form-control:valid {
    border-color: #ced4da;
}

.webform[data-ajax="true"] .form-control:focus:invalid {
    border-color: #80bdff;
}


/* Appointment block */

.appointment-week-slider {
    display: flex;
    gap: var(--space-base);
    align-items: center;
}

.appointment-control {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.appointment-control>label {
    font-size: 1.125rem;
    color: var(--on-surface-variant);
    text-align: left;
}

.appointment-button-list {
    display: flex;
    gap: var(--space-base);
}

.appointment-week-slider .appointment-button-list .appointment-button {
    display: none;
    cursor: auto;
}

.appointment-week-slider .appointment-button-list .appointment-button.active {
    display: flex;
}

.appointment-button-list.date-time .appointment-button {
    min-width: unset;
    border-radius: var(--radius-999);
    transition: all .2s ease-in-out;
}

.appointment-button-list.date-time .appointment-button:hover {
    background-color: var(--container);
    transition: all .2s ease-in-out;
}

.date-time {
    overflow: auto;
}

.date-time .error,
.date-time .loading {
    font-size: 1.5rem;
    line-height: 2rem;
    padding: .25rem var(--space-base);
    border-radius: var(--radius-999);
    background-color: var(--container);
}

.date-time .error {
    color: var(--error);
}

.date-time .error {
    color: var(--on-surface-variant);
}

.appointment-button {
    display: flex;
    padding: var(--space-base) 1.25rem;
    border-radius: var(--radius-12);
    background-color: var(--container-higher);
    justify-content: center;
    text-align: center;
    font-weight: 400;
    font-size: 1rem;
    line-height: normal;
    cursor: pointer;
    height: auto;
    gap: 2px;
}

.appointment-button span {
    color: inherit;
    font-size: inherit;
}

.appointment-button.active {
    background-color: var(--surface-inverse);
    color: var(--on-surface-inverse);
}

.appointment-button.disabled {
    background-color: var(--container);
    color: var(--on-surface-variant);
    cursor: not-allowed;
}

.appointment-button.prev,
.appointment-button.next {
    min-width: unset;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
}


.appointment-button.prev:hover,
.appointment-button.next:hover {
    background-color: var(--container);
    transition: all .2s ease-in-out;
}

.appointment-button.prev svg,
.appointment-button.next svg {
    width: 1.5rem;
}



/* Your size variants (desktop widths) */
.modal .modal-dialog.modal-lg {
    max-width: 800px;
    /* lg */
}

.modal .modal-dialog.modal-xl {
    max-width: 1140px;
    /* xl */
}

@media (min-width: 768px) {


    .appointment-button {
        flex-direction: column;
        font-size: 1.125rem;

    }

    .appointment-button.prev,
    .appointment-button.next {
        min-width: unset;
        width: 4.25rem;
        height: 4.25rem;
    }

    .appointment-button.prev svg,
    .appointment-button.next svg {
        width: 1.5rem;
    }
}

@media (min-width: 992px) {
    .appointment-week-slider .appointment-button-list {
        overflow: auto;
    }

    .appointment-week-slider .appointment-button-list .appointment-button {
        display: flex;
    }

    .appointment-button {
        min-width: 6.875rem;
    }
}
/* End */
/* /local/templates/ipotekatmpl/components/ipotekabank/panel/table_text/style.css?17635281511502 */
/* /local/templates/ipotekatmpl/components/ipotekabank/webform/citizens-appeals_form/style.css?176553479911037 */
/* /local/templates/ipotekatmpl/components/ipotekabank/webform/standart_form-zapis/style.css?17655354536575 */
