* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Gilroy';
    background: #f5f6f8;
    font-size:16px;
}

.reviews-block__comment .review-source {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #7a7a7a;
    font-style: italic;
}

.reviews-block__comment .review-source a {
    color: inherit;
    text-decoration: underline;
}

.reviews-block__comment .review-source a:hover {
    text-decoration: none;
}

.description__text-block {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* Заголовки внутри описания */
.description__text-block h1,
.description__text-block h2,
.description__text-block h3,
.description__text-block h4 {
    margin: 16px 0 8px;
    font-weight: 600;
}

/* Абзацы */
.description__text-block p {
    margin: 10px 0;
}

/* Списки */
.description__text-block ul,
.description__text-block ol {
    margin: 8px 0 8px 20px;
    padding: 0;
}

.description__text-block li {
    margin: 3px 0;
}

/* Ссылки */
.description__text-block a {
    color: #0073aa;
    text-decoration: underline;
}

.description__text-block a:hover {
    color: #005380;
    text-decoration: none;
}

/* Жирный / курсив */
.description__text-block b,
.description__text-block strong {
    font-weight: 600;
}

.description__text-block i,
.description__text-block em {
    font-style: italic;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1277px;
    margin: 0 auto;
}

header {
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 998;
}
.admin-bar header {
    top:32px;
}

.header_top {
    display: grid;
    grid-template-columns: 0.4fr 1.6fr;
    align-items: center;
    gap:0 30px;
    padding:15px 0;
}

.search_top {
    display: grid;
    grid-template-columns:1.6fr 0.4fr;
    gap:0 30px;
    align-items: center;
}

.search_top .btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.logo {
    font-size:28px;
    font-weight: bold;
    text-transform: uppercase;
    color:#000;
    text-decoration: none;
}


.logo img {
    height: 100px;
}

.right_header {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.search {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    right: 0;
}
.search button svg {
    width: 24px;
    height: 24px;
}
.search button svg path {
    stroke:#2f80ed;
}
.header-search__btn {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 64px;
    height: 100%;
    background: #f8f8f8;
    border: 1px solid rgba(52, 125, 184, .15);
    box-sizing: border-box;
    border-radius: 8px 0 0 8px;
}

.header-search__input {
    width: calc(100% - 64px);
    height: 100%;
    background: #fafafa;
    border: 1px solid rgba(52, 125, 184, .1);
    border-left: none;
    box-sizing: border-box;
    padding: 12px 0;
    padding-left: 22px;
    overflow: hidden;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    outline: none;
}
.container.home {
    padding-top: 100px;
}
nav {
    border-top: 1px solid #fafafa;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    display: block;
    color:#000;
    text-decoration: none;
    padding:15px 30px;
}

nav ul li a:first-child {
    padding-left: 0;
}

.search-results {
    position: absolute;
    top: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    border-radius: 10px;
    z-index: 100;
}

.search-results p {
    padding:5px;
    background: #fff;
}

.search-results li {
    list-style: none;
    margin:5px 0;
    background: #fff;
}
.company-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.logo_list {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: contain;
}
.company-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.company-link h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}


.btn {
    padding:10px 20px;
    background: #326985;
    border-radius: 4px;
    border:1px solid #326985;
    color: #fff;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    transition: .2s linear;
    text-decoration: none;
    display: block;
    max-width: max-content;
}

.btn:hover, .btn:focus, .btn:active {
    background:#fff;
    color:#326985;
}
.filials-list {
    margin:10px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:20px;
}
.filials-list li {
    list-style: none;
    margin-bottom: 15px;
    border:1px solid #ccc;
    padding:10px;
}
.btn.delete-filial {
    background: #cc0605;
}

.btn.delete-filial:hover {
    background: #b00000;
}


.main_wrapper {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    grid-gap: 20px 40px;
    margin-top: 20px;
    min-height: 60vh;
}

.main_wrapper.map_main {
    display: block;
}

.container.register_main {
    display: block;
}

.hero {
    width: 100%;
    background: #525356;
    position: relative;
    border-radius: 15px;
    z-index: 1;
    overflow: hidden;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: center;
    padding-top: 45px;
    padding-bottom: 58px;
}

.hero h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 35px;
    color: #fff;
}

.hero__buttons {
    z-index: 2;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}

.hero__btn {
    width: 298px;
    height: 55px;
    border-radius: 10px;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    transition: .2s linear;
    background: #fff;
    color: #161616;
    text-decoration: none;
}

.hero__btn.active {
    background: #326985;
    color: #fff;
}

.hero__btn:not(:last-child) {
    margin-right: 30px;
}

.prompt {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #a5a5a5;
    text-align: center;
    margin-top: 19px;
    margin-bottom: 48px;
    display: block;
    text-align: center;
}

.filter {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 42px;
}

.filter-block {
    background: #fff;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 17px 19px 16px 18px;
    margin-right: 32px;
}

.filter-block__name, .filter-block__select {
    font-style: normal;
    font-size: 14px;
    line-height: 17px;
}
.filter-block__name {
    color: #8c8c8c;
    font-weight: 600;
}

.filter-block__select {
    border: none;
    color: #2d2d2d;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}


.company-card {
    background: #fff;
    border-radius: 20px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 15px;
    padding: 10px 12px 6px 28px;
    position: relative;
    overflow: hidden;
}

.company-card__header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
}

.reviews_page .company-card__header {
    margin:0;
    padding:10px 20px;
    border-radius: 20px 20px 0 0;
    gap:30px;
}

.reviews_page .company-review {
    border-radius: 20px;
}

