﻿/*.driver-active .driver-overlay, .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 .2s ease-in-out
}

.driver-fade .driver-popover {
    animation: animate-fade-in .2s
}

.driver-popover {
    all: unset;
    box-sizing: border-box;
    color: #2d2d2d;
    margin: 0;
    padding: 15px;
    border-radius: 5px;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 1px 10px #0006;
    z-index: 1000000000;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fff
}

    .driver-popover * {
        font-family: Helvetica Neue,Inter,ui-sans-serif,"Apple Color Emoji",Helvetica,Arial,sans-serif
    }

.driver-popover-title {
    font: 19px/normal sans-serif;
    font-weight: 700;
    display: block;
    position: relative;
    line-height: 1.5;
    zoom: 1;
    margin: 0
}

.driver-popover-close-btn {
    all: unset;
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 28px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: #d2d2d2;
    z-index: 1;
    text-align: center;
    transition: color;
    transition-duration: .2s
}

    .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 {
    margin-bottom: 0;
    font: 14px/normal sans-serif;
    line-height: 1.5;
    font-weight: 400;
    zoom: 1
}

.driver-popover-footer {
    margin-top: 15px;
    text-align: right;
    zoom: 1;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.driver-popover-progress-text {
    font-size: 13px;
    font-weight: 400;
    color: #727272;
    zoom: 1
}

.driver-popover-footer button {
    all: unset;
    display: inline-block;
    box-sizing: border-box;
    padding: 3px 7px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #fff;
    background-color: #fff;
    color: #2d2d2d;
    font: 12px/normal sans-serif;
    cursor: pointer;
    outline: 0;
    zoom: 1;
    line-height: 1.3;
    border: 1px solid #ccc;
    border-radius: 3px
}

.driver-popover-footer .driver-popover-btn-disabled {
    opacity: .5;
    pointer-events: none
}

:not(body):has(>.driver-active-element) {
    overflow: hidden !important
}

.driver-no-interaction, .driver-no-interaction * {
    pointer-events: none !important
}

.driver-popover-footer button:hover, .driver-popover-footer button:focus {
    background-color: #f7f7f7
}

.driver-popover-navigation-btns {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end
}

    .driver-popover-navigation-btns button + button {
        margin-left: 4px
    }

.driver-popover-arrow {
    content: "";
    position: absolute;
    border: 5px solid #fff
}

.driver-popover-arrow-side-over {
    display: none
}

.driver-popover-arrow-side-left {
    left: 100%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-top-color: transparent
}

.driver-popover-arrow-side-right {
    right: 100%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-top-color: transparent
}

.driver-popover-arrow-side-top {
    top: 100%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent
}

.driver-popover-arrow-side-bottom {
    bottom: 100%;
    border-left-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent
}

.driver-popover-arrow-side-center {
    display: none
}

.driver-popover-arrow-side-left.driver-popover-arrow-align-start, .driver-popover-arrow-side-right.driver-popover-arrow-align-start {
    top: 15px
}

.driver-popover-arrow-side-top.driver-popover-arrow-align-start, .driver-popover-arrow-side-bottom.driver-popover-arrow-align-start {
    left: 15px
}

.driver-popover-arrow-align-end.driver-popover-arrow-side-left, .driver-popover-arrow-align-end.driver-popover-arrow-side-right {
    bottom: 15px
}

.driver-popover-arrow-side-top.driver-popover-arrow-align-end, .driver-popover-arrow-side-bottom.driver-popover-arrow-align-end {
    right: 15px
}

.driver-popover-arrow-side-left.driver-popover-arrow-align-center, .driver-popover-arrow-side-right.driver-popover-arrow-align-center {
    top: 50%;
    margin-top: -5px
}

.driver-popover-arrow-side-top.driver-popover-arrow-align-center, .driver-popover-arrow-side-bottom.driver-popover-arrow-align-center {
    left: 50%;
    margin-left: -5px
}

.driver-popover-arrow-none {
    display: none
}

.driver-popover.driverjs-theme {*/
    /*background-color: #fde047;*/
    /*color: #000;
}

    .driver-popover.driverjs-theme .driver-popover-title {
        font-size: 20px;
    }

    .driver-popover.driverjs-theme .driver-popover-title,
    .driver-popover.driverjs-theme .driver-popover-description,
    .driver-popover.driverjs-theme .driver-popover-progress-text {
        color: #000;
    }

    .driver-popover.driverjs-theme button {
        flex: 1;
        text-align: center;*/
        /*background-color: #000;*/
        /*color: #ffffff;*/
        /*color: #000;
        border: 2px solid #000;
        text-shadow: none;
        font-size: 14px;
        padding: 5px 8px;
        border-radius: 6px;
    }

        .driver-popover.driverjs-theme button:hover {
            background-color: #000;
            color: #ffffff;
        }

    .driver-popover.driverjs-theme .driver-popover-navigation-btns {
        justify-content: space-between;
        gap: 3px;
    }

    .driver-popover.driverjs-theme .driver-popover-close-btn {
        color: #9b9b9b;
    }

        .driver-popover.driverjs-theme .driver-popover-close-btn:hover {
            color: #000;
        }

    .driver-popover.driverjs-theme .driver-popover-arrow-side-left.driver-popover-arrow {
        border-left-color: #fde047;
    }

    .driver-popover.driverjs-theme .driver-popover-arrow-side-right.driver-popover-arrow {
        border-right-color: #fde047;
    }

    .driver-popover.driverjs-theme .driver-popover-arrow-side-top.driver-popover-arrow {
        border-top-color: #fde047;
    }

    .driver-popover.driverjs-theme .driver-popover-arrow-side-bottom.driver-popover-arrow {
        border-bottom-color: #fde047;
    }*/





