/* Market Button Styles - Improved styling for market buttons */

/* Cancel Sale Button (Orange) */
.market-cancel-button,
.btn-cancel {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(230, 126, 34, 0.3) !important;
}

.market-cancel-button:hover,
.btn-cancel:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 8px rgba(230, 126, 34, 0.5) !important;
    background: linear-gradient(135deg, #f39c12, #e67e22) !important;
}

/* Sell Button (Green) */
.simple-market-button,
.btn-buy {
    background: linear-gradient(135deg, #27ae60, #229954) !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(39, 174, 96, 0.3) !important;
}

.simple-market-button:hover,
.btn-buy:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.5) !important;
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
}

/* Fusion Button States */
#fusionBtn {
    transition: all 0.3s ease !important;
}

#fusionBtn:disabled {
    background-color: #95a5a6 !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

#fusionBtn:not(:disabled) {
    background: linear-gradient(135deg, #27ae60, #229954) !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

#fusionBtn:not(:disabled):hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3) !important;
}

/* Fusion Modal Confirm Button */
#fusionModal .btn-secondary {
    transition: all 0.3s ease !important;
    border: none !important;
    font-weight: bold !important;
}

#fusionModal .btn-secondary:disabled {
    background-color: #95a5a6 !important;
    color: #7f8c8d !important;
    cursor: not-allowed !important;
    transform: none !important;
}

#fusionModal .btn-secondary:not(:disabled) {
    background: linear-gradient(135deg, #27ae60, #229954) !important;
    color: white !important;
    cursor: pointer !important;
}

#fusionModal .btn-secondary:not(:disabled):hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3) !important;
}

/* Market Player Cards */
.market-player-card {
    transition: all 0.3s ease !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.market-player-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Player Select Cards */
.player-select-card {
    transition: all 0.3s ease !important;
}

.player-select-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3) !important;
}

/* Button animations */
@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.market-cancel-button:active,
.simple-market-button:active,
.btn-cancel:active,
.btn-buy:active {
    animation: buttonPulse 0.2s ease-in-out;
}
