/* Operation Timer Styles */
.operation-timer-container {
    margin: 1rem 0;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.operation-timer {
    background: rgba(75, 85, 99, 0.3);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

/* Background colors for different statuses */
.operation-timer.bg-blue-500\/20 {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.operation-timer.bg-yellow-500\/20 {
    background: rgba(234, 179, 8, 0.2);
    border-color: rgba(234, 179, 8, 0.3);
}

.operation-timer.bg-green-500\/20 {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
}

.operation-timer.bg-red-500\/20 {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Search animation */
@keyframes search-sweep {
    0% {
        transform: translateX(-4px) rotate(-10deg);
    }
    50% {
        transform: translateX(4px) rotate(10deg);
    }
    100% {
        transform: translateX(-4px) rotate(-10deg);
    }
}

.animate-search-sweep {
    animation: search-sweep 1.8s ease-in-out infinite;
    transform-origin: center;
}

/* Pulse animation for bullseye */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

/* Text colors */
.text-blue-400 {
    color: #60a5fa;
}

.text-yellow-400 {
    color: #facc15;
}

.text-green-400 {
    color: #4ade80;
}

.text-red-400 {
    color: #f87171;
}

.text-green-300 {
    color: #86efac;
}

.text-red-300 {
    color: #fca5a5;
}

.text-purple-300 {
    color: #c4b5fd;
}

.operation-timer.celebration {
    animation: celebrationPulse 1s ease-in-out;
}

@keyframes celebrationPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.timer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.timer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timer-icon {
    font-size: 1.2rem;
}

.timer-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.timer-time {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: bold;
}

.operation-info {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.operation-info.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.info-label {
    color: rgba(156, 163, 175, 1);
}

.info-value {
    font-weight: 600;
    color: white;
}

.direction-call {
    color: #10b981 !important;
}

.direction-put {
    color: #ef4444 !important;
}

.progress-container {
    margin-top: 0.75rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(156, 163, 175, 1);
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(75, 85, 99, 1);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.progress-bar-fill.bg-green-500 {
    background: #10b981;
}

.progress-bar-fill.bg-red-500 {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.progress-text {
    font-weight: 600;
}

.pulse-indicators {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.pulse-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.pulse-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.timer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.celebration-icon {
    font-size: 2rem;
}

/* Responsive */
@media (max-width: 640px) {
    .operation-info.info-grid {
        display: block;
    }
    .operation-timer {
        padding: 0.75rem;
    }
    
    .timer-text {
        font-size: 0.8rem;
    }
    
    .timer-time {
        font-size: 0.9rem;
    }
    
    .info-row {
        font-size: 0.75rem;
    }
}


