/**
 * 🎨 Status Icons
 * Wiederverwendbare Icon-Components für Review-Status
 */

/* ═══════════════════════════════════════════════════════════
   BASE CONTAINER
   ═══════════════════════════════════════════════════════════ */

.status-icon-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.status-icon-container:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   ICON CONTENT
   ═══════════════════════════════════════════════════════════ */

.status-icon {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* ═══════════════════════════════════════════════════════════
   PENDING (Sanduhr) - Gelb/Orange
   ═══════════════════════════════════════════════════════════ */

.status-icon-container.pending {
    border-color: rgba(255, 204, 0, 0.5);
    background: rgba(255, 204, 0, 0.1);
}

.status-icon-container.pending:hover {
    border-color: rgba(255, 204, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

.status-icon-container.pending .status-icon {
    font-size: 20px;  /* ← GEÄNDERT: Von 24px auf 20px (≈15% kleiner) */
    animation: pulse-pending 2s infinite ease-in-out;
}

@keyframes pulse-pending {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ═══════════════════════════════════════════════════════════
   REVIEWED (Auge) - Grün
   ═══════════════════════════════════════════════════════════ */

.status-icon-container.reviewed {
    border-color: rgba(0, 255, 0, 0.6);
    background: rgba(0, 255, 0, 0.1);
}

.status-icon-container.reviewed:hover {
    border-color: rgba(0, 255, 0, 1);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
}

.status-icon-container.reviewed .status-icon {
    color: #00ff00;
    animation: blink-eye 4s infinite ease-in-out;
}

@keyframes blink-eye {
    0%, 45%, 55%, 100% { 
        transform: scaleY(1);
    }
    50% { 
        transform: scaleY(0.1);  /* Auge schließt sich */
    }
}

/* Optional: Langsames Pulsieren (Fallback) */
@keyframes pulse-reviewed {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ═══════════════════════════════════════════════════════════
   REJECTED (Hand) - Rot
   ═══════════════════════════════════════════════════════════ */

.status-icon-container.rejected {
    border-color: rgba(255, 68, 68, 0.6);
    background: rgba(255, 68, 68, 0.1);
}

.status-icon-container.rejected:hover {
    border-color: rgba(255, 68, 68, 1);
    box-shadow: 0 0 25px rgba(255, 68, 68, 0.5);
}

.status-icon-container.rejected .status-icon {
    color: #ff4444;
    animation: shake-rejected 0.5s infinite;
}

@keyframes shake-rejected {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* ═══════════════════════════════════════════════════════════
   APPROVED (Haken) - Türkis (Später)
   ═══════════════════════════════════════════════════════════ */

.status-icon-container.approved {
    border-color: rgba(0, 255, 204, 0.6);
    background: rgba(0, 255, 204, 0.1);
}

.status-icon-container.approved:hover {
    border-color: rgba(0, 255, 204, 1);
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.5);
}

.status-icon-container.approved .status-icon {
    color: var(--trenner-titel-color, #00ffcc);
}

/* ═══════════════════════════════════════════════════════════
   MILITARY ARROW - Navigation/Weiterblättern
   ═══════════════════════════════════════════════════════════ */

.status-icon-container.military-arrow {
    border-color: rgba(0, 255, 204, 0.4);
    background: rgba(0, 20, 30, 0.3);
    cursor: pointer;
}

.status-icon-container.military-arrow:hover {
    border-color: rgba(0, 255, 204, 0.9);
    background: rgba(0, 255, 204, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.5);
}

.military-arrow-svg {
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-icon-container.military-arrow:hover .military-arrow-svg {
    transform: scale(1.15) !important;
}

/* Rotation-Support bleibt erhalten durch inline-style */

/* ═══════════════════════════════════════════════════════════
   TOOLTIP (Optional)
   ═══════════════════════════════════════════════════════════ */

.status-icon-container[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.status-icon-container:hover[data-tooltip]::after {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .status-icon-container {
        width: 40px;
        height: 40px;
    }
    
    .status-icon {
        font-size: 20px;
    }
}