.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}

/*
 * Тема подсказок тура (driver.js) по макету Figma «Базис-dev» (node 1239-40846).
 * Подключается после driverjs.css на страницах с туром.
 */

.driver-popover.basis-tour {
    background-color: #f3f2f7;
    border-radius: 12px;
    padding: 25px 30px;
    min-width: 280px;
    max-width: 340px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-family: "Montserrat", sans-serif;
    color: #2e2e2e;
}

/* Стрелка попапа — под цвет фона */
.driver-popover.basis-tour .driver-popover-arrow {
    border-color: #f3f2f7;
}
.driver-popover.basis-tour .driver-popover-arrow-side-left {
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-right-color: transparent;
}
.driver-popover.basis-tour .driver-popover-arrow-side-right {
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
}
.driver-popover.basis-tour .driver-popover-arrow-side-top {
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
}
.driver-popover.basis-tour .driver-popover-arrow-side-bottom {
    border-top-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
}

/* Заголовок не используется — акценты задаются в тексте через <b> */
.driver-popover.basis-tour .driver-popover-title {
    display: none !important;
}

/* Текст подсказки */
.driver-popover.basis-tour .driver-popover-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #2e2e2e;
    word-break: break-word;
}

/* Зелёный жирный акцент внутри текста */
.driver-popover.basis-tour .driver-popover-description b,
.driver-popover.basis-tour .driver-popover-description strong {
    font-weight: 700;
}
.driver-popover.basis-tour .driver-popover-description .tour-accent {
    color: #399918;
    font-weight: 700;
}

/* Крестик закрытия */
.driver-popover.basis-tour .driver-popover-close-btn {
    top: 12px;
    right: 12px;
    color: #9e9e9e;
}
.driver-popover.basis-tour .driver-popover-close-btn:hover,
.driver-popover.basis-tour .driver-popover-close-btn:focus {
    color: #2e2e2e;
}

/* Футер: без прогресса, кнопка «ОК» слева, как в макете */
.driver-popover.basis-tour .driver-popover-footer {
    margin-top: 20px;
}
.driver-popover.basis-tour .driver-popover-progress-text {
    display: none !important;
}
.driver-popover.basis-tour .driver-popover-navigation-btns {
    justify-content: flex-start;
}

/* Кнопки навигации — зелёная кнопка по макету */
.driver-popover.basis-tour .driver-popover-footer-btn {
    background-color: #399918;
    color: #fff;
    border: none;
    border-radius: 15px;
    min-width: 120px;
    height: 60px;
    padding: 0 35px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    box-shadow: 0 5px 15px rgba(57, 153, 24, 0.4);
    transition: background-color 0.2s ease;
}
.driver-popover.basis-tour .driver-popover-footer-btn:hover,
.driver-popover.basis-tour .driver-popover-footer-btn:focus {
    background-color: #2f7f14;
    color: #fff;
}

/* Кнопка «Назад» (если включена) — вторичный вид */
.driver-popover.basis-tour .driver-popover-prev-btn {
    background-color: transparent;
    color: #399918;
    box-shadow: none;
    border: 1px solid #399918;
}
.driver-popover.basis-tour .driver-popover-prev-btn:hover,
.driver-popover.basis-tour .driver-popover-prev-btn:focus {
    background-color: rgba(57, 153, 24, 0.08);
    color: #399918;
}

.driver-popover.basis-tour .driver-popover-navigation-btns button + button {
    margin-left: 10px;
}

.driver-active .tour-raised {
    position: relative;
    z-index: 10001; /* выше .driver-overlay (z-index: 10000) */
    border-radius: 10px;
    /*box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15);*/
}
.driver-active .tour-raised,
.driver-active .tour-raised * {
    pointer-events: auto;
}