/* === Fade + Slide Popover Animation === */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.driver-fade .driver-popover {
    animation: fadeSlideUp 0.3s ease-out;
}

/* === Base === */
.driver-popover {
    all: unset;
    position: fixed;
    z-index: 1000000000;
    box-sizing: border-box;
    padding: 20px;
    min-width: 260px;
    max-width: 360px;
    border-radius: 10px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

    /* === Numbered Step Circle === */
    .driver-popover[data-step]:before {
        content: attr(data-step);
        position: absolute;
        top: -12px;
        left: -12px;
        background: #111827;
        color: white;
        font-size: 12px;
        font-weight: bold;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

/* === Popover === */
.driver-popover-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.driver-popover-description {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: #4b5563;
}

.driver-popover-close-btn {
    all: unset;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    text-align: center;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .driver-popover-close-btn:hover {
        color: #111827;
    }

.driver-popover-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.driver-popover-navigation-btns {
    display: flex;
    gap: 8px;
}

.driver-popover-footer button {
    all: unset;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background-color: #111827;
    color: white;
    transition: background-color 0.2s ease;
}

    .driver-popover-footer button:hover {
        background-color: #374151;
    }

.driver-popover-footer .driver-popover-btn-disabled {
    background-color: #d1d5db !important;
    color: #6b7280 !important;
    cursor: not-allowed;
}

/* === Progress Bar (Optional) === */
.driver-popover-progress-bar {
    height: 6px;
    width: 100%;
    background: #e5e7eb;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.driver-popover-progress-bar-fill {
    height: 100%;
    background-color: #111827;
    transition: width 0.3s ease;
}

/* === Arrows === */
.driver-popover-arrow {
    content: "";
    position: absolute;
    border: 6px solid transparent;
}

.driver-popover-arrow-side-top {
    border-top-color: #ffffff;
}

.driver-popover-arrow-side-bottom {
    border-bottom-color: #ffffff;
}

.driver-popover-arrow-side-left {
    border-left-color: #ffffff;
}

.driver-popover-arrow-side-right {
    border-right-color: #ffffff;
}

/* === Light Theme === */
.driver-popover.driverjs-theme {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* === Dark Theme === */
.driver-popover.driverjs-theme-dark {
    background-color: #1f2937;
    color: #f3f4f6;
}

    .driver-popover.driverjs-theme-dark button {
        background-color: #f3f4f6;
        color: #111827;
    }

    .driver-popover.driverjs-theme-dark .driver-popover-arrow-side-top {
        border-top-color: #1f2937;
    }

    .driver-popover.driverjs-theme-dark .driver-popover-arrow-side-bottom {
        border-bottom-color: #1f2937;
    }

    .driver-popover.driverjs-theme-dark .driver-popover-arrow-side-left {
        border-left-color: #1f2937;
    }

    .driver-popover.driverjs-theme-dark .driver-popover-arrow-side-right {
        border-right-color: #1f2937;
    }
