

/* Start:/local/templates/Smarty5Tmpl01/components/kbnet/form.feedback/form1/style.css?177666475313066*/
.feedback-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group label.required {
    font-weight: 600;
}

.required-star {
    color: #dc3545;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #2c6e49;
    box-shadow: 0 0 0 0.2rem rgba(105, 175, 128, 0.55);
}

.form-control:invalid {
    border-color: #dc3545;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

/* Honeypot скрытое поле */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* CAPTCHA */
.captcha-group {
    border: 1px solid #e9ecef;
    padding: 15px;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.captcha-container {
    margin: 10px 0;
    text-align: center;
}

.captcha-container img {
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.captcha-container img:hover {
    opacity: 0.8;
}

/* Согласие на обработку ПД */
.personal-data-group {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #2c6e49;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: #2c6e49;
    border-color: #2c6e49;
}

.form-check-input:focus {
    border-color: #69af80;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(105, 175, 128, 0.55);
}

.form-check-label {
    margin-bottom: 0;
    cursor: pointer;
    color: #495057;
    line-height: 1.5;
}

.form-check-label a {
    color: #2c6e49;
    text-decoration: none;
}

.form-check-label a:hover {
    color: #2c6e49;
    text-decoration: underline;
}

/* Группа кнопки отправки */
.submit-group {
    margin-top: 30px;
}

.submit-button-wrapper {
    position: relative;
    display: block;
}

/* Кнопка отправки */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 25px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    width: 100%;
}

/*
.btn-primary {
    color: #fff;
    background-color: #2c6e49;
    border-color: #2c6e49;
}
*/
.btn-primary:hover:not(.pseudo-disabled) {
    color: #fff;
    background-color: #2c6e49;
    border-color: #004085;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(66, 209, 95, 0.62);
}

.btn-primary:active:not(.pseudo-disabled) {
    color: #fff;
    background-color: #004085;
    border-color: #003d82;
    transform: translateY(0);
}

/* Псевдо-disabled состояние (НЕ используем disabled атрибут!) */
.btn.pseudo-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
    position: relative;
    /* НЕ pointer-events: none чтобы события мыши работали */
}

.btn.pseudo-disabled:hover {
    opacity: 0.7;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Спиннер загрузки */
.btn-spinner {
    display: none;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 5px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Кастомный тултип */
.custom-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0a4e4e, #086161);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%) translateY(10px) scale(0.8);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    pointer-events: none;
    max-width: 500px;
    text-align: center;
}

.custom-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.custom-tooltip .tooltip-content {
    position: relative;
    white-space: normal;
}

.custom-tooltip .tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #0b4e4e;
}

/* Пульсирующий эффект для тултипа */
.custom-tooltip.visible {
    animation: tooltipPulse 0.6s ease-out;
}

@keyframes tooltipPulse {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-50%) translateY(-2px) scale(1.05);
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* Адаптивность тултипа для мобильных устройств */
@media (max-width: 576px) {
    .custom-tooltip {
        left: 10px;
        right: 10px;
        max-width: none;
        transform: none;
        font-size: 12px;
        padding: 10px 14px;
        white-space: normal;
    }

    .custom-tooltip.visible {
        transform: translateY(0) scale(1);
    }

    .custom-tooltip .tooltip-arrow {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Сообщения формы */
.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
}

/* Адаптивность */
@media (max-width: 768px) {
    .feedback-form-container {
        margin: 0 15px;
    }

    .feedback-form {
        padding: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .btn {
        padding: 15px;
        font-size: 18px;
    }

    .captcha-container {
        margin: 15px 0;
    }

    .personal-data-group {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .feedback-form {
        padding: 10px;
        border-radius: 0;
        box-shadow: none;
    }

    .form-control {
        padding: 12px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }

    .captcha-container img {
        max-width: 100%;
        height: auto;
    }
}

/* Анимации для лучшего UX */
.form-group {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.form-control {
    transition: all 0.3s ease-in-out;
}

.form-control:focus {
    transform: scale(1.02);
}

/* Стили для мультивыбора файлов */
.form-control[type="file"] {
    padding: 8px 15px;
    line-height: 1.3;
}

.form-control[type="file"]::-webkit-file-upload-button {
    padding: 6px 12px;
    margin-right: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.form-control[type="file"]::-webkit-file-upload-button:hover {
    background-color: #e9ecef;
}

/* Эффекты для псевдо-disabled кнопки */
.btn.pseudo-disabled {
    position: relative;
    overflow: hidden;
}

.btn.pseudo-disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn.pseudo-disabled:hover::after {
    transform: translateX(100%);
}

/* Улучшения для чекбокса */
.form-check-input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 0.25em;
    width: 18px;
    height: 18px;
    margin-top: 0.125em;
    margin-left: -1.5em;
    vertical-align: top;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.form-check-input[type="checkbox"]:checked {
    background-color: #2c6e49;
    border-color: #2c6e49;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input[type="checkbox"]:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input[type="checkbox"]:hover {
    border-color: #b6d7ff;
}

/* Стили для визуальной обратной связи */
.form-check.is-invalid .form-check-label {
    color: #dc3545;
}

.form-check.is-invalid .form-check-input {
    border-color: #dc3545;
}

.submit-button-wrapper {
    position: relative;
    display: inline-block;
}

.btn:disabled {
    opacity: 0.6;
}

/* Стили для кастомного tooltip */
.custom-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 8px 12px;
    background-color: #333;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    max-width: 500px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

.custom-tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Курсор для заблокированной кнопки */
.submit-button-wrapper.disabled-state {
    cursor: not-allowed;
}

.form-response {
    margin-top: 1rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.captcha-container img {
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Адаптивность для tooltip */
@media (max-width: 576px) {
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .captcha-container input {
        max-width: 100% !important;
    }

    .custom-tooltip {
        max-width: 200px;
        font-size: 13px;
        left: 0;
        transform: none;
        margin-left: 10px;
    }

    .custom-tooltip::after {
        left: 20px;
        transform: none;
    }
}

/* Анимация появления tooltip */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.custom-tooltip.show {
    animation: tooltipFadeIn 0.3s ease-out;
}
/* End */


/* Start:/local/templates/Smarty5Tmpl01/components/kbnet/form.feedback/form2/style.css?177675447413066*/
.feedback-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group label.required {
    font-weight: 600;
}

.required-star {
    color: #dc3545;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #2c6e49;
    box-shadow: 0 0 0 0.2rem rgba(105, 175, 128, 0.55);
}

.form-control:invalid {
    border-color: #dc3545;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

/* Honeypot скрытое поле */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* CAPTCHA */
.captcha-group {
    border: 1px solid #e9ecef;
    padding: 15px;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.captcha-container {
    margin: 10px 0;
    text-align: center;
}

.captcha-container img {
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.captcha-container img:hover {
    opacity: 0.8;
}

/* Согласие на обработку ПД */
.personal-data-group {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #2c6e49;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: #2c6e49;
    border-color: #2c6e49;
}

.form-check-input:focus {
    border-color: #69af80;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(105, 175, 128, 0.55);
}

.form-check-label {
    margin-bottom: 0;
    cursor: pointer;
    color: #495057;
    line-height: 1.5;
}

.form-check-label a {
    color: #2c6e49;
    text-decoration: none;
}

.form-check-label a:hover {
    color: #2c6e49;
    text-decoration: underline;
}

/* Группа кнопки отправки */
.submit-group {
    margin-top: 30px;
}

.submit-button-wrapper {
    position: relative;
    display: block;
}

/* Кнопка отправки */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 25px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    width: 100%;
}

/*
.btn-primary {
    color: #fff;
    background-color: #2c6e49;
    border-color: #2c6e49;
}
*/
.btn-primary:hover:not(.pseudo-disabled) {
    color: #fff;
    background-color: #2c6e49;
    border-color: #004085;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(66, 209, 95, 0.62);
}

.btn-primary:active:not(.pseudo-disabled) {
    color: #fff;
    background-color: #004085;
    border-color: #003d82;
    transform: translateY(0);
}

/* Псевдо-disabled состояние (НЕ используем disabled атрибут!) */
.btn.pseudo-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
    position: relative;
    /* НЕ pointer-events: none чтобы события мыши работали */
}

.btn.pseudo-disabled:hover {
    opacity: 0.7;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Спиннер загрузки */
.btn-spinner {
    display: none;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 5px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Кастомный тултип */
.custom-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0a4e4e, #086161);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%) translateY(10px) scale(0.8);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    pointer-events: none;
    max-width: 500px;
    text-align: center;
}

.custom-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.custom-tooltip .tooltip-content {
    position: relative;
    white-space: normal;
}

.custom-tooltip .tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #0b4e4e;
}

/* Пульсирующий эффект для тултипа */
.custom-tooltip.visible {
    animation: tooltipPulse 0.6s ease-out;
}

@keyframes tooltipPulse {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-50%) translateY(-2px) scale(1.05);
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* Адаптивность тултипа для мобильных устройств */
@media (max-width: 576px) {
    .custom-tooltip {
        left: 10px;
        right: 10px;
        max-width: none;
        transform: none;
        font-size: 12px;
        padding: 10px 14px;
        white-space: normal;
    }

    .custom-tooltip.visible {
        transform: translateY(0) scale(1);
    }

    .custom-tooltip .tooltip-arrow {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Сообщения формы */
.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
}

/* Адаптивность */
@media (max-width: 768px) {
    .feedback-form-container {
        margin: 0 15px;
    }

    .feedback-form {
        padding: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .btn {
        padding: 15px;
        font-size: 18px;
    }

    .captcha-container {
        margin: 15px 0;
    }

    .personal-data-group {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .feedback-form {
        padding: 10px;
        border-radius: 0;
        box-shadow: none;
    }

    .form-control {
        padding: 12px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }

    .captcha-container img {
        max-width: 100%;
        height: auto;
    }
}

/* Анимации для лучшего UX */
.form-group {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.form-control {
    transition: all 0.3s ease-in-out;
}

.form-control:focus {
    transform: scale(1.02);
}

/* Стили для мультивыбора файлов */
.form-control[type="file"] {
    padding: 8px 15px;
    line-height: 1.3;
}

.form-control[type="file"]::-webkit-file-upload-button {
    padding: 6px 12px;
    margin-right: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.form-control[type="file"]::-webkit-file-upload-button:hover {
    background-color: #e9ecef;
}

/* Эффекты для псевдо-disabled кнопки */
.btn.pseudo-disabled {
    position: relative;
    overflow: hidden;
}

.btn.pseudo-disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn.pseudo-disabled:hover::after {
    transform: translateX(100%);
}

/* Улучшения для чекбокса */
.form-check-input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 0.25em;
    width: 18px;
    height: 18px;
    margin-top: 0.125em;
    margin-left: -1.5em;
    vertical-align: top;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.form-check-input[type="checkbox"]:checked {
    background-color: #2c6e49;
    border-color: #2c6e49;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input[type="checkbox"]:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input[type="checkbox"]:hover {
    border-color: #b6d7ff;
}

/* Стили для визуальной обратной связи */
.form-check.is-invalid .form-check-label {
    color: #dc3545;
}

.form-check.is-invalid .form-check-input {
    border-color: #dc3545;
}

.submit-button-wrapper {
    position: relative;
    display: inline-block;
}

.btn:disabled {
    opacity: 0.6;
}

/* Стили для кастомного tooltip */
.custom-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 8px 12px;
    background-color: #333;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    max-width: 500px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

.custom-tooltip.show {
    opacity: 1;
    visibility: visible;
}

/* Курсор для заблокированной кнопки */
.submit-button-wrapper.disabled-state {
    cursor: not-allowed;
}

.form-response {
    margin-top: 1rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.captcha-container img {
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Адаптивность для tooltip */
@media (max-width: 576px) {
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .captcha-container input {
        max-width: 100% !important;
    }

    .custom-tooltip {
        max-width: 200px;
        font-size: 13px;
        left: 0;
        transform: none;
        margin-left: 10px;
    }

    .custom-tooltip::after {
        left: 20px;
        transform: none;
    }
}

/* Анимация появления tooltip */
@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.custom-tooltip.show {
    animation: tooltipFadeIn 0.3s ease-out;
}
/* End */
/* /local/templates/Smarty5Tmpl01/components/kbnet/form.feedback/form1/style.css?177666475313066 */
/* /local/templates/Smarty5Tmpl01/components/kbnet/form.feedback/form2/style.css?177675447413066 */
