/* Removed .mining-modal-content as it's replaced by global .modal-content */

.mining-header {
    margin-bottom: 20px;
}

.mining-title {
    color: var(--gold);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mining-subtitle {
    color: #666;
    font-size: 12px;
    text-align: center;
}

.rig-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.rig-slot {
    aspect-ratio: 1;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.rig-slot:hover {
    border-color: #444;
}

.rig-slot.active {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 10px rgba(207, 181, 106, 0.2);
}

.rig-slot.active:hover {
    border-color: var(--danger);
    color: var(--danger);
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

.rig-slot.active i {
    animation: pulseRig 2s infinite;
}

@keyframes pulseRig {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.mining-stats {
    background: #111;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.stats-row-top {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 16px;
    color: white;
    font-weight: 600;
}

.stat-value.gold {
    color: var(--gold);
}

.mining-actions {
    margin-top: 20px;
}

.btn-buy-rig {
    background: linear-gradient(135deg, var(--gold) 0%, #b59b50 100%);
    color: black;
    border: none;
    border-radius: 8px;
    padding: 14px;
    width: 100%;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-buy-rig:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.rig-cost {
    font-size: 12px;
    background: rgba(0,0,0,0.2);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}
