.filter_activ {
    border-radius: 0.65rem;
    border: 1px solid #6865EE;
}

.bg_gradient {
    background: linear-gradient(to bottom, #ffffff, #f2f6fc) !important;
}

.bg_gradient:placeholder {
    color: #000000 !important;
}

.sel-dropup .dropdown-menu {
    width: 100% !important;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.lh-1 {
    line-height: 1 !important;
}

.lh-18 {
    line-height: 1.8 !important;
}

.w100 {
    width: 100% !important;
}

.black {
    color: #000000;
}

.red {
    color: #f4444c
}

.blue {
    color: #6865EE;
}

.green {
    color: #1aadbf;
}

.grey {
    color: #FBFBFD;
}

.grey2 {
    color: #555;
}

.gold {
    color: #eccd5e;
}

.orange {
    color: #EC935E;
}

.violet {
    color: #6865EE !important;
}

.violetBG {
    background-color: #6865EE !important;
}

.white {
    color: #FFFFFF !important;
}

.fs75 {
    font-size: 0.75rem;
}

.fs85 {
    font-size: 0.85rem;
}

.fs1 {
    font-size: 1rem;
}

.fs12 {
    font-size: 1.2rem;
}

.fs14 {
    font-size: 1.4rem;
}

.fs32 {
    font-size: 3.2rem;
}

.fieldEx {
    display: flex;
}

.fieldEx div {
    margin-top: -15px;
}

.fieldEx .red {
    color: #B76BA3;
}

.fieldEx .btnEx {
    padding-left: 5px;
    margin-top: -12px;
}

.obed {
    background-color: #fff0f0;
}

.fw800 {
    font-weight: 800 !important;
}

.fw600 {
    font-weight: 600 !important;
}

.fw400 {
    font-weight: 400 !important;
}

.font1 {
    font-size: 1rem !important;
}

.colorTAG {
    width: 20px;
    background-color: #ececec;
    height: 20px;
}

.gl .menu-link {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

#flatpickr {
    font-size: 0.95rem;
    min-width: 200px;
}

.negative {
    box-shadow: 0 0 0 1px rgba(20, 20, 31, 0.05), 0 1px 3px 0 #f4444c;
}

.claim_frame {
    border-color: #f4444c69 !important;
    box-shadow: 0 0 0 1px #f4444c8f !important;
}

.rating-sm {
    padding-left: 10px;
    margin-top: -3px;
}

span.rating-sm>span.fa-star {
    color: #d6d6d6;
}

.star_ok {
    color: #f7c46c !important;
}

.table_card {
    margin-bottom: 0;
}

.progress-time {
    margin-top: 10px;
    height: 0.5rem !important;
}

.open_close {
    margin-top: 5px;
    cursor: pointer;
    width: 70px;
    height: 24px;
}

.open_close>.switcher-label-off {
    width: 50px;
}

.open_close>.switcher-indicator:before {
    right: 2.71875rem;
}

.hide {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 10px;
    margin-right: 10px;
}

.absolute_top {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 10px;
    margin-right: 10px;
}

.hiden {
    display: none;
}

.rev_otch,
.dv_otchet {
    padding-bottom: 40px;
}

.tag_rev {
    width: 80px;
}

.centerA {
    margin: auto;
}

.lead_sm {
    font-size: 1.2rem;
}

.gl_mtr {
    background-color: #f2f6fc !important;
}

.cli_gl .img-fluid {
    opacity: 0.8;
}

.figure-tools_gl {
    opacity: 1 !important;
    bottom: 0 !important;
    top: auto !important;
}

.figure-tools_gl .badge-dark {
    border: 1px solid #f2f6fc;
    padding-bottom: 7px;
    font-size: 110%;
    background-color: #363642 !important;
    font-weight: 400;
}

.gener_h2 {
    margin-top: 40px;
    margin-right: 0px;
    margin-left: 0px;
}

.sys_no_edit {
    vertical-align: -2px;
    padding-right: 10px;
}

.lead_sm .text-success,
.lead_sm .text-warning {
    font-size: 1rem;
}

.case_page .card {
    box-shadow: none !important;
}

.outbound-link-custom {
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    display: none;
    color: #363642;
    border: 1px solid rgba(34, 34, 48, 0.1);
    border-radius: 0.65rem;
}

.code {
    margin-top: 1em;
    font-family: monospace;
}

.line-xml {
    color: #000000;
}

.html-tag {
    color: #158808
}

.code .folder {
    margin-left: 1em;
}

.html-attribute-name {
    color: #2e609c
}

.html-attribute-value {
    color: #f4444c
}

.imgprice img {
    width: 100%;
}

.imgLoad img {
    width: 80px;
}

.show-error {
    display: block;
}

.tile-lg-logo {
    width: 8rem;
    height: 8rem;
    background-image: url("/assets/images/cabinet/df-logo-img.png");
}

.tile-lg-promo {
    width: 200px;
    height: 120px;
    background-image: url("/assets/images/cabinet/df-promo-img.png");
}

.pointer {
    cursor: pointer;
}

@media (max-width: 575.98px) {
    .sm_none {
        display: none !important;
    }

    .width100 {
        width: 100% !important;
    }
}

.lg-item {
    padding: 0.75rem 1rem 0 1rem !important;
}

.alert-message {
    opacity: 0.8;
    color: #fff;
    background-color: #f4444c;
    padding: 0.1rem 1.25rem 0.2rem 1.25rem;
    margin-bottom: 0;
    font-size: 0.85rem;
}

.alert-dismissible .close {
    padding: 0.12rem 1.25rem;
}

.alert-message a {
    text-decoration: underline;
}

.gis-avatar {
    font-weight: 600;
    position: relative;
    display: inline-block;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
    vertical-align: middle;
}

.empty-img {
    width: 100%;
}

.border-none {
    border: none !important;
}

.btn-radius {
    line-height: 1.7 !important;
    height: 2.5rem !important;
    padding: 0.375rem 1.5rem !important;
    border-radius: 100px;
}

.btn-radius-big {
    line-height: 2 !important;
    height: 3.2rem !important;
    padding: 0.375rem 3.2rem !important;
    border-radius: 141px;
    font-size: 1.2rem;
}

/* Ensure input and button classes have matching heights - visually identical */
.input,
input.input,
input[type="text"].input,
input[type="email"].input,
input[type="password"].input,
input[type="number"].input,
input[type="tel"].input,
input[type="url"].input,
input[type="search"].input {
    box-sizing: border-box !important;
    height: calc(1.5em + 0.75rem + 2px) !important;
    min-height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border: 1px solid #c6c9d5 !important;
    border-width: 1px !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

.button,
button.button,
button[type="button"].button,
button[type="submit"].button,
button[type="reset"].button,
a.button {
    box-sizing: border-box !important;
    height: calc(1.5em + 0.75rem + 2px) !important;
    min-height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border: 1px solid transparent !important;
    border-width: 1px !important;
    margin: 0 !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Match heights at media query breakpoint */
@media (min-width: 768px) {

    .input,
    input.input,
    input[type="text"].input,
    input[type="email"].input,
    input[type="password"].input,
    input[type="number"].input,
    input[type="tel"].input,
    input[type="url"].input,
    input[type="search"].input {
        height: 2.25rem !important;
        min-height: 2.25rem !important;
        padding: 0.375rem 0.75rem !important;
    }

    .button,
    button.button,
    button[type="button"].button,
    button[type="submit"].button,
    button[type="reset"].button,
    a.button {
        height: 2.25rem !important;
        min-height: 2.25rem !important;
        padding: 0.375rem 0.75rem !important;
    }

    .input.input-sm,
    input.input-sm,
    input[type="text"].input-sm,
    input[type="email"].input-sm,
    input[type="password"].input-sm {
        height: calc(1.5em + 0.5rem + 2px) !important;
        min-height: calc(1.5em + 0.5rem + 2px) !important;
        padding: 0.25rem 0.5rem !important;
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }

    .button.button-sm,
    button.button-sm,
    button[type="button"].button-sm,
    button[type="submit"].button-sm,
    a.button.button-sm {
        height: calc(1.5em + 0.5rem + 2px) !important;
        min-height: calc(1.5em + 0.5rem + 2px) !important;
        padding: 0.25rem 0.5rem !important;
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }

    .input.input-lg,
    input.input-lg,
    input[type="text"].input-lg,
    input[type="email"].input-lg,
    input[type="password"].input-lg {
        height: calc(1.75em + 1rem + 2px) !important;
        min-height: calc(1.75em + 1rem + 2px) !important;
        padding: 0.5rem 1rem !important;
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }

    .button.button-lg,
    button.button-lg,
    button[type="button"].button-lg,
    button[type="submit"].button-lg,
    a.button.button-lg {
        height: calc(1.75em + 1rem + 2px) !important;
        min-height: calc(1.75em + 1rem + 2px) !important;
        padding: 0.5rem 1rem !important;
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }
}


/* Стили для автодополнения поиска */
.input-group-search {
    position: relative;
}

.search-suggestions {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1050;
    overflow: hidden;
    transform: none !important;
    will-change: auto !important;
}

.search-suggestions .suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.search-suggestions .suggestion-item:hover,
.search-suggestions .suggestion-item:focus {
    background-color: #f8f9fa;
    text-decoration: none;
    color: inherit;
}

.search-suggestions .suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item-name {
    font-weight: 600;
    color: var(--blue-color-uti, #323555);
    margin-bottom: 0.25rem;
}

.suggestion-item-info {
    font-size: 0.875rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.suggestion-item-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.suggestion-item-rating .rating-value {
    color: var(--green-color-uti, #25B105);
    font-weight: 600;
}

.suggestion-item-reviews {
    color: #6c757d;
}

:root {
    --green-color-uti: #25B105;
    --red-color-uti: #FF2626;
    --blue-color-uti: #323555;
    --lt-blue-color-uti: #617CE6;
}

.thin-dot {
    width: 12px;
    display: inline-block;
    height: 12px;
    border-radius: 50%;
}

.text-blue-color {
    color: var(--blue-color-uti);
}

.text-red-color {
    color: var(--red-color-uti);
}

.text-green-color {
    color: var(--green-color-uti);
}

.a-underline {
    text-decoration: underline;
}

.b-green {
    border: 1px solid var(--green-color-uti);
}

.b-red {
    border: 1px solid var(--red-color-uti);
}

.s-shift {
    position: absolute;
    right: 34px;
    top: 24px;
}

.s-shift-2 {
    display: block;
    position: absolute;
    top: 101px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
}

.f-gap-1 {
    gap: .1rem 1rem;
}

.t-hover {
    border: 1px solid rgba(255, 255, 255, 0);
    transition: transform .3s ease;
    cursor: pointer;
}

.t-hover:hover>p {
    text-decoration: underline;
}

.b-circle>span {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-only-language {
    text-align: center;
    padding: 20px 0;
}

.auth-page .auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-page .auth-container {
    max-width: 420px;
    width: 100%;
}

.auth-page .auth-card {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.auth-page .auth-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: #fafafa;
}

.auth-page .auth-logo-link {
    display: block;
    line-height: 0;
}

.auth-page .auth-logo-img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

.auth-page .auth-lang-wrap {
    flex-shrink: 0;
}

.auth-page .auth-lang-wrap .custom-select {
    min-width: 120px;
    font-size: 0.875rem;
}

.auth-page .auth-lang-wrap label {
    display: none;
}

.auth-page .auth-card-body {
    padding: 1.5rem 1.5rem;
}

.auth-page .auth-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--blue-color-uti);
}

.auth-page .auth-card-body .btn[type="submit"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
}

.auth-page .auth-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
    font-size: 0.9375rem;
    background: #fafafa;
}

@media (max-width: 767.98px) {
    .navbar-logo {
        width: 38px !important;
        height: auto;
    }
}

@media (min-width: 768px) {
    .navbar-logo {
        width: 54px;
        height: auto;
    }
}

.save-company-btn,
.company-actions .dropdown-toggle {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 2.65rem;
    white-space: nowrap;
    transition: all 0.2s;
    border: 1px solid #dee2e6;
    background: white;
    color: var(--blue-color-uti, #323555);
    display: inline-flex;
    align-items: center;
}

.save-company-btn i,
.company-actions .dropdown-toggle i {
    flex-shrink: 0;
}

@media (min-width: 768px) {

    .save-company-btn span,
    .company-actions .dropdown-toggle span {
        display: inline !important;
    }
}

.save-company-btn:hover,
.company-actions .dropdown-toggle:hover {
    box-shadow: none;
    background-color: #f8f9fa;
    border: 1px solid var(--green-color-uti, #25B105);
    color: var(--green-color-uti, #25B105);
}

.save-company-btn.active {
    color: var(--green-color-uti, #25B105) !important;
    border: 1px solid var(--green-color-uti, #25B105) !important;
    background-color: white !important;
}

.save-company-btn.active span {
    color: var(--green-color-uti, #25B105) !important;
}

.save-company-btn.active:hover {
    border: 1px solid #1f9a04 !important;
    color: #1f9a04 !important;
    background-color: white !important;
}

.save-company-btn.active:hover span {
    color: #1f9a04 !important;
}

.save-company-btn.active i {
    color: var(--green-color-uti, #25B105) !important;
}

.save-company-btn.active:hover i {
    color: #1f9a04 !important;
}

.rubr-link {
    transition: all 0.2s;
    border: 1px solid transparent;
    border-radius: 2.65rem;
    padding: 0.375rem 0.75rem;
    margin: -0.375rem -0.75rem;
    display: inline-block;
}

a.rubr-link:hover {
    text-decoration: none !important;
    background-color: #f8f9fa;
    border-color: var(--green-color-uti, #25B105);
    color: var(--green-color-uti, #25B105) !important;
}

.neighbor-block {
    margin-top: 1rem;
}

.neighbor-rating-star {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.neighbor-rating-star .neighbor-rating-value {
    position: absolute;
    left: 50%;
    top: 54%;
    transform: translate(-50%, -50%);
    right: auto;
    font-size: 1.25rem;
    line-height: 1;
    pointer-events: none;
}

.neighbor-star {
    width: 73px;
    height: 70px;
    display: block;
}

@media (min-width: 768px) {
    .neighbor-block:first-of-type {
        margin-top: 2.5rem;
    }

    .neighbor-star {
        width: 52px;
        height: 50px;
    }

    .neighbor-rating-star .neighbor-rating-value {
        font-size: 1rem;
    }
}

.hidden {
    display: none !important;
}

.p-tips>span {
    padding: 0 6px;
    text-decoration: underline;
    cursor: pointer;
}

.b-color {
    background-color: #fafafa;
}

.reliable-rating-title {
    position: relative;
    z-index: 3;
}

.reliable-rating-image {
    display: block;
    margin: 0 auto;
}

.gap-2 {
    gap: 0.5rem;
}

.ai-opinion-container {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem 1rem 1rem 1rem;
    background-color: #f8f9fa;
    margin-top: 2rem;
}

.ai-opinion-badge {
    position: absolute;
    top: -12px;
    left: 16px;
    background-color: #fff;
    color: #6c757d;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-rating-sidebar {
    border-left: none;
}

@media (min-width: 768px) {
    .card-rating-sidebar {
        border-left: 1px solid rgba(34, 34, 48, 0.1);
    }
}

.ai-opinion-container #opinion_ai {
    padding-top: 0.5rem;
}