/* Overlay "Vogelschlag markieren" (static/js/annotate.js) */
.annotation-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    flex-direction: column;
}
.annotation-overlay.visible {
    display: flex;
}
.annotation-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.annotation-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(0.6rem + env(safe-area-inset-top, 0px)) 1rem 0.6rem;
    background: #1a1a1a;
    color: white;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.annotation-title {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}
.annotation-tools {
    display: flex;
    gap: 0.5rem;
}
.annotation-tool-btn {
    background: rgba(255,255,255,0.12);
    border: 2px solid transparent;
    color: white;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}
.annotation-tool-btn.active {
    border-color: var(--nabu-orange, #ef7c00);
    background: rgba(239, 124, 0, 0.25);
}
.annotation-tool-btn:hover {
    background: rgba(255,255,255,0.2);
}
.annotation-actions {
    display: flex;
    gap: 0.5rem;
}
.annotation-actions .button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
.annotation-actions .button[disabled] {
    opacity: 0.6;
    cursor: progress;
}
.annotation-hint {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    padding: 0.4rem;
    background: rgba(0,0,0,0.4);
    flex-shrink: 0;
}
.annotation-canvas-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    touch-action: none;
}
.annotation-canvas-wrapper canvas {
    max-width: 100%;
    max-height: 100%;
    cursor: crosshair;
    touch-action: none;
}
@media (max-width: 600px) {
    .annotation-toolbar {
        padding: 0.5rem;
        gap: 0.4rem;
    }
    .annotation-title {
        font-size: 0.85rem;
    }
    .annotation-actions .button {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }
}
