/* SatoshiFarm Page Styles - Premium Yield Farming UI */

/* ========================================
   Stat Cards
   ======================================== */
.stat-card-farm {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.stat-card-farm:hover {
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

.stat-icon-farm {
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Farm Panel
   ======================================== */
.farm-panel {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.4);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.harvest-panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
}

/* ========================================
   Farm Tabs
   ======================================== */
.farm-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: #64748b;
    transition: all 0.2s ease;
}

.farm-tab:hover {
    color: white;
    background: rgba(51, 65, 85, 0.5);
}

.farm-tab.active {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* ========================================
   Farm Input
   ======================================== */
.farm-input {
    width: 100%;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.4);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    padding-right: 6rem;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    font-family: 'Space Mono', monospace;
    outline: none;
    transition: all 0.2s ease;
}

.farm-input::placeholder {
    color: #334155;
}

.farm-input:focus {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

/* Hide number input spinners */
.farm-input::-webkit-inner-spin-button,
.farm-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.farm-input {
    -moz-appearance: textfield;
}

/* ========================================
   Farm Buttons
   ======================================== */
.farm-btn-primary {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.farm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.farm-btn-primary:active {
    transform: scale(0.98);
}

.farm-btn-secondary {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(51, 65, 85, 0.8);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.farm-btn-secondary:hover {
    background: rgba(71, 85, 105, 0.8);
}

.farm-btn-harvest {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.farm-btn-harvest:hover {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
    transform: translateY(-2px);
}

/* ========================================
   Pool Cards
   ======================================== */
.pool-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.4);
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pool-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

.pool-card.selected {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.05);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

.pool-card.boosted::before {
    content: '🔥';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.25rem;
}

/* ========================================
   Toggle Button
   ======================================== */
.toggle-btn {
    width: 48px;
    height: 26px;
    background: rgba(51, 65, 85, 0.8);
    border-radius: 999px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-btn.active .toggle-slider {
    left: calc(100% - 23px);
}

/* ========================================
   Booster Banner
   ======================================== */
.booster-banner {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.booster-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* ========================================
   History Item
   ======================================== */
.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    transition: background 0.2s ease;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background: rgba(51, 65, 85, 0.2);
}

/* ========================================
   Animations
   ======================================== */
@keyframes grow {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .stat-card-farm {
        padding: 0.875rem;
    }

    .farm-panel {
        padding: 1.25rem;
    }

    .farm-input {
        font-size: 1rem;
        padding: 0.875rem;
        padding-right: 5rem;
    }
}