/* units_controls.css - UI Buttons for Unit Upgrades and Management in the Info Panel */

/* Promo Buttons (Job Change / Upgrades) */
.info-promo-btn {
    width: 22px; 
    height: 22px; 
    font-size: 11px !important;
    border: 1.5px solid #fff !important; 
    border-radius: 4px; 
    cursor: pointer; 
    background: #222;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 2px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-promo-btn:hover { 
    transform: scale(1.1); 
    box-shadow: 0 0 10px #fff; 
    background: #333; 
    border-color: #00e5ff !important;
}

/* Sacrifice / Demolish Button */
.info-sacrifice-btn {
    background: linear-gradient(135deg, #400, #000);
    color: #ff1744;
    border: 1px solid #ff1744;
    border-radius: 3px;
    padding: 2px 6px;
    font-family: 'Cinzel', serif;
    font-size: 8px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}

.info-sacrifice-btn:hover {
    background: #ff1744;
    color: #fff;
    box-shadow: 0 0 15px #ff1744;
    transform: scale(1.05);
}

.info-sacrifice-btn.shrine-demo {
    background: linear-gradient(135deg, #002a32, #000);
    color: #00e5ff;
    border-color: #00e5ff;
}

@keyframes dangerFlicker {
    0% { opacity: 0.8; box-shadow: 0 0 5px #f00; }
    50% { opacity: 1; box-shadow: 0 0 15px #f00; }
    100% { opacity: 0.8; box-shadow: 0 0 5px #f00; }
}
