.access-guide-dialog[hidden] {
    display: none;
}

.access-guide-dialog {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.access-guide-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(1, 131, 143, .22), transparent 44%), rgba(7, 16, 24, .66);
    backdrop-filter: blur(10px) saturate(120%);
    animation: access-guide-fade 180ms ease-out;
}

.access-guide-panel {
    position: relative;
    width: min(560px, 100%);
    max-height: min(640px, calc(100vh - 2rem));
    overflow: auto;
    color: var(--bs-body-color);
    background: color-mix(in srgb, var(--bs-body-bg) 95%, transparent);
    border: 1px solid color-mix(in srgb, #32d7df 28%, var(--bs-border-color));
    border-radius: 22px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 255, 255, .05) inset;
    isolation: isolate;
    animation: access-guide-panel-in 340ms cubic-bezier(.16, 1, .3, 1);
}

.access-guide-glow {
    position: absolute;
    z-index: -1;
    top: -8rem;
    left: 15%;
    width: 70%;
    height: 14rem;
    border-radius: 50%;
    background: rgba(37, 211, 220, .2);
    filter: blur(58px);
    pointer-events: none;
}

.access-guide-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1rem;
}

.access-guide-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -.02em;
}

.access-guide-header p {
    margin: .2rem 0 0;
    color: var(--bs-secondary-color);
    font-size: .86rem;
}

.access-guide-orb {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
    color: #efffff;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 14px;
    background: linear-gradient(145deg, #13a9b5, #075b68);
    box-shadow: 0 8px 24px rgba(1, 131, 143, .35), 0 0 20px rgba(61, 225, 231, .18) inset;
}

.access-guide-close {
    width: 2.25rem;
    height: 2.25rem;
    margin-left: auto;
    color: var(--bs-secondary-color);
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.access-guide-close:hover {
    color: var(--bs-body-color);
    background: var(--bs-secondary-bg);
    transform: rotate(4deg);
}

.access-guide-content {
    padding: 0 1.5rem 1.5rem;
}

.access-guide-choice {
    display: grid;
    grid-template-columns: 2.35rem 1fr auto;
    align-items: center;
    gap: .8rem;
    width: 100%;
    margin-top: .6rem;
    padding: .82rem;
    color: var(--bs-body-color);
    text-align: left;
    border: 1px solid var(--bs-border-color);
    border-radius: 14px;
    background: color-mix(in srgb, var(--bs-body-bg) 94%, transparent);
    transition: border-color 170ms ease, background 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.access-guide-choice:hover,
.access-guide-choice:focus-visible {
    border-color: rgba(1, 131, 143, .5);
    background: color-mix(in srgb, var(--bs-body-bg) 92%, #19bec8 8%);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.access-guide-choice-icon {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    color: #078b95;
    border-radius: 11px;
    background: rgba(1, 131, 143, .1);
}

.access-guide-choice small {
    display: block;
    margin-top: .15rem;
    color: var(--bs-secondary-color);
    font-size: .75rem;
}

.access-guide-fallback {
    padding: 1rem;
    color: var(--bs-secondary-color);
    border: 1px solid rgba(1, 131, 143, .24);
    border-radius: 14px;
    background: rgba(1, 131, 143, .07);
    line-height: 1.55;
}

.access-guide-actions {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    margin-top: 1rem;
}

.driver-popover.access-guide-tour {
    min-width: min(340px, calc(100vw - 2rem));
    padding: 1.15rem;
    color: var(--bs-body-color);
    border: 1px solid rgba(39, 206, 214, .3);
    border-radius: 17px;
    background: color-mix(in srgb, var(--bs-body-bg) 97%, transparent);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25), 0 0 32px rgba(1, 131, 143, .08);
    animation: access-guide-popover-in 280ms cubic-bezier(.16, 1, .3, 1);
}

.access-guide-tour .driver-popover-title {
    color: var(--bs-body-color);
    font-size: 1rem;
}

.access-guide-tour .driver-popover-description,
.access-guide-tour .driver-popover-progress-text {
    color: var(--bs-secondary-color);
}

.access-guide-tour .driver-popover-next-btn,
.access-guide-tour .driver-popover-prev-btn {
    padding: .45rem .8rem;
    border: 0;
    border-radius: 9px;
    text-shadow: none;
}

.access-guide-tour .driver-popover-next-btn {
    color: #fff;
    background: linear-gradient(135deg, #11a9b4, #01717c);
}

.driver-active-element {
    transition: box-shadow 300ms ease, border-radius 300ms ease;
}

@keyframes access-guide-fade {
    from { opacity: 0; }
}

@keyframes access-guide-panel-in {
    from { opacity: 0; transform: translateY(-14px) scale(.97); }
}

@keyframes access-guide-popover-in {
    from { opacity: 0; transform: translateY(7px) scale(.98); }
}

@media (max-width: 575.98px) {
    .access-guide-dialog {
        align-items: end;
        padding: 0;
    }

    .access-guide-panel {
        width: 100%;
        max-height: 82vh;
        border-radius: 22px 22px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .access-guide-dialog *,
    .driver-popover.access-guide-tour,
    .driver-active-element {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
