html {
    height: 100vh;
    overflow: auto;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.font-bold {
    font-weight: bold;
}

.grecaptcha-badge {
    visibility: hidden;
}

.font-ts {
    text-shadow: -0 -1px 0 #000000, 0 -1px 0 #000000, -0 1px 0 #000000, 0 1px 0 #000000, -1px -0 0 #000000, 1px -0 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
}

.red {
    color: red;
}

.error-nd{
    border: 4px red solid;
}

.fullsize-item {
    font-size: 24px;
    cursor: pointer;
    color: #007bff;
}

.border-table-r{
    border-right: 1px lightgray solid !important;
}

.border-table-l{
    border-left: 1px lightgray solid;
}

.sale-footer-parent{
    transition: transform 200ms ease-in-out;
}

.sale-footer{
    z-index: 9999 !important;
    position: relative;
    background-color: white;
    height: 80px;
    box-shadow: 0 0.125rem 9.375rem rgba(90, 97, 105, 0.1), 0 0.25rem 0.5rem rgba(90, 97, 105, 0.12), 0 0.9375rem 1.375rem rgba(90, 97, 105, 0.1), 0 0.4375rem 2.1875rem rgba(165, 182, 201, 0.1);
}


.calendar-fullscreen {
    /* position: absolute;
    top: 0;
    left: 0; */
}

.fullsize-item:hover {
    transform: scale(1.3);
    color: #9ebad4;
}

.tooltip-modal {
    text-decoration: none;
    position: relative;
}

.tooltip-modal span {
    display: none;
}

.tooltip-modal-body {
    display: none;
    /* background-color: #c5b9b9;
    border-radius: 5px; */
    z-index: 1000;
    color: darkslategray;
    /* max-width: 150px; */
    /* min-width: 10%; */
}

.tooltip-modal:hover .tooltip-modal-body {
    display: inline;
    position: absolute;
    overflow: hidden;
}

.scroll-modal {
    max-height: 150px;
    overflow-y: auto;
}

.body-scroll-modal {
    border: 1px #e2e2e2 solid;
    background-color: #ebebeb;
}

.line-scroll {
    border: 1px #e2e2e2 solid;
}

.profile-img {
    border-radius: 100%;
}

.pagination ul {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.pagination li {
    display: inline;
}

.pagination li a {
    color: darkgray;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
}

body .modal-profile-95 {
    /* Width */
    max-width: 95%;
    width: auto !important;
    z-index: 999;
}

body .modal-profile-80 {
    /* Width */
    max-width: 80%;
    width: auto !important;
    z-index: 999;
}


/*-------------------------------------*/

body .modal-profile-60 {
    max-width: 60%;
    width: auto !important;
    z-index: 999;
}

.mobile-hide {
    display: inherit;
}

@media (max-width: 990px) {
    .btn-group {
        display: block !important;
        width: auto !important;
    }
    body .modal-profile-60 {
        max-width: 85%;
        width: auto !important;
    }
}

@media (min-width: 768px) {
    body .modal-profile-60 {
        max-width: 90%;
        width: auto !important;
    }
    .mobile-hide {
        display: none;
    }
}

@media (min-width: 992px) {
    body .modal-profile-60 {
        max-width: 85%;
        width: auto !important;
    }
}

@media (min-width: 1350px) {
    body .modal-profile-60 {
        max-width: 70%;
        width: auto !important;
    }
}

@media (max-width: 768px) {
    body .modal-profile-80 {
        /* Width */
        max-width: 100%;
    }
}


/*-------------------------------------*/

body .modal-profile-40 {
    /* Width */
    max-width: 40%;
    width: auto !important;
    z-index: 999;
}

.bg-table-label-dark {
    background-color: #c5b9b9;
}

.bg-table-dark {
    background-color: #dfd1d1;
}

.qr-logo-pr {
    height: 25px;
    margin-left: 20px;
}

@media (min-width: 768px) {
    .qr-logo-pr {
        height: 25px;
        margin-left: 20px;
    }
}

@media (min-width: 992px) {
    .qr-logo-pr {
        height: 20px;
        margin-left: 20px;
    }
}

@media (min-width: 1200px) {
    .qr-logo-pr {
        height: 25px;
        margin-left: 20px;
    }
}

.company-name {
    display: inline;
    color: #3e5170;
}

@media (max-width: 580px) {
    .company-name {
        display: none !important;
    }
}

.bg-nav-company {
    /*background-color: #f1e3e3;*/
}

.bg-aside-company {
    /*background-color: #212529;*/
}

.tag {
    background-color: #26639c;
    color: white;
    border-radius: 4px 4px;
    /*box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);*/
    padding: 3px;
    font-family: 'Open Sans Condensed', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    margin-right: 3px;
    margin-top: 3px;
    display: inline-block;
}

.tag a {
    color: lightskyblue;
}

.my-card {
    background-color: #f7f7f7;
    border: 1px solid #f3eeee;
    border-radius: 5px 5px;
}

.my-card-header {
    background-color: #e0dae8;
    border: 1px solid #ccc5d6;
    border-radius: 5px 5px;
}

.tb-cutom {
    /* border:1px solid #cecece; */
}

.tb-cutom td {
    width: 14.2%;
    height: 35px;
}

.tbh {
    height: 40px;
}

.label-table-service {
    text-align: center;
    width: 10%;
}

.tag-enter {
    background-color: limegreen;
    color: white;
    border-radius: 4px 4px;
    padding-left: 6px;
    padding-right: 6px;
    font-family: 'Open Sans Condensed', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    margin-right: 3px;
    margin-top: 3px;
    display: inline-block;
}

.tag-exit {
    background-color: mediumvioletred;
    color: white;
    border-radius: 4px 4px;
    padding-left: 6px;
    padding-right: 6px;
    font-family: 'Open Sans Condensed', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    margin-right: 3px;
    margin-top: 3px;
    display: inline-block;
}

.table-click {
    cursor: pointer;
}

.table-click:hover {
    background-color: #c9fafc;
}

.grow:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-transition: all 0.3s ease;
    ;
    -moz-transition: all 0.3s ease;
    ;
    -o-transition: all 0.3s ease;
    ;
    transition: all 0.3s ease;
}

.post-label-img {
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.post-content-container {
    margin-top: -80px;
    padding: 15px;
}

.post-content {
    background-color: #f5f6f8;
    border-radius: 10px;
}

.faq-menu {
    height: 100px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid lightgray;
}

.faq-menu:hover {
    background-color: #FEE;
    cursor: pointer;
}

.faq-find-label {
    background-color: #4f575f;
}

.t-mute {
    color: cadetblue;
}

.link-faq {
    font-size: 18px;
}


/* SCROLLBAR width */

::-webkit-scrollbar {
    width: 7px;
}


/* Track */

 ::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

 ::-webkit-scrollbar-thumb {
    background: #ccc;
}


/* Handle on hover */

 ::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.mouse-pointer {
    background-color: #ecebeb;
}

.mouse-pointer:hover {
    cursor: pointer;
    background-color: #d6d5d5;
}

.rate {
    cursor: pointer;
    width: 40px;
}

.rate:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.body-img {
    background: #076585;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #fff, #076585);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #fff, #076585);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.card-payment {
    height: 100px;
    width: 200px;
    background-color: #efefef;
    border-radius: 5px;
    border: 1px solid gainsboro;
}

.center-card {
    margin: 0;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 46px;
    color: cadetblue;
}

.loader-screen {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #ffffffd4;
}

.loader-anim {
    margin: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal {
    /* background: #0000009e; */
}


/* TELEGRAM */

.btn-bottom {
    position: fixed;
    bottom: 0px;
    z-index: 999;
}

.badge-new {
    background-color: #d4edda;
    color: #155724;
}
.badge-prorated {
    background-color: #fff3cd;
    color: #856404;
}
.branch-price-amount {
    font-size: 1.25rem;
    font-weight: 700;
}
.breakdown-total {
    border-top: 2px solid #dee2e6;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
}
.custom-switch-lg .custom-control-label::before {
    height: 1.5rem;
    width: 3rem;
    border-radius: 3rem;
}
.custom-switch-lg .custom-control-label::after {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
}
.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(1.5rem);
}

.card-body .bg-light-gray{
    background-color: #f0f0f0 !important;
}

.card.border-dashed:hover {
    border-color: #007bff !important;
    background-color: #f8f9fa;
}
.card.border-dashed:hover .text-muted {
    color: #007bff !important;
}


/* Базовый стиль карточки тарифа */
.tariff-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Эффект при наведении */
.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.tariff-card:hover .card-header {
    background-color: #495057 !important;
}

/* Активная (текущая) карточка */
.tariff-card.active {
    border: 3px solid #28a745 !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.tariff-card.active .card-header {
    background-color: #28a745 !important;
}

/* Бейдж "Текущий тариф" */
.tariff-card.active::before {
    content: "✓ Активный";
    position: absolute;
    top: -10px;
    right: 10px;
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

/* Эффект при наведении на активную карточку */
.tariff-card.active:hover {
    transform: translateY(-3px);
    border-color: #218838 !important;
}

/* Затемнение карточки при недоступности (премиум без цены) */
.tariff-card.premium-contact {
    opacity: 0.9;
}

.tariff-card.premium-contact:hover {
    opacity: 1;
    border-color: #17a2b8 !important;
}

.tariff-card.premium-contact:hover .card-header {
    background-color: #17a2b8 !important;
}

/* Анимация для карточки при клике */
.tariff-card:active {
    transform: scale(0.98);
}

/* Подсветка рекомендуемого тарифа */
.tariff-card.recommended {
    border: 2px solid #ffc107 !important;
}

.tariff-card.recommended::after {
    content: "⭐ Рекомендуем";
    position: absolute;
    top: -10px;
    left: 10px;
    background: #ffc107;
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
}

/* Мягкая тень для всех карточек */
.tariff-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}