.reviews_page .reviews-card__content {
    border-radius: 0 0 20px 20px;
}
.company-card__logo {
    width: 130px;
    height: 130px;
    display: block;
    overflow: hidden;
}
.company-card__header-info {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.company-card__logo img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.company-card__rating-default {
    position: relative;
}
.company-card__rating, .company-card__rating-default {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.company-card__rating-default img {
    width: 16px;
    height: 16px;
}

.company-card__rating-active {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.company-card__contact {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.company-card__phone {
    padding: 10px 20px;
    box-sizing: border-box;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #fff;
    display: block;
    background: #326985;
    text-align: center;
    border-radius: 4px;
}

.fancybox-inline {
    min-width: 182px;
    padding: 10px 20px;
    box-sizing: border-box;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #fff;
    display: block;
    background: #326985;
    border:1px solid #326985;
    border-radius: 4px;
    text-align: center;
    transition: .2s;
}

.fancybox-inline:hover {
    background:#fff;
    color:#326985;
}



.company-card__adress {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #161616;
    margin: 10px 0 0;
    max-width: 170px;
}

.company-card__header-info__top {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 4px;
}

.company-card__header-info__bottom {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}
.company-card__reviews-link {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    color: #326985;
    max-width: 77px;
    margin: 0 15px;
    transition: .2s linear;
}

.company-card__balls {
    background: #fafafa;
    border-radius: 10px;
    padding: 24px 27px;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.company-card__balls-count {
    display: inline-block;
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    letter-spacing: 1px;
    color: #326985;
}

.company-card__balls-text {
    display: inline-block;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    color: #828282;
}


.company-card__name {
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 32px;
    color: #000;
}

.company-card__location {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-direction: column;
}

.company-card__merto-block {
    background: #f2f2f2;
    border: 1px solid rgba(68, 150, 246, .1);
    border-radius: 5px;
    display: -ms-flexbox;
    -ms-flex-align: center;
    padding:0 15px;
    height: 35px;
    display: flex;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    box-sizing: border-box;
}
.main-info__location {
    margin: 25px 0;
}
.company-card__metro-stantion {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #000;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.adres_mini {
    display: flex;
    align-items: center;
    gap:10px;
    margin:15px 0;
}

.adres_mini svg {
    width: 30px;
    height: 30px;
}

.company_item_main {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.ct_buttons {
    display: grid;
    grid-template-columns: 185px 185px 1fr;
    gap: 30px;
}

#thanks {
    text-align: center;
}

#thanks h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.compensate-for-scrollbar {
    margin:0 !important;
    overflow: scroll !important;
    overflow-x: hidden !important;
}

.ct_buttons .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.btn.green {
    background: #EBD488;
    border:1px solid #EBD488;
    color:#000;
    width: 100%;
    max-width: 180px;
    box-sizing: border-box;
    cursor: pointer;
}

.btn.green:hover {
    background: #fff;
    color:#A07643;
}

.company-card__names {
    display: flex;
    align-items: center;
    gap:0;
    margin-top: 15px;
}

.content_company {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    margin-top: 20px;
}

.company-card__metro-stantion.blue:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #326985;
    margin-right: 10px;
}

.company-card__content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: flex-end;
    align-items: flex-end;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 20px;
}

.company-card__footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.company-card__footer-info {
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
}

.company-card__footer-info__username {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    color: #326985;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.company-card__footer-info__date {
    font-size: 12px;
    line-height: 18px;
    color: #505050;
}

.company-card__footer-info__username:after {
    content: "";
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #161616;
    margin: 0 12px;
}

.company-card__footer-review {
    max-width: calc(100% - 100px);
    padding-bottom: 20px;
    overflow: hidden;
    position: relative;
    display: block;
    z-index: 1;
    font-size: 12px;
    line-height: 16px;
    text-align: justify;
}

.company-card__progress {
    position: relative;
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.company-card__content-recomend svg {
    width: 48px;
    height: 48px;
    fill: transparent;
    position: relative;
}

.company-card__content-recomend.high .company-card__progress-percent {
    color: #20dc33;
}
.company-card__progress-percent {
    position: absolute;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.company-card__content-recomend__text {
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    line-height: 13px;
    text-align: center;
    color: #161616;
}
.company-card__content-recomend.high .progress-ring__circle {
    stroke: #20dc33;
}
.company-card__content-recomend svg circle {
    position: relative;
    stroke-width: 4px;
    transform-origin: center;
    transform: rotate(-90deg);
    z-index: 2;
}
.company-card__content-recomend__reviews {
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    color: #393939;
}
.company-card__content-recomend {
    background: rgba(32, 220, 51, .1);
    padding: 15px;
    padding-bottom: 8px;
    border-radius: 16px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
}

.header_company {
    display: grid;
    grid-template-columns: 150px 415px 1fr 1fr;
    gap: 15px;
}

.rating {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f5f5f5;
    box-sizing: border-box;
    border-radius: 8px;
}

.rating h3 {
    margin:20px 0;
    text-align: center;
}

.rating__body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 10px;
}

.rating__body p {
  padding:10px;
}

.company {
    display: grid;
    grid-template-columns: 0.4fr 1fr 0.4fr;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #ffffff;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.company:hover {
    background: #f5f7fb;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.company__img {
    width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    max-height: 50px;
}


.company__name {
    max-width: 230px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000;
}

.rating-balls {
    display: flex;
    align-items: center;
    margin-left: auto;
    background: #FAFAFA;
    padding: 8px 6px;
    border-radius: 10px;
    width: 100px; /* чуть шире под большие числа */
    font-weight: bold;
    justify-content: space-between;
    box-sizing: border-box;
}

.rating-balls__count {
    font-size: 13px;
    line-height: 16px;
    color: #326985;
    padding:0 !important;
    white-space: nowrap; /* не переносить большие числа */
}

.rating-balls__text {
    font-size: 12px;
    line-height: 14px;
    color: #828282;
    padding:0 !important;
}

.profile_buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.info {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 31px 36px 48px 40px;
    background: #fff;
    border-radius: 10px;
    margin-top:30px;
}

.main-info {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: start;
    align-items: flex-start;
}

.main-info__content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.main-info__contact {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
}

.main-info__contact .web {
    max-width: 180px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.main-info__title {
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    color: #000;
}

.company-card__location {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-direction: column;
}

.main-info__location .company-card__merto-block {
    padding: 0;
    background: transparent;
    border: none;
    display: inline-block;
    width: auto;
    height: auto;
}

.main-info__specifications {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.company-card__metro-stantion {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #000;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.company-card__metro-stantion.blue:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #326985;
    margin-right: 10px;
}

.main-info__specifications-block {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #000;
    margin-bottom: 12px;
}

.main-info__specifications-text {
    font-weight: bold;
}
.main-info__site img {
    margin-right: 10px;
}
.main-info__site {
    background: #f2f2f2;
    border: 1px solid rgba(68, 150, 246, .1);
    box-sizing: border-box;
    border-radius: 5px;
    margin-top: 16px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    color: #000;
    margin-right: 0;
    max-width: 180px;
    transition: .2s;
}

.main-info__contact-title {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    display: inline-block;
    margin:0 auto 22px auto;
    color: #000;
}

.main-info__email {
    min-width: 180px;
    padding-left: 10px;
    padding-right: 10px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 16px;
    margin-right: 0;
    cursor: pointer;
    transition: .2s;
    font-size: 15px;
}

.main-info__email svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    margin-right: 5px;
}

.carta_main #yandex-map {
    width: 100% !important;
    max-width: 779px;
}
.main-info__phone {
    margin-bottom: 16px;
    margin-right: 0;
    transition: .2s;
    width: 180px;
    box-sizing: border-box;
}

.main-info__contact .fancybox-inline {
    margin-bottom: 16px;
}

.main-info__contact .btn.green {
    margin-bottom: 16px;
}

.info-rating, .info-rating__block {
    display: -ms-flexbox;
    display: flex;
    position: relative;
}

.info-rating__block {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.info-rating {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 30px;
    background: #fff;
    padding: 32px 21px 28px 50px;
    border-radius: 10px;
}



.info-rating__block-text {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 22px;
}

.info-rating__block-title {
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    color: #000;
}

.info-rating__block-title:after {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin: 13px;
    background: #000;
}

.info-rating__block-reviews {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: gray;
}



.reviews-block__rating-block {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: start;
    align-items: flex-start;
}

.gr_main_items {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:30px 10px;
}
.reviews-block__rating-name {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000;
    display:block;
    margin-bottom:10px;
}

.address-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#map {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    cursor: default;
}

#metro-info {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.button_add_fil {
    margin:15px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.button_add_fil .btn {
    margin-left: 15px;
}
.div_filials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:30px;
    border:1px solid #ccc;
    padding:10px;
    margin:20px 0;
}

.ymaps-2-1-79-copyright,
.ymaps-2-1-79-map-copyrights-promo,
.ymaps-2-1-79-listbox__list-item {
    display: none !important;
}

.ymaps-2-1-79-map {
    cursor: default !important;
}

.address-suggestions {
    position: relative;
    margin-top: -8px;
    margin-bottom: 10px;
}

.address-suggestions ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.address-suggestions li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.address-suggestions li:last-child {
    border-bottom: none;
}

.address-suggestions li:hover {
    background-color: #f5f5f5;
}

.reviews-block__star-rating {
    padding: 5px;
}
.reviews-block__star-rating {
    margin: 0;
    padding: 0;
}

.reviews-block__star-rating span {
    width: auto;
}
.reviews-block__star-rating span {
    margin-right: 0;
    margin-left: 15px;
    -ms-flex-order: 1;
    order: 1;
}
.star-rating {
    padding: 13px 5px 13px 9px;
    background: #fafafa;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.star-rating__count {
    display: inline-block;
    width: 26px;
    font-style: normal;
    font-weight: 700;
    color: #326985;
    font-size: 14px;
    line-height: 16px;
    margin-right: 7px;
}

.star-rating__default {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}


.star-rating__active {
    position: absolute;
    top: 0;
    left: 0;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.company-card__content-recomend.high {
    background: rgba(32, 220, 51, .1);
}
.info-rating__recomend {
    padding: 15px 34px;
    padding-bottom: 23px;
}

.info-rating__progress {
    width: 88px;
    height: 88px;
    margin-bottom: 21px;
}

.info-rating__progress svg {
    width: 88px;
    height: 88px;
}

.company-card__content-recomend.high .company-card__progress-percent {
    color: #20dc33;
}
.info-rating__percent {
    font-size: 18px;
    line-height: 22px;
}

.info-rating__recomend-text {
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 5px;
}

.info-rating__reviews {
    font-size: 12px;
    line-height: 14px;
}


.description {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 49px;
}

.description__title {
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    color: #000;
}

.description__text-block {
    max-width: 684px;
    overflow: hidden;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #212121;
    margin: 25px 0;
}

.description__text-block p, .description__text-block ol, .description__text-block ul {
    margin: 1% 0;
}

body .description__text-block ol, body .description__text-block ul {
    list-style-type: circle !important;
    padding-left: 3%;
}

.open__descrition {
    width: 225px;
    height: 57px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #f2f2f2;
    border-radius: 10px;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #4f4f4f;
    transition: .2s linear;
    outline: none;
    cursor: pointer;
    border:none;
}

.open__descrition:hover {
    transform: scale(1.1);
}

.none_reviews {
    background-color: #fff;
    padding:0 50px 50px 50px;
}

.feedback_main {
    background: #fff;
    border-radius: 10px;
    padding: 32px 21px 28px 50px;
    margin:30px 0;
}

.feedback {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.feedback__left {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.feedback__title {
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 27px;
    margin-bottom: 28px;
    color: #000;
}

.feedback__label:not(:last-child) {
    margin-bottom: 16px;
}
.feedback__label {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
}

.feedback__input-name {
    color: #c4c4c4;
    margin-bottom: 4px;
}

.feedback__input-name.required:after {
    content: "*";
    color: #d22e2e;
    display: block;
}
.feedback__input-name, .feedback__label.error p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    display: -ms-flexbox;
    display: flex;
}

.feedback__input {
    width: 318px;
    height: 50px;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 13px 16px;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: .05em;
    color: #161616;
}

.feedback__textarea {
    max-width: 411px;
    width: 100%;
    resize: none;
    height: 206px;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    padding: 16px;
    border-radius: 5px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: .05em;
    color: #161616;
}

.feedback__right {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.feedback__subtitle {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #000;
    margin-bottom: 26px;
}

.feedback__account:not(:last-child) {
    margin-bottom: 18px;
}
.feedback__account {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: start;
    align-items: flex-start;
}

.feedback__account-title {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #000;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 4px;
}
.feedback__account-title:after {
    content: "*";
    color: #d22e2e;
    display: block;
}
.feedback__account-rating {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap:5px;
}

/* .feedback__account-item {
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
} */

.feedback__account-label {
    cursor: pointer;
    margin-right: 2px;
}

.feedback__account-label svg {
    stroke: #c4c4c4;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
    fill: transparent;
    width: 20px;
    height: 20px;
}

.feedback__switch-block {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 33px;
}

.feedback__file {
    width: 307px;
    height: 0 !important;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    border: 1px dashed #2f80ed;
    box-sizing: border-box;
    border-radius: 16px;
}

.feedback__switch-text {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #000;
}

.recomend-checkbox {
    position: relative;
}

.recomend-checkbox input {
    position: relative;
    width: 44px;
    height: 24px;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #326985;
    box-shadow: inset 0 2px 3px rgba(12, 84, 160, .25);
    border-radius: 20px;
    outline: none;
    transition: .4s;
    cursor: pointer;
    padding: 2px;
    box-sizing: border-box;
}
.recomend-checkbox input:checked {
    background: green
}

.recomend-checkbox input:checked:before {
    left: 20px;
}

.recomend-checkbox input:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 140, 255, .25);
    border-radius: 50%;
    transition: .3s linear;
}

.feedback__file-img {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.feedback__file-text {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    width: 182px;
    color: #4f4f4f;
    margin-top: 8px;
}

.feedback__file-input {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.feedback__submit {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin:24px 0;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}

.feedback__chekbox {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.privacy-policy {
    width: 20px;
    height: 20px;
    border: 1px solid #c4c4c4;
    border-radius: 2px;
}

.privacy-policy input {
    display: none;
}

.privacy-policy input:checked+label:before {
    content: "\2713";
    font-size: 20px;
    color: #326985;
    text-align: center;
}

.privacy-policy label {
    width: 20px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
    position: relative;
    top: -4px;
    left: 1px;
}

.feedback__chekbox-text {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: .05em;
    margin-left: 10px;
    color: #c4c4c4;
    width: 386px;
}

.feedback__chekbox-link {
    color: #326985;
    text-decoration: underline;
}

.feedback__btn.disabled {
    pointer-events: none;
    background: #a5cdfb;
}
.feedback__btn {
    border:none;
    padding: 18px 46px;
    background: #326985;
    border-radius: 10px;
    font-family: GilroyBold, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    cursor: pointer;
}

.feedback ul li {
    list-style: none;
}


.company-reviews {
    margin-top: 35px;
}

.company-reviews .company-card__balls {
    width: 110px;
}

.company-reviews__header {
    background: #fff;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 30px 50px;
    border-radius: 10px 10px 0 0;
}

.company-review {
    background: #fff;
    margin-bottom: 16px;
}

.info-rating__block-reviews {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: gray;
}

.reviews-card__content {
    border: 1px solid #e9e9f1;
    box-sizing: border-box;
    padding: 32px 34px 46px 51px;
}

.reviews-block {
    display: block;
}

.gr_items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:20px;
}

.reviews-block__info {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.reviews-block__username {
    font-size: 20px;
    line-height: 18px;
    color: #326985;
    font-weight: 600;
}

.reviews-block__comment {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #212121;
    margin: 15px 0;
    overflow: hidden;
}


.reviews-block__rating-title {
    margin-bottom: 15px;
}


.feedback__input::-webkit-input-placeholder {
    color: #666
    }
    .feedback__input::-moz-placeholder {
    color: #666
    }
    .feedback__input:-ms-input-placeholder,
    .feedback__input::-ms-input-placeholder {
    color: #666
    }
    .feedback__input::placeholder {
    color: #666
    }
    .feedback__input:focus {
    border: 1px solid #347db8
    }

    .feedback__textarea::-webkit-input-placeholder {
        color: #666
        }
        .feedback__textarea::-moz-placeholder {
        color: #666
        }
        .feedback__textarea:-ms-input-placeholder,
        .feedback__textarea::-ms-input-placeholder {
        color: #666
        }
        .feedback__textarea::placeholder {
        color: #666
        }
        .feedback__textarea:focus {
        outline: #347db8;
        border: 1px solid #347db8
        }


.add-company__block {
    padding: 40px 50px;
    background-color: #fff;
    border-radius: 5px;
}

.add-company__form {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.add-company__input-title {
    position: absolute;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #c4c4c4;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 4px;
    top: -20px;
    left: 0;
}

footer {
    background: #c2c2c2;
    margin-top: 30px;
    width: 100%;
    padding-top: 52px;
    padding-bottom: 25px;
}

.footer_content {
    display:grid;
    grid-template-columns: 0.4fr 1fr;
    gap: 20px 40px;
    align-items: center;
}

.logo_footer {
    color:#fff;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    max-width: max-content;
}

.logo_footer img {
    height: 70px;
}

.right_footer {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.right_footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.right_footer ul li {
    list-style: none;
    margin:0 0 0 20px;
}

.right_footer ul li a {
    color:#000;
    display: block;
}

.copy {
    text-align: right;
    font-size: 16px;
    color:#000;
}



.profile-info {
    border-radius: 8px;
}

.company-logo {
    border:1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}

.profile-header {
    background:#fff;
    padding:30px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:20px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.profile-header .edit-profile-button {
    margin-bottom: 15px;
}


.profile-header.company_header {
    grid-template-columns: 1fr 1fr 120px 195px;
}

.company_header .company-card__balls {
    width: 120px;
    margin:0 auto;
}

.main_info_name h1 {
    font-size: 28px;

}


.profile-header .company-card__balls {
    width: auto;
    justify-content: center;
    align-items: center;
    height: 108px;
}

.company-logo {
    max-width: 200px;
    height: auto;
}

.profile-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.profile-column {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.profile-column:hover {
    transform: translateY(-5px);
}

strong {
    color: #2980b9;
}

.company-posts {
    margin-top: 20px;
}

.modal-body textarea {
    border: 1px solid #e5e5e5;
    padding:13px 16px;
    height: 100px;
}

.modal-body .btn {
    font-size: 24px;
    width: 100%;
    max-width: 100%;
    padding:15px 0;
    cursor: pointer;
}

.modal-body .feedback__input-name {
    font-size: 14px;
}
.company-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две колонки */
    gap: 20px; /* Отступ между колонками */
    margin-top: 20px; /* Отступ сверху */
}

.company-post {
    background-color: #ffffff; /* Цвет фона для статьи */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s; /* Плавный переход для эффекта поднятия */
}

.company-post:hover {
    transform: translateY(-5px); /* Эффект поднятия при наведении */
}

.company-post h4 a {
    color:#000;
    font-size:20px;
    margin-bottom: 10px;
}

.post-thumbnail {
    margin-bottom: 10px; /* Отступ между изображением и заголовком */
}

.post-thumbnail img {
    max-width: 100%; /* Максимальная ширина изображения */
    height: auto; /* Автоматическая высота */
    border-radius: 5px; /* Закругленные углы изображения */
    height: 220px;
    object-fit: cover;
}

.read-more-button {
    display: inline-block; /* Чтобы кнопка не занимала всю ширину */
    background-color: #3498db; /* Цвет кнопки */
    color: #fff; /* Цвет текста кнопки */
    padding: 10px 15px; /* Отступы внутри кнопки */
    border-radius: 5px; /* Закругленные углы */
    text-decoration: none; /* Убираем подчеркивание */
    margin-top: 10px; /* Отступ сверху */
    transition: background-color 0.3s; /* Плавный переход для фона */
}

.read-more-button:hover {
    background-color: #2980b9; /* Цвет кнопки при наведении */
}

.logout-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #e74c3c; /* Красный цвет */
    color: #fff; /* Белый текст */
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s;
}

.logout-button:hover {
    background-color: #c0392b; /* Темнее при наведении */
}

.article-form {
    background-color: #f9f9f9; /* Светлый фон для формы */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

h3 {
    margin:20px 0;
}

.article-form h3 {
    margin-bottom: 20px;
    color: #2c3e50; /* Цвет заголовка */
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 24px;
    text-align: center;
}

.article-form input[type="text"],
.article-form input[type="tel"],
.article-form textarea,
.article-form input[type="file"] {
    width: 100%; /* Занимает всю ширину */
    padding: 10px;
    margin-bottom: 15px; /* Отступ между полями */
    border: 1px solid #ccc; /* Цвет рамки */
    border-radius: 5px; /* Закругленные углы */
    font-size: 16px; /* Размер шрифта */
    transition: border-color 0.3s; /* Плавный переход для рамки */
}

.article-form input[type="text"]:focus,
.article-form input[type="tel"]:focus,
.article-form textarea:focus {
    border-color: #3498db; /* Цвет рамки при фокусе */
    outline: none; /* Убираем стандартный контур */
}

.article-form input[type="submit"] {
    background-color: #3498db; /* Цвет кнопки */
    color: #fff; /* Цвет текста кнопки */
    border: none; /* Убираем рамку */
    padding: 10px 15px; /* Отступы внутри кнопки */
    border-radius: 5px; /* Закругленные углы */
    cursor: pointer; /* Указатель при наведении */
    font-size: 18px; /* Размер шрифта */
    transition: background-color 0.3s; /* Плавный переход для фона */
    margin-top: 20px;
}

.article-form input[type="submit"]:hover {
    background-color: #2980b9; /* Цвет кнопки при наведении */
}

#toggle-article-form {
    background-color: #3498db; /* Цвет кнопки */
    color: #fff; /* Цвет текста кнопки */
    border: none; /* Убираем рамку */
    padding: 10px 20px; /* Отступы внутри кнопки */
    border-radius: 5px; /* Закругленные углы */
    cursor: pointer; /* Указатель при наведении */
    font-size: 16px; /* Размер шрифта */
    transition: background-color 0.3s, transform 0.2s; /* Плавный переход для фона и эффекта нажатия */
    margin:30px 0 30px auto;
    display: flex; /* Чтобы кнопка не занимала всю ширину */
}

#toggle-article-form:hover {
    background-color: #2980b9; /* Цвет кнопки при наведении */
    transform: translateY(-2px); /* Эффект поднятия при наведении */
}

#toggle-article-form:active {
    transform: translateY(1px); /* Эффект нажатия */
}

.header_post {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom: 30px;
}

.header_post .company-info {
    margin:0;
}

.header_post h1 {
    font-size: 30px;
}
.single-post {
    padding:20px;
    margin:160px auto 20px auto;
background-color: #ffffff; /* Цвет фона */
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.single-post h2 {
color: #2c3e50; /* Цвет заголовка */
font-family: 'Helvetica Neue', sans-serif;
margin-bottom: 15px;
}

/* Общие стили для вкладок */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tablink {
    background-color: #007BFF; /* Голубой цвет */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    margin: 0 5px;
}

.tablink:hover {
    background-color: #0056b3; /* Темнее при наведении */
    transform: scale(1.05); /* Увеличение при наведении */
}

.tablink.active {
    background-color: #0056b3; /* Цвет активной вкладки */
}

/* Стили для содержимого вкладок */
.tabcontent {
    display: none;
    padding: 20px;
    border: 1px solid #007BFF; /* Граница голубого цвета */
    border-radius: 0 0 5px 5px;
    background-color: #f9f9f9; /* Светлый фон для содержимого */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень для содержимого */
}

/* Стили для форм внутри вкладок */
.tabcontent form {
    display: flex;
    flex-direction: column;
}

.tabcontent label {
    margin-bottom: 5px;
    font-weight: bold;
    display: block;
}

.tabcontent input[type="text"],
.tabcontent input[type="email"],
.tabcontent input[type="password"],
.tabcontent input[type="tel"],
.tabcontent input[type="file"],
.tabcontent textarea,
.tabcontent select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    transition: border-color 0.3s;
    width:100%;
    box-sizing: border-box;
}

.tabcontent input[type="text"]:focus,
.tabcontent input[type="email"]:focus,
.tabcontent input[type="tel"]:focus,
.tabcontent input[type="password"]:focus,
.tabcontent select:focus,
.tabcontent textarea:focus {
    border-color: #007BFF; /* Голубая граница при фокусе */
    outline: none; /* Убираем стандартный контур */
}

.tabcontent input[type="submit"] {
    background-color: #007BFF; /* Голубой цвет кнопки */
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

.article-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.tabcontent input[type="submit"]:hover {
    background-color: #0056b3; /* Темнее при наведении */
    transform: scale(1.05); /* Увеличение при наведении */
}

/* Стили для сообщений об ошибках */
.tabcontent p {
    margin: 10px 0;
    color: red; /* Цвет для сообщений об ошибках */
}

.company-info {
margin-bottom: 20px; /* Отступ снизу */
}

.company-button {
display: inline-block; /* Чтобы кнопка не занимала всю ширину */
background-color: #3498db; /* Цвет кнопки */
color: #fff; /* Цвет текста кнопки */
padding: 10px 15px; /* Отступы внутри кнопки */
border-radius: 5px; /* Закругленные углы */
text-decoration: none; /* Убираем подчеркивание */
transition: background-color 0.3s; /* Плавный переход для фона */
}

.company-button:hover {
background-color: #2980b9; /* Цвет кнопки при наведении */
}

.single_post_page {
    background: #fff;
    padding:20px;
    border-radius: 8px;
}

.single_post_page strong {
    color:#000;
}

.single_post_page ul {
    margin:20px 0 20px 20px;
}

.single_post_page h2, .single_post_page h3, .single_post_page h4, .single_post_page h5 {
    margin-bottom: 20px;
}

.single_post_page p {
    margin-bottom: 20px;
}



.back-button {
display: inline-block; /* Чтобы кнопка не занимала всю ширину */
background-color: #e74c3c; /* Красный цвет кнопки */
color: #fff; /* Цвет текста кнопки */
padding: 10px 15px; /* Отступы внутри кнопки */
border-radius: 5px; /* Закругленные углы */
text-decoration: none; /* Убираем подчеркивание */
margin-top: 20px; /* Отступ сверху */
transition: background-color 0.3s; /* Плавный переход для фона */
}

.back-button:hover {
background-color: #c0392b; /* Цвет кнопки при наведении */
}

/* Стили для звезд рейтинга */
.company-card__rating {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.company-card__rating-default {
    display: flex;
    gap: 2px;
}

.star-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.star-icon:hover {
    transform: scale(1.1);
}
/* Анимация для звезд при загрузке */
@keyframes starPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.company-card__rating-default .star-icon {
    animation: starPop 0.3s ease forwards;
    animation-delay: calc(var(--star-index) * 0.1s);
}

.company-card__rating-default .star-icon:nth-child(1) { --star-index: 1; }
.company-card__rating-default .star-icon:nth-child(2) { --star-index: 2; }
.company-card__rating-default .star-icon:nth-child(3) { --star-index: 3; }
.company-card__rating-default .star-icon:nth-child(4) { --star-index: 4; }
.company-card__rating-default .star-icon:nth-child(5) { --star-index: 5; }

.rating-stars input {
    display: none;
}

/* Стили для рейтинга в форме отзывов */
.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}

.feedback__account-item {
    display: none; /* Скрываем радио кнопки */
}

.star-label {
    cursor: pointer;
}

.star-label .star-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

/* Эффект при наведении */
.star-label:hover .star-icon,
.star-label:hover ~ .star-label .star-icon {
    content: url('../images/icons/star.svg');
}

/* Выбранные звезды */
.feedback__account-item:checked + .star-label .star-icon,
.feedback__account-item:checked + .star-label ~ .star-label .star-icon {
    content: url('../images/icons/star.svg');
}

/* Анимация при выборе */
.feedback__account-item:checked + .star-label .star-icon {
    transform: scale(1.1);
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.preloader__spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.main_wrapper {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.main_wrapper.loaded {
    opacity: 1;
}

.profile-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #2563eb;
}

.tab-button.active:after {
    background: #2563eb;
}

.tab-button:hover {
    color: #2563eb;
}

.tab-content {
    margin-top: 2rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

  /* Цвета для разных уровней */
.company-card__progress.high .progress-ring__circle {
    stroke: #22C55E; /* Зеленый */
}

.company-card__progress.medium .progress-ring__circle {
    stroke: #F59E0B; /* Желтый */
}

.company-card__progress.low .progress-ring__circle {
    stroke: #EF4444; /* Красный */
}

/* Цвета для процентов */
.company-card__progress.high .company-card__progress-percent {
    color: #22C55E;
}

.company-card__progress.medium .company-card__progress-percent {
    color: #F59E0B;
}

.company-card__progress.low .company-card__progress-percent {
    color: #EF4444;
}


.edit-profile-form {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}



.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group img {
    margin-top: 10px;
    display: block;
    border-radius: 4px;
    max-width: 400px;
}

.button {
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.button:hover {
    background-color: #0052a3;
}

.edit_filials label {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.edit_filials input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    transition: border-color 0.3s;
    width:100%;
    box-sizing: border-box;
}

@media (max-width: 1300px) {

    .search_top {
        grid-template-columns: 1fr 0.4fr;
    }
    .reviews-block {
        gap:30px;
    }
    .profile-header.company_header {
        grid-template-columns: 1fr 1fr;
        padding:15px;
        align-items: center;
    }
    .company-logo {
        margin:0 auto;
    }
    .main_wrapper {
        gap:20px;
    }
   .container {
    max-width: 1080px;
   }
   .header_company {
    grid-template-columns: 1fr 1fr;
    align-items: center;
   }
   .content_company {
    grid-template-columns: 1fr;
    justify-content: center;
   }
   .company-card__logo {
    margin:0 auto;
   }
}

@media (min-width: 1230px) {
.rating {
    position: sticky;
    top:150px;
}
}


@media (max-width: 1120px) {
    .container {
        max-width: 900px;
    }

    .feedback {
        flex-direction: column;
    }

    .feedback__submit {
        flex-direction: column;
    }

    .feedback__chekbox {
        margin-bottom: 15px;
    }

    .feedback__switch-block {
        margin: 0;
    }

    .feedback__input, .feedback__textarea {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    .feedback__chekbox-text {
        width: auto;
    }

    .main_wrapper {
        grid-template-columns: 1fr;
    }

    .main_wrapper main {
        order:1;
    }

    .main_wrapper aside {
        order:0;
    }

    .rating__body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap:15px;
    }
    nav ul li a {
        font-size: 14px;
    }
    .right_footer ul li a {
        font-size: 14px;
    }
    .logo img {
        height: 65px;
    }
    .header_top {
        gap:15px;
    }
    .search_top {
        grid-template-columns: 1fr 0.6fr;
    }
}

@media (max-width: 920px) {
    .container {
        max-width: 768px;
    }
    .search_top .btn {
        font-size: 14px;
    }
    .reviews-block {
        flex-direction: column;
    }



    .reviews-block__rating-title {
        grid-column: span 2;
    }

    .info-rating__block {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap:20px;
        max-width: 100%;
        margin:0;
    }

    .info-rating__block-text {
        grid-column: span 2;
        margin: 0;
    }
      .gr_items {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 770px) {
    .mobile_search {
        display: none;
    }
    .header_menu_mobile {
        display: none;
    }
}

@media (max-width: 770px) {

  

    .profile_buttons {
        flex-direction: column;
    }

    .profile_buttons a {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .feedback__chekbox-text {
        font-size: 13px;
    }

    .header-search__input {
        font-size: 13px;
    }

    .container.home {
        padding-top: 120px;
    }

    .div_filials {
        grid-template-columns: 1fr;
    }
    .header_menu_mobile {
        display: flex;
        align-items: center;
    }

    .logo img {
        height: 48px;
    }

    .burger-menu {
        position: relative;
        width: 50px;
    }

    .header_menu_mobile .lk {
        display: flex;
        align-items: center;
        gap:10px;
        color:#326985;
    }

   .form_mobile_search {
    padding-bottom: 10px;
   }
   .header_top {
    padding:10px 0 10px 0;
   }

    .header_menu_mobile .lk svg {
        width: 30px;
        height: 30px;
    }

    .header_menu_mobile .lk svg path {
        fill:#326985;
    }

    #menu-toggle {
        display: none;
    }
    .menu-btn{
        display: flex;
        align-items: center;
        position: absolute;
        top: 0;
        right:0;
        width: 30px;
        height: 100%;
        cursor: pointer;
        z-index: 1;
        }
        .menu-btn > span,
        .menu-btn > span::before,
        .menu-btn > span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: #326985;
        transition-duration: .25s;
        }
        .menu-btn > span::before {
        content: '';
        top: -8px;
        }
        .menu-btn > span::after {
        content: '';
        top: 8px;
        }

        .reviews_page .company-card__header .company-card__logo {
            display: none;
        }

        .reviews_page .company-card__header .company-card__name {
            font-size: 22px;
        }
        
        .menu_sidebar{
        display: block;
        position: fixed;
        visibility: hidden;
        top: 0;
        left: -100%;
        width: 210px;
        height: 100%;
        margin: 0;
        padding: 30px;
        list-style: none;
        background-color: #fff;
        box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
        transition-duration: .25s;
        z-index: 9999;
        }

        .menu_sidebar ul li {
            list-style: none;
            margin:5px 0;
        }

        .menu_sidebar ul li a {
            color:#000;
        }
        .menu_sidebar ul li a:hover {
            text-decoration: underline;
        }
        
        .menu_sidebar.active {
            visibility: visible;
            left:0;
        }
        .menu-item {
        display: block;
        padding: 12px 24px;
        color: #000;
        font-family: 'Roboto', sans-serif;
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        transition-duration: .25s;
        }
        .menu-item:hover {
        background-color: #CFD8DC;
        }

        h1 {
            margin-bottom: 20px;
        }

        h1 {
            font-size: 20px;
        }
        
        
        #menu-toggle{
        opacity: 0;
        }
        
        #menu-toggle:checked ~ .menu-btn > span{
        transform: rotate(45deg);
        }
        #menu-toggle:checked ~ .menu-btn > span::before{
        top: 0;
        transform: rotate(0);
        }
        #menu-toggle:checked ~ .menu-btn > span::after{
        top: 0;
        transform: rotate(90deg);
        }
        #menu-toggle:checked ~ .menubox{
        visibility: visible;
        left: 0;
        }


    .header_top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .ct_buttons {
       grid-template-columns: 1fr;
       gap:15px
    }
    .btn.green {
        max-width: 100%;
    }
    .main-info__contact .btn.green {
        max-width: 180px;
        text-align: center;
    }
    .container {
        max-width: 630px;
    }
    .right_header {
        display: none;
    }
    .btn {
        font-size: 14px;
    }

    .star-rating {
        margin:0;
    }
    .reviews-block__rating-block {
        margin:0 0 10px 0;
    }

    .tabcontent label {
        font-size: 14px;
    }
}

@media (max-width: 660px) {
    .container {
        max-width: 530px;
    }
    .rating__body {
        grid-template-columns: 1fr;
    }

    .header_company {
        gap:0 15px;
    }

    .header_company div:nth-child(1),  .header_company div:nth-child(2) {
        grid-column: span 2;
    }
    .company-card__names {
        justify-content: center;
    }
    .company-card__name {
        display: block;
        width: 100%;
        text-align: center;
    }
    .adres_mini {
        justify-content: center;
    }
    .filials-list {
        grid-template-columns: 1fr;
        gap:0;
    }

    .info-rating {
        flex-direction: column;
        gap:30px 0;
    }

    .footer_content {
        grid-template-columns: 1fr;
    }

    .logo_footer {
        margin:0 auto;
    }

    .right_footer ul {
        flex-direction: column;
        align-items: center;
    }

    .copy {
        text-align: center;
        margin-top: 20px;
    }

    .right_footer ul li {
        margin:5px 0;
    }
}

@media (max-width: 550px) {
    .reviews-block__rating {
        gap:10px;
    }
    .header_menu_mobile .lk {
        font-size: 14px;
    }
    .container {
        max-width: 370px;
    }
    .adres_mini {
        font-size: 14px;
    }

    .filter-block {
        margin:0;
    }

    .filter {
        margin-bottom: 20px;
        display: grid;
        grid-template-columns: 1fr;
        gap:10px 0;
    }

    .feedback_main {
        padding: 20px;
    }
    .info {
        padding: 20px;
    }
    .info-rating {
        padding: 20px;
    }
    .company_item_main {
        padding: 10px;
    }

    .profile-header.company_header {
        grid-template-columns: 1fr;
    }

    .main_info_name {
        text-align: center;
    }
    .profile-header .company-card__balls {
        height: 70px;
    }

    .company-reviews__header {
        padding: 20px;
    }
    .reviews-card__content {
        padding: 20px;
    }

   
    
}

@media (max-width: 390px) {
    .company-card__rating-default img {
        width: 12px;
        height: 12px;
    }
    .reviews_page .company-card__header .company-card__name {
        font-size: 16px;
    }
    .company-reviews .company-card__balls {
        width: auto;
        padding: 10px;
    }
    .reviews-block__username {
        font-size: 16px;
    }
    .star-rating {
        padding: 3px;
    }
    .reviews-block__rating-title {
        font-size: 16px;
    }
    .reviews-block__rating-name {
        font-size: 11px;
    }
    .gr_items {
        gap:0;
    }
    .gr_main_items {
        gap:10px;
    }
    .info-rating__block-text {
        margin-bottom: 15px;
    }
    .container {
        max-width: 320px;
    }

    .filials-list li {
        font-size: 14px;
    }

    .rating h3 {
        font-size: 16px;
        margin:10px 0;
    }

    .reviews-block__rating {
        display: block;
    }

    .reviews-block {
        gap:0;
    }

    .reviews-block__comment {
        font-size: 14px;
    }
    .tab-button {
        font-size: 14px;
    }
    .info-rating__block {
        display: block;
    }
    .info-rating__block-title {
        margin: 0;
    }

    .header_menu_mobile .lk {
        gap:5px;
        font-size: 13px;
    }
    .logo img {
        height: 40px;
    }
}