﻿.coach-bubble {
    position: absolute;
    max-width: 280px;
    background: rgba(0, 0, 0, 0.88);
    border: 2px solid #00ff7f;
    border-radius: 14px;
    padding: 16px 18px 14px;
    z-index: 999999;
    box-shadow: 0 0 12px rgba(0, 255, 127, 0.85), inset 0 0 8px rgba(0, 255, 127, 0.55);
    animation: coachGlowPulse 2s infinite;
}

.coach-content {
    color: #00ff7f;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    font-size: 14px;
}

/* Close button */
.coach-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #00ff7f;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    text-shadow: 0 0 10px rgba(0,255,127,.6);
}

    .coach-close:hover {
        transform: scale(1.08);
    }

/* Arrow (pointing UP toward the button above it) */
.coach-arrow {
    position: absolute;
    width: 0;
    height: 0;
    top: -12px; /* arrow sits on top of bubble */
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 12px solid #00ff7f;
}

.hidden {
    display: none !important;
}

@keyframes coachGlowPulse {
    0% {
        box-shadow: 0 0 8px rgba(0,255,127,.6), inset 0 0 6px rgba(0,255,127,.35);
    }

    50% {
        box-shadow: 0 0 16px rgba(0,255,127,1), inset 0 0 10px rgba(0,255,127,.6);
    }

    100% {
        box-shadow: 0 0 8px rgba(0,255,127,.6), inset 0 0 6px rgba(0,255,127,.35);
    }
}
