/* Team Hub guided tutorial */

.teamhub-tutorial-help-btn {
    border-color: rgba(96, 165, 250, 0.42);
    background: rgba(59, 130, 246, 0.12);
    color: var(--text-main);
    font-weight: 800;
}

.teamhub-tutorial-help-btn:hover {
    border-color: rgba(96, 165, 250, 0.72);
    background: rgba(59, 130, 246, 0.2);
}

.teamhub-tutorial-layer {
    position: fixed;
    inset: 0;
    z-index: 12000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.teamhub-tutorial-layer.is-active {
    opacity: 1;
}

.teamhub-tutorial-layer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.3);
}

.teamhub-tutorial-spotlight {
    position: fixed;
    border: 2px solid rgba(96, 165, 250, 0.95);
    border-radius: 16px;
    box-shadow:
        0 0 0 9999px rgba(2, 6, 23, 0.5),
        0 0 28px rgba(96, 165, 250, 0.34);
    transition: left 0.18s ease, top 0.18s ease, width 0.18s ease, height 0.18s ease;
}

.teamhub-tutorial-panel {
    position: fixed;
    pointer-events: auto;
    padding: 18px;
    border: 1px solid rgba(96, 165, 250, 0.34);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), transparent 42%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96));
    color: #f8fafc;
    box-shadow: 0 24px 56px rgba(2, 6, 23, 0.42);
}

.teamhub-tutorial-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.16);
    color: #bfdbfe;
    font-size: 0.72rem;
    font-weight: 900;
}

.teamhub-tutorial-panel h2 {
    margin: 12px 0 8px;
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.teamhub-tutorial-panel p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.58;
}

.teamhub-tutorial-progress {
    margin-top: 14px;
    color: #93c5fd;
    font-size: 0.78rem;
    font-weight: 800;
}

.teamhub-tutorial-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.teamhub-tutorial-btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.teamhub-tutorial-btn:disabled {
    opacity: 0.46;
    cursor: not-allowed;
}

.teamhub-tutorial-btn--primary {
    border-color: rgba(37, 99, 235, 0.42);
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
}

.teamhub-tutorial-btn--secondary {
    border-color: rgba(20, 184, 166, 0.42);
    background: rgba(15, 118, 110, 0.34);
    color: #ccfbf1;
}

.teamhub-tutorial-btn--ghost:hover,
.teamhub-tutorial-btn--secondary:hover,
.teamhub-tutorial-btn--primary:hover {
    filter: brightness(1.08);
}

@media (max-width: 720px) {
    .teamhub-tutorial-panel {
        left: 12px !important;
        right: 12px;
        width: auto !important;
    }

    .teamhub-tutorial-help-btn {
        min-width: 42px;
        padding: 0 10px;
    }
}
