/* Controls and Buttons Styles */

/* Bottom Controls */
.bottom-controls {
    grid-area: bottom-controls;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 20px;
    min-height: 28px;
    position: sticky;
    bottom: 0;
    z-index: 1000;
}

/* Nav buttons in bottom controls - ensure vertical centering */
.bottom-controls .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🔔 כפתור "בהרצה/בטא" (מחליף את כפתור המעבד הקלאסי) — אזהרה ענבר + הפניה למשוב */
.bottom-controls .nav-btn-beta {
    color: #b45309;
}
.bottom-controls .nav-btn-beta:hover {
    background: rgba(245, 158, 11, 0.15);
    color: #92400e;
}

.control-group {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 100%;
    transform: translateY(-3px);
}

/* Left side control group */
.control-group-left {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 100%;
    transform: translateY(-3px);
}

.control-btn {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Galil', sans-serif;
    letter-spacing: normal;
    font-size: 0.85rem;
    color: #374151;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.1), transparent);
    transition: left 0.5s ease;
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:hover {
    background: #f8fafc;
    border-color: #1e3a5f;
    color: #1e3a5f;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.15);
}

.control-btn:active {
    transform: translateY(0);
}

.control-btn.primary {
    background: #1e3a5f;
    border-color: #1e3a5f;
    color: white;
}

.control-btn.primary:hover {
    background: #2563eb;
}

/* Stop Action Button */
.stop-action-btn {
    position: fixed;
    top: 140px;
    left: 20px;
    width: 45px;
    height: 45px;
    border-radius: 22.5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    z-index: 998;
    display: none; /* מוסתר כברירת מחדל */
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
    animation: pulseRed 2s infinite;
}

.stop-action-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
}

/* 🚫 DISABLED: הכפתור הצף בוטל - משתמשים רק באינדיקטור המינימליסטי בתוך הפאנל */
.stop-action-btn.show {
    display: none !important;
}

@keyframes pulseRed {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.7);
    }
}

/* AI Disclaimer Notice */
.ai-disclaimer-notice {
    color: #6b7280;
    font-size: 0.75rem;
    font-family: 'Galil', sans-serif;
    letter-spacing: normal;
    white-space: nowrap;
    pointer-events: none;
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}