/* Flying Fly Component - Self-contained CSS */

#fly-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.flying-fly {
    position: absolute;
    pointer-events: auto;
    user-select: none;
    image-rendering: auto;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

/* Debug states - color highlights */
.flying-fly.state-flying {
    filter: drop-shadow(0 0 8px rgba(0, 150, 255, 0.8)) drop-shadow(0 0 4px rgba(0, 150, 255, 0.6));
    box-shadow: 0 0 12px rgba(0, 150, 255, 0.5);
}

.flying-fly.state-landing {
    filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.8)) drop-shadow(0 0 4px rgba(255, 165, 0, 0.6));
    box-shadow: 0 0 12px rgba(255, 165, 0, 0.5);
}

.flying-fly.state-landed {
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.8)) drop-shadow(0 0 4px rgba(255, 0, 0, 0.6));
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
}

.flying-fly.state-fleeing {
    filter: drop-shadow(0 0 8px rgba(255, 0, 255, 0.8)) drop-shadow(0 0 4px rgba(255, 0, 255, 0.6));
    box-shadow: 0 0 12px rgba(255, 0, 255, 0.5);
}

/* Landing target indicator */
.fly-landing-target {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 165, 0, 0.8);
    border-radius: 50%;
    background: rgba(255, 165, 0, 0.2);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
    transition: opacity 0.2s ease;
}

.fly-landing-target.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Banish button */
.fly-banish-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    background: rgba(200, 50, 50, 0.9);
    color: white;
    border: 2px solid rgba(150, 30, 30, 0.9);
    border-radius: 8px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    z-index: 10000;
    pointer-events: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    user-select: none;
}

.fly-banish-button:hover {
    background: rgba(220, 60, 60, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.fly-banish-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fly-banish-button.banished {
    background: rgba(100, 150, 100, 0.9);
    border-color: rgba(80, 120, 80, 0.9);
}

.fly-banish-button.banished:hover {
    background: rgba(120, 170, 120, 1);
}
