/* Onboarding Popover container - Premium Dark Glassmorphism */
.onboarding-popover {
    position: absolute;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.98));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px 20px 20px 4px; /* Uniquely styled irregular round shape */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    padding: 16px;
    width: 280px;
    color: #f8fafc;
    font-family: Inter, -apple-system, sans-serif;
    transform: scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.onboarding-popover.show {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Speech bubble left tail (Arrow pointer) */
.onboarding-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.onboarding-arrow-left {
    left: -10px;
    top: 28px;
    border-width: 6px 10px 6px 0;
    border-color: transparent rgba(15, 23, 42, 0.95) transparent transparent;
}

.onboarding-title {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.onboarding-body {
    font-size: 12px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.onboarding-footer {
    display: flex;
    justify-content: flex-end;
}

.onboarding-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4.5px 12px;
    border-radius: 9999px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px -1px rgba(37, 99, 235, 0.3);
}

.onboarding-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -1px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.onboarding-btn:active {
    transform: translateY(0);
}

/* Pulsing highlight overlay for target items */
.onboarding-highlight {
    position: relative;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5) !important;
    animation: onboarding-glow 2s infinite ease-in-out;
}

@keyframes onboarding-glow {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.7);
    }
}
