/* Onboarding Tour Style System */

/* Backdrop Overlay Mask */
.onboarding-tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(1px);
    z-index: 1080;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Cutout target highlighter */
.onboarding-tour-highlight {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.7);
    z-index: 1085;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid var(--bs-primary);
}

/* Floating Tooltip Container */
.onboarding-tour-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 380px;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 1090;
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}

.onboarding-tour-tooltip.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Tooltip Title & Description */
.onboarding-tour-tooltip h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.onboarding-tour-tooltip p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 1.25rem;
}

/* Tooltip Footer Actions */
.onboarding-tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

/* Step Progress Indicator */
.onboarding-tour-steps {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.onboarding-tour-buttons {
    display: flex;
    gap: 0.25rem;
}

.onboarding-tour-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.onboarding-tour-btn-next {
    background-color: var(--bs-primary);
    color: white;
}

.onboarding-tour-btn-next:hover {
    background-color: var(--bs-primary-dark, #4f46e5);
    transform: translateY(-1px);
}

.onboarding-tour-btn-prev {
    background-color: #f1f5f9;
    color: #475569;
}

.onboarding-tour-btn-prev:hover {
    background-color: #e2e8f0;
}

.onboarding-tour-btn-skip {
    background: transparent;
    color: #94a3b8;
    text-decoration: underline;
}

.onboarding-tour-btn-skip:hover {
    color: #64748b;
}

/* Position indicator arrow */
.onboarding-tour-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 1091;
}
