/* Growth Fund Component Styles */

#fundModal .modal-content {
    max-width: 500px;
    background: #1a1d2d;
}

.transaction-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 1rem;
}

.tx-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.tx-amount.plus {
    color: #4ade80;
}

.tx-amount.minus {
    color: #f87171;
}

.checkin-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    margin-top: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.checkin-btn:hover {
    transform: scale(1.02);
}

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

/* ─── Growth Fund v2 Styles ─── */
.fund-modal .modal-content {
    max-width: 520px;
}

.fund-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1.2rem;
}

.fund-tab {
    flex: 1;
    text-align: center;
    padding: 0.7rem 0;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.fund-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.fund-tab-content {
    display: none;
}

.fund-tab-content.active {
    display: block;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 240, 255, 0.25);
}

.progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 0.6s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.8rem;
    margin: 1rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Outfit';
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: border-color 0.2s;
}

.task-item:hover {
    border-color: rgba(0, 240, 255, 0.3);
}

.task-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: rgba(0, 240, 255, 0.08);
    color: var(--primary);
    flex-shrink: 0;
}

.task-info {
    flex: 1;
}

.task-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: #fff;
}

.task-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.task-reward-btn {
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.task-reward-btn.claimable {
    background: var(--primary);
    color: #000;
}

.task-reward-btn.claimable:hover {
    transform: scale(1.05);
}

.task-reward-btn.claimed {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    cursor: default;
}

.task-reward-btn.locked {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: default;
}